Re: Duplicate reverse lookup entries/nslookup problems



"Roger" <roger@xxxxxxxxxxx> wrote in message news:%23hRgKSKGGHA.3624@xxxxxxxxxxxxxxxxxxxxxxx
On my internal network, when using nslookup to resolve an ip to computer name, it sometimes resolves to an incorrect host name. I looked into the reverse lookup zone and found that there are duplicate entries for some ip addresses, and lots of old entries. What should I do to keep it accurate? I'm using dhcp to serve out addresses - I'm guessing that I need to change something on the dhcp server or client end of things.

Duplicate records may exist in DDNS due to DHCP not discarding A & PTR records. On the DHCP server, ensure "Discard A and PTR records when lease is deleted" is enabled under the DHCP server properties > DNS tab. However, this does not always clean everything up, as in instances where machines crash, are shutdown ungracefully, or say a laptop which is just disconnected. The IP is not released in any of these examples. A machine cannot update or delete a record when that record is created by another machine. The result is it creates another PTR record for the same IP address. The DHCP server also cannot update the record because it is not the owner. You need to enable scavenging to remove these records. There is a proactive approach which you can take via DHCP which Kevin Goodknecht often recommends. See link below.


http://groups.google.com/group/microsoft.public.windows.server.dns/browse_thread/thread/34d1fe4a15bb7f36/1536576a349fbc19?lnk=st&q=%22

--
Todd J Heron, MVP Windows Server - Networking
MCSE - Windows Server 2003/2000/NT; CCA

.



Relevant Pages

  • Re: DHCP - DDNS
    ... So if you want to enable the DHCP server register both the A and PTR record, ... > the records in the DNS server. ... > We also selected "Discard A and PTR records when lease is deleted". ...
    (microsoft.public.windows.server.active_directory)
  • Re: Dynamic Update of A&PTR Records - Best Practice?
    ... > I'm looking for some advice on the pros/cons of turning on the option ... > within the DHCP Server that says "Always Dynamically Update A & PTR ... > We run a Windows 2003 AD network with a DC running DHCP and DNS. ... helps keep the reverse lookup zone clean of old PTR records left behind by ...
    (microsoft.public.windows.server.dns)
  • Duplicate PTR records
    ... I am ending up with duplicate PTR records on my DNS ... I have Dynamic DNS set with the DHCP server to create the ...
    (microsoft.public.win2000.dns)
  • Re: No Dynamic PTR Records
    ... > The DHCP server updates the PTR records on behalf of the clients. ... > box checked in the scope properties of your DHCP server? ... > Windows 2003 Server SP1 latest patches, DHCP Server and DNS Server. ...
    (microsoft.public.windows.server.dns)
  • DNS Dynamic Updates through DHCP Server does not work!!
    ... DNS A & PTR records ONLY IF requested by the DHCP Clients". ... Tell me if I'm wrong but I thought that this option on the Client ... DHCP Server to dynamically update on its behalf the A & PTR records into the ...
    (microsoft.public.win2000.dns)