I need to modify 600 zones, 4 servers other resources with newclass C info - advice needed

Harold Pritchett harold at uga.edu
Thu Oct 28 18:57:24 UTC 1999


pancho wrote:
> 
> We are changing the way our network connects to the internet, and I need to
> change a LOT of IPs. (they don't want to buy the class C's)
> Our name servers, web servers and early websites are hosted at those
> addresses. I understand that I need to get the boxes operating on the new
> and old IPs at the same time, and make our present DNS servers #3 and 4 at
> and register the new IPs for the name server as NS #1 & #2.
> I'm looking for advice in two forms - a plan of attack and how, (in a Unix
> operating environment) do I change a lot of zone files?


If I were doing this, I would proceed something like this:

First steps (to be performed in no particular order.  In fact, these can be
done in parallel.)

1.  Set the TTL in your old nameservers down to something short.

2.  Get the new IP address working on each machine so that the machines
answer
to both addresses (Dual home)

3.  Get your new nameservers working with the new addresses (but don't
register
them just yet.)

4.  Make sure that the backbone routing is set up so that people can get to
your machines using the new addresses

When all of these steps are complete then

5.  Register your new nameservers and unregister your old ones.

After a period of time (determined by usage on the old addresses)

6.  remove the old IP addresses from your machines

How to make mass updates.  Use the standard unix tools.  Shell scripts which
call grep, sed, awk, and perl do everything I need to do with my zone files.

Harold Pritchett
The University of Georgia


More information about the bind-users mailing list