|
|
Minimum TTL (again!!)From: Aaron Lynch Date: Sunday, September 22, 2002
Time: 1:44:51 amHi guys, I need to set the min ttl on all zones in preparation of a prover
change. (god I ask this list this question way too often!)
I have the following script from wayback, but can't make it work with 3.51
Does someone have a working script to change the ttl?
tell application "Finder"
set myfolder to (folder of application file of application process "QuickDNS
Pro Admin" as string) & "QuickDNS Data:Primary Data:"
set filelist to every file of folder myfolder
end tell
repeat with i from 1 to (count items of filelist)
tell application "Finder"
open item i of filelist
set domain to name of item i of filelist
end tell
changesoa(domain)
end repeat
on changesoa(domain)
tell application "QuickDNS Pro Admin"
set minimum ttl of SOA record 1 of document domain to 300
end tell
end changesoa
|

Return to Digital Point Solutions' Home Page |