Search Again:

Creating New DNS Records with AppleScript

From: dns
Date: Monday, September 9, 2002
Time: 3:01:32 am

I have more than 5,000 domains in a database that I need to enter into our
name server. I have tried to do this with AppleScript, but I cannot get it
to work completely. I have referred to the examples with QuickDNS Pro. I
can create the new zone file alright, using :

tell application "QuickDNS Manager for OS X"
activate
make new zone with properties {name:"domain.com.", master
server:"ns1.domain.com.", slave servers:"ns1.domain.com.", type:master,
enabled:yes}
end tell

..but I am unable to enter any new records (A records especially). I have
tried things like:

tell application "QuickDNS Manager for OS X"
activate
make new zone with properties {name:"domain.com.", master
server:"ns1.domain.com.", slave servers:"ns1.domain.com.", type:master,
enabled:yes}
make new A record at after (the last NS record whose name is
"ns1.domain.com.") with properties =AC
{name:"www.domain.com.", data:"209.152.51.23"}
end tell

..and it keeps coming back with an error saying "Can't get some object." I
know you probably cannot give AppleScript support, but it would appear that
the QuickDNS Pro Suite has an unusual requirememt, unless I'm being stupid
again. Can you help at all?

I own a registered copy of QuickDNS Pro version 3.5 (serial
QDNS-aaac-abf5-aede-xs8n). Thanks.

___________________________________________________________________________=
_
Steven J. Garner NaTel Investments L.C=
.
Managing Member 907 West Burlington Avenu=
e
Email: steve@natel.net P.O. Box 107=
6
Tel: 641.469.6220 ext 103 Fairfield, Iowa 5255=
6
Cell: 641.233.0020 Fax: 641.472.662=
4




Messages In This Thread:



Return to Digital Point Solutions' Home Page