Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

DNS records not being discarded when DHCP assigns IP address

Avatar of Marc_Johnson
Marc_Johnson asked on
DHCPDNSNetworking Protocols
4 Comments1 Solution884 ViewsLast Modified:
This morning we received reports from our help desk that when they tried to remote control a user's PC it was bringing up the wrong computer.  We pinged a few by name and found that they all resolved to an IP assigned to another user's computer.  We did an nslookup on these PCs and verified that there is only one IP assigned to the computernames.  We checked DNS and found that there are two A records with different computernames that have the same address (one timestamp is for today, the other computer's timestamp is a week old.  The DHCP lease duration is set to 1 day). So there isn't an IP conflict going on, it just looks like the records aren't being deleted from DNS when the DHCP lease expires and the IP is assigned to a new computer. We have DNS dynamic updates enabled in DHCP and it is set to discard A and PTR records when the lease is deleted.  When we manually delete the leased IP from DCHP and the records from DNS and have the user reboot their PC, the DNS record is recreated for the correct PC and it can be remoted into.  We're just confused as to why this began happening today (we've had no issues with this previously) and why the records aren't being deleted from DNS when the lease expires.  DNS Server event log shows no errors.  

We plan on deleting all the DHCP leases and DNS records (except for our servers obviously) after all our users are gone tonight but wanted to know if there is an easier/cleaner way to do this?
Avatar of Marc_Johnson

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers