In
Nick said:
I changed an IP of a server. When I try to ping the
computer using the computer name, it returns the old IP
address. I changed it a long time ago and it hasn't
updated the information? I know my replication is working
and it can take up to an hour for DNS to update this
information. Is there any way to do this manually? I've
tried removing the computer from active directory and
adding it back but it doesn't work.
When changing the IP address on a DC, you should not just change the IP
address on the NIC, this will cause replication errors and problems, because
until every other DCs have the new IP of the DC your changing the IP address
on they will try to replicate with the old IP
..
To change the IP address on a DC first add the new IP address to the NIC,
then go to DNS properties, on the interfaces tab select "Listen on all IP
addresses" Add the new IP to the DNS server list on all DCs
Run this command: Netdiag /fix and restart the netlogon service.
Then run netdiag /test:dns /v to verify that the new address is registered
in DNS.
Force a replication in NTDS settings in AD Sites & Services
Run dcdiag /test:replications /e /v to verify replication has taken place,
this could take up to one hour.
After replication has been verified, remove the old IP address from the DC
and all DNS server lists on all DCs and machines, run ipconfig /flushdns,
netdiag /fix, and netdiag /test:dns /v, force another replication in NTDS
settings, and verify replication with dcdiag /test:replications /e /v
Changing the IP addres on a DC should never be taken lightly, you should add
the old IP back to the DC then follow the steps I have given.