Search Again:

Re: Applescript to change TTL for version 3.5

From: Sigurdur Ragnarsson
Date: Wednesday, June 12, 2002
Time: 3:20:28 am

At 14:27 -0700 11.6.2002, George Ruzzier wrote:

>
>I used an AS a while back to change my SOA info, specifically TTL values
>on version 2.5.
>
>I don't see this script in the Utilities folder in 3.5. Where can I get
>a script to do this on 3.5? We are moving and I need to reduce TTLs
>right away on 1500 records.
>
>Please .cc me - thanks!

If you need to change the default TTL value of the SOA in 1500 zones you can use the following script:

-- start script
tell application "QuickDNS Manager"
activate
set allZones to every zone whose type is master and enabled is true
repeat with theZone in allZones
tell (open theZone)
try
set negative caching of first SOA record to "100"
end try
try
close saving yes
end try
end tell
end repeat
end tell
--end script

Sigurdur

--
Sigurdur Ragnarsson Men & Mice
siggi@menandmice.com http://www.menandmice.com



Messages In This Thread:



Return to Digital Point Solutions' Home Page