Search Again:

Re: Scripting

From: Men & Mice Support
Date: Friday, May 3, 2002
Time: 7:52:26 pm

At 5:22 PM -0700 5/3/02, Aaron Lynch wrote:
>OK this is what I have that works:
>
>property domains : {"test1.com.", "test2.com."}
>
>repeat with domain in domains
> tell application "QuickDNS Manager for OS X"
> activate
> open zone (domain as string)
> end tell
>end repeat
>
>Then
>In that tell, I need it to create two mx records so I tried variations on:
>
>
>make new record at beginning with data domain & "" & "MX" & "10" & (domain =
&
>"mail.server.com")
>
>But I invariably get "QDNS got an error: can't make a new record"

Try this:

make new record at beginning with data "@ MX 10 mail.server.com."

Alternatively:

make new MX record at beginning with properties =AC
{name: domain, preference: 10, mailhost name: "mail.server.com."}
____________________________________________________________________
Chris Buxton Men & Mice
support@menandmice.com Making DNS Easy

Visit the Men & Mice booth (#2525) at NetWorld+Interop in Las Vegas, Nevada,
May 7-9. http://www.key3media.com/interop/lv2002/index.php



Messages In This Thread:



Return to Digital Point Solutions' Home Page