Duplicate DNS entry issue

I am going through our DNS zone file and it is a mess.  There are tons of duplicate host entries and for some of the entries I am not certain which ones are actually valid.  What is an easy way to determine which of the entries are actually valid?  The only thing I could think of was dumping DHCP and dumping the zone file, combining them in Excel, sorting, etc.  Is there any easier way?
Who is Participating?
nsx106052Connect With a Mentor Commented:
I would start by turning on scavenging of stale DNS records and shortening your DHCP lease.  Your DNS server probably isn't removing old record so they keep building up.  After making the changes allow a few days for the old records to get removed.
giltjrConnect With a Mentor Commented:
Do you have dns scavenging enabled?  If not, you may want to enable it.  Otherwise dumping DHCP and DNS may be the "easiest" way.
It may be tedious, but you could also just ping each dual entry and see which one works, delete the other one.
The problem with using ping is that you not only will have the same host name with more than one IP address, you may have the same IP address assigned to more than one host name.  So although the ping will respond, you don't know which host is returning it.
rufustmacAuthor Commented:
We are going to just delete all the dynamic entries, turn the TTL down and turn on scavenging until everything is all cleared up.  Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.