Can I get a bit of help understanding the relationship between DHCP and DNS?

Posted by stone500@reddit | sysadmin | View on Reddit | 17 comments

Short backstory, I'm a sysadmin for a large retail company. My particular dept handles what we call "core services", which basically boils down to DHCP, DNS, AD, Email, file/print, etc etc etc Basically my issue is that we're trying to do a security audit and we're having issues because a lot of our A records and PTR records aren't matching up. This is mostly an issue with our endpoints that connect exclusively through our VPN, which makes sense considering that they will often reconnect almost daily and likely get new IP addresses. I'm trying to figure out how to best rectify this so DNS addresses are as up to date as possible, including the PTR records. While I understand plenty about how DHCP and DNS works, my background has mostly been in small/medium businesses, so there's some intricacies that allude me. For example, how does the process of updating DNS work if a machine disconnects and reconnects to VPN and gets a different IP? Is this handled by the client, or by DHCP? What is the difference between DHCP updating DNS and the client doing it? I looked at our scavenging settings and they have the default 7-day no-refresh 7-day refresh intervals. If I understand this correctly, this essentially means that a DNS record can't effectively be scavenged until after 14 days. I'm not exactly sure if altering these settings would be beneficial or not. Does scavenging even matter if what I really need to do is have the A and PTR records be up-to-date when a machine gets a new IP? I'm having trouble getting clarity on that point. All the articles I can find talk about the basics of "This is a forward record. This is a reverse record. Blah blah blah", which is fine for smaller networks, but there's more I need to know for a network as large as ours. Any info helps! Thank you!