|
|
 |  |
Re: QDNS 3.5.3 enhancing applescriptsFrom: Men & Mice Support Date: Tuesday, January 25, 2005
Time: 10:00:26 amYes, there is a scripted solution.
- Connect only to the slave server.
- Run a script to delete all zones from the server. (If you run such
a script while connected to both servers, it will destroy all your
data. This limitation was addressed in QuickDNS Manager 4.0, which
allows you to address the delete command to a particular server.)
- Connect to both servers.
- Run the stock script "Add Slave Server".
The delete script looks like this (though you may have to adjust the
application name):
tell application "QuickDNS Manager 3.5.1 (Carbon)"
set theZones to the name of every zone as list
repeat with theZone in theZones
set theZone to theZone as text
delete zone theZone
end repeat
end tell
Chris Buxton
Men & Mice - Making DNS Easy
At 3:50 AM -0500 1/25/05, After Hours wrote:
>Chris,
>
>I am moving a master QDNS system running 3.5.3 to a new IP, but will
>keep the secondary where it is.
>
>A number of the applescripts included with 3.5 have been really
>useful in the past, but in this situation, I don't see a script that
>could be modified to let me update (change) each zone's option to
>specify a new master for each slave DNS. Or rather, I don't see it
>in the dictionary. What am I overlooking? (or if it can't be
>scripted, is there a simple way perhaps to delete a slave listing
>for every zone, then simply add in a new one?) Doing this by hand
>is not a pleasant prospect.
>
>paul
|

Return to Digital Point Solutions' Home Page |