|
|
 |  |
Re: moving web server.From: Men & Mice Support Date: Tuesday, January 23, 2001
Time: 12:09:06 pmAt 1:16 PM -0400 1/23/01, Cameron Bales .:. wrote:
>I'm planning on moving my web server, and the first step I'm
>planning is to move the machine to a co-location place and get
>QuickDNS to point to the new machine (later I'll be moving QuickDNS
>but I'm planning one step at a time)
>
>I've got a reccomendation that I should set the Time to Live to be
>low (5 minutes) so when I make the move and change the address my
>records point to that change will propagate fast, I also will need
>to change the address all the records point to.
Make sure you change the TTL's of at least the affected records, then
wait for the old records (with the old TTL's) to expire, then change
the addresses.
>Is there a way with QuickDNS 2.2.1 to globally change all the TTLs
>to some low value?
Certainly. AppleScript. I don't have a ready-made script for this,
but a minor change to one of my existing scripts will do the trick.
Go here:
<http://interaction.menandmice.com/applescript/display?recid=2>
Copy the script and paste it into Script Editor. Change the first
line: What you want to set is the "Minimum ttl" field, not the
"Primary" field. The value you want to set it to is 300.
> Is there a way to globally change all IP addresses 144.166.53.x
>to some new 157.547.254.x?
Yup. AppleScript again. Try this one:
<http://interaction.menandmice.com/applescript/display?recid=5>
You'll need to unwrap some of the lines, though. If you're not
keeping the last octet of each address constant, but are using a
pattern, you might try this one instead:
<http://interaction.menandmice.com/applescript/display?recid=4>
If there isn't a simple pattern that you're using, then you may have
to change one address at a time (not one A record, but all A records
pointing to a given address), using this one:
<http://interaction.menandmice.com/applescript/display?recid=7>
> then I'm going to want to set all the TTLs to a high value again.
>This is really a job for BBEdit but QuickDNS's files don't seem to
>make much sense to BBEdit.
Correct. We use a binary format that isn't easily modifiable using
BBEdit. This format makes parsing zone files much quicker, meaning
that server startup time and folder scan time are much shorter.
>The new version of QuickDNS seems to be able to export records, and
>re-import them again.
One at a time, unfortunately.
>should I update to the new version, export all the records, do the
>change with BBEdit, re-import, or is that actually just as much
>hassle?
That depends on exactly how many occurrences of each address, how
many zones, etc. In other words, that's up to you to decide. But the
AppleScript solution is probably the least work.
> If I'm a Jerk and do this with my temporary key will my old
>QuickDNS read the new versions files?
Yes, we haven't changed the format too much. It would cause problems
with regard to your QuickDNS Options file, but you could just trash
it afterwards.
____________________________________________________________________
Chris Buxton Men & Mice
cbuxton@menandmice.com We Make DNS Easy!
|

Return to Digital Point Solutions' Home Page |