This post is also available in: Slovenian
When computers get new dynamical IP address, DHCP doesn’t automatically update DNS records…
We decide to change DHCP scopes for employee’s computers in our enterprise network. Computers will get IP depend on office location in building. New IP addresses will get dynamical from DHCP server who will then dynamically update DNS A and PTR records.
Unfortunately DHCP server was not refreshing DNS records with new IP addresses and computers we’re only available trough new IP address. All DNS records have to be deleted manually, only then DHCP managed to write new IP address to DNS server.
It helped using Scavenging All Zones after changing some DNCP and DNS settings.
DHCP server settings
Go to wanted DHCP scope and click on settings to limit IP address to 1 day and choose Always dynamically update DNS A and PTR records instead of dynamically update DNS A and PTR records.
DNS server settings
On DNS server go to Aging/Scavenging for all Zones… and set Scavenge stale records to no-refresh interval 3 days and refresh interval to 2 days.
Then go to Scavenge Stale Resource Records wich will remove all inactive older DNS records.