How to repopulate DNS from Active Directory

active-directorydns-serverwindows-server-2003

In some point of time (I don't know when…) the DNS on a Windows 2003 Server gets populated with all computers on Active Directory.

There is any way to repopulate it again? For instance, when changing the IP on a computer how to do to update DNS records? When dropping a computer, how to drop it from DNS Server?

Of course, a way is to do it by hand, but there is an automated way (say command line or menu option)?

EDIT: Robert Moir, Things I wish to do:

  • Cleanup DNS entries for old computer that does not exists (dead computers or/and active directory dropped).
  • Some computer have fixed (not DHCP) IP addresses (in our case we have computer on another building and for network provider reasons the DHCP is not working there fine, all buildings connect with VPNs). If we move a DHCP computer to another LAN wich requires fixed IP how can DNS get updated not by hand?

Best Answer

This should happen automatically (for windows machines on your domain as long as 'register this connection's address in dns' is checked under dns tab). If you change the IP manually or if it receives a new IP via DHCP this should be automatic. You can delete them all from DNS and they will eventually all show back up.

As mentioned, ipconfig /registerdns will force registration, but your comment that it doesn't work "for a dropped and died computer" is confusing. If the machine is off the network or powered off then there is no way for it to register its address. Please provide more information if possible.

Related Topic