Changing your IP address on an Active Directory domain controller can cause many issues with the DNS server on that machine. To change the IP address, complete the following steps:
- Select: Start -> Settings -> Network and Dial Up Connections
- Select: Your Local Area Connection
- Select: Internet Connections (TCP/IP) Properties
- Change: Your IP Address and Subnet Mask and Gateway
- Change: Preferred DNS server’s address to the new server address
- Select: OK -> OK -> Close
Your server’s address is now changed.
- Select: Start -> Programs -> Administrative Tools -> DNS
- Double click Forward Look Up Zones. Then double click your server name.
- Delete: Your type A records
Reset your information in your SOA and NS records and exit DNS. Now drop down to an MS-DOS prompt and type the following:
- ipconfig /flushdns Enter
- Net Stop DNS Enter
- Net Start DNS Enter
- Net Stop Netlogon Enter
- Net Start Netlogon Enter
- ipconfig /registerdns Enter
You can now go back to DNS and make sure the records were all created and they should have changed the address to the correct address on their own.
Now run NSLookup from an MS-DOS prompt and see if all is resolved OK or not. It the names and IP addresses all resolve correctly, you’re all set. If not, then go back to NSLookup and type set root=servername (the name of your DNS domain) and hit Enter. When the prompt returns, type exit to exit out of NSLookup. When you type NSLookup, it should resolve the name correctly.