|
|
 |  |
Automating DNS - AgainFrom: Jesse Proudman Date: Wednesday, January 5, 2000
Time: 6:33:00 amNot sure if you remember me but here's my script to automate dns. Can you
make this any quicker?
tell application "QuickDNS Pro Admin"
activate
make new document
set name of SOA of document 1 to "[domain]."
set primary of SOA of document 1 to "ns1.ninewire."
set admin of SOA of document 1 to "hostmaster@ninewire.com."
make new NS record at end of document 1 with properties
{name:"[domain].", server name:ns1.ninewire.com."}
make new NS record at end of document 1 with properties
{name:"[domain].", server name:"ns2.ninewire.com."}
make new MX record at end of document 1 with properties
{name:"[domain].", mailhost name:"revolution.ninewire.com.",
preference:"10"}
make new MX record at end of document 1 with properties
{name:"[domain].", mailhost name:"twister.ninewire.com.", preference:"20"}
make new A record at end of document 1 with properties
{name:"[domain].", IP number:"209.43.195.246"}
make new A record at end of document 1 with properties
{name:"www.[domain].", IP number:"209.43.195.246"}
make new A record at end of document 1 with properties
{name:"mail.[domain].", IP number:"209.43.195.246"}
close document 1 saving yes in file "Path:to:save:[domain]."
end tell
Any ideas? Thanks
Jesse Williams Proudman - NineWire Production
http://www.ninewire.com <-> Jesse@ninewire.com
Innovative and Creative Web Design and Hosting
|

Return to Digital Point Solutions' Home Page |