Wednesday, April 19, 2017

windows server 2008 - DNS and DHCP addresses aren't matching up



Server 2008 R2 DNS and DHCP server (same server).



For some reason over the last few months I've noticed that many of my DNS entries are incorrect. I'll try to remote into a computer via hostname, and I end up at a different workstation than I intended. The only way to remotely find the correct IP is to check the hostname in DHCP and then update the DNS record to correct it.




Is there something I can do to fix this issue with my DNS without having to update each DNS entry manually? Even if I did that I think that this issue would continue to present itself.


Answer



You are likely having an issue with stale records that haven't been removed. Take a look into enabling Scavenging on your DNS zones, if you are utilizing dynamic DNS updates from your clients. Scavenging examines the records and will remove records that have not been updated in the specified time range. Here is some info on Scavenging Settings and how to enable it:



Enable Scavenging



DNS Aging and Scavenging


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...