Migrating DNS and DHCP to another Server


What is the best procedure to migrate DNS and DHCP from Server B (Windows 2000 Server) to Server A (Windows 2003 Server)?

Server A holds all the fsmo roles. Server B is basically an additional DC to Server A and hosts DNS and DHCP but I will be bringing this server down before I do that I need to transfer DNS and DHCP to Server A. Can someone plz advise....

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Their is a utility to export your DHCP settings, but I'm not a big fan of it...having had mixed results with it.  I would go to the new server create my DHCP scope and setup the network printers, don't enable the DHCP yet, go to the backup DC, set the DHCP scope lease time to something short, like 4 hours. Then after the leases start to expire, deactivate the old scope and activate the new.  It should be transperent to the users.

Here is a good link for doing the Export DHCP option:

Step-by-step migrating DNS:
If you make the DNS zones Active Directory Integrated, then simply installing DNS on the 2003 server and restarting the Netlogon service will start populating the new DNS installation.

As for DHCP, unless you have reservations it might just be easier to install it and setup the scopes then turn off the old DHCP service.  The clients should refresh on reboot.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nirmal SharmaSolution ArchitectCommented:
>>>As for DHCP, unless you have reservations it might just be easier to install it and setup the scopes then turn off the old DHCP service.  The clients should refresh on reboot.

Please do correct me if I'm wrong here...

Renew packet mentions the old server name. If old server isn't contacted, clients won't be able to refresh its old lease provided you should have exported *DHCP database (leases)* to new server. Refreshing old lease will also fail even if you maintain the same configuration (IP Address and Computer name of old DHCP Server) because clients will try to refresh its old lease only when DHCP has these leases registered in its database.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

The client will attempt to renew at 50% of lease.  If the original server is not available it will send a new DHCP_REQUEST out on the wire.  The new server will answer.  If the same IP is available it may simply be allowed to continue using it, otherwise it will get another address.

Nirmal SharmaSolution ArchitectCommented:
So to use the same IP Address lease must be exported using DHCPEXIM.

and also do not forget to set DHCP-packet threshold to 3 or 4 - DHCP will try to ping the IP address before it can lease out.
Nirmal SharmaSolution ArchitectCommented:
One more thing I wanted to address in here...

DHCP Server may not release the same IP Address if you use DHCPEXIM tool to move DHCP databse:


Just stand up the other server and shutdown the old DHCP service.  You may need to reboot each workstation to clear up any problems, but they should talk to the new server with no issues.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.