This is a discussion on Re: Primary DNS Migration - DNS ; Jay W. Reffner wrote: >What's the best way to migrate my primary BIND 9.3.0 server from one box >to another changing IP's and host names in the process? I have a slave >running as well. I've got many zone files ...
Jay W. Reffner wrote:
>What's the best way to migrate my primary BIND 9.3.0 server from one box
>to another changing IP's and host names in the process? I have a slave
>running as well. I've got many zone files and would hate to modify them
>all by hand. Does anyone have any good/easy ways to do this?
It depends how you specified the nameservers. If you have use
somehostname.mydomain.com and have to change them to
someotherhost.mydomain.com then you will have to edit all zone files
where these occur.
If you have used ns0.mydomain.com, ns1.mydomain.com, etc, then you
can bring up the new server, edit all occurrances of
ns0.mydomain.com, ns1.... etc, then after a while retire the old
server. The only zone you would need to change would be mydomain.com,
plus the glue records in the parent zone.
NOTE: This is a throw-away email address which will reach me for as
long as it stays spam-free, remove date for real address.
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.