Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Fixed: name resolution issue

Active Directory, Domain, DNS, WINS, DHCP, SBS, New Releases.

Fixed: name resolution issue

Postby blin » Tue Aug 14, 2012 10:17 am

We are running Windows 2008 domain. Some of our Windows 7 have a name resolution issue. For example, the computer 002653 IP is 10.0.6.250

C:\Windows\System32>ping 002655

Pinging 002655.chicagotech.net [10.0.6.250] with 32 bytes of data:

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Ping statistics for 10.0.6.250:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),


If I use ping –a 10.0.6.250, it lists computer hostname 001267.

C:\Windows\system32>ping -a 10.0.6.250

Pinging 001267.chicagotech.net [10.0.6.250] with 32 bytes of data:

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Ping statistics for 10.0.6.250:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms


After I flush and register DNS,

C:\Windows\system32>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\Windows\system32>ipconfig /registerdns

Windows IP Configuration

Registration of the DNS resource records for all adapters of this computer has b

een initiated. Any errors will be reported in the Event Viewer in 15 minutes.


Still ping –a 10.0.6.250 shows 001267.

C:\Windows\system32>ping -a 10.0.6.250

Pinging 001267.chicagotech.net [10.0.6.250] with 32 bytes of data:

Reply from 10.0.6.250: bytes=32 time=1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Reply from 10.0.6.250: bytes=32 time<1ms TTL=128

Ping statistics for 10.0.6.250:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms


The nslookup shows the same problem. Why?

C:\Windows\system32>nslookup

Default Server: 2008dc2.chicagotech.net

Address: 10.0.0.27

> 10.0.6.250

Server: 2008dc2.chicagotech.net

Address: 10.0.0.27

Name: 001267.chicagotech.net

Address: 10.0.6.250
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 2367
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Fixed: name resolution issue

Postby blin » Tue Aug 14, 2012 10:20 am

I have a feeling it's due to the ownership of the reverse record. If DHCP doesn't own it, or the previous machine that registers it owns the record, then the new machine taking that IP won't be able to update it.

So let's take a look in the reverse zone for IP 10.0.6.250, and delete its "001267chicagotech.net" PTR record, then re-run the ipconfig /registerdns.

.

To get it to make sure the zones stay clean in the future, you can configure DHCP with credentials to use for registration so DHCP owns the records under that account, then force DHCP to update all records, forward and reverse, and enable (but not force) scavenging. Just turn it on, and let it go. Keep the lease greater than or equal to the scavenge periods, and not less than 24 hours.

Here's more specifics with screenshots:

DHCP Service Configuration, Dynamic DNS Updates, Scavenging, Static Entries, Timestamps, DnsUpdateProxy Group, DHCP Credentials, prevent duplicate DNS records, DHCP has a "pen" icon, and more...
Published by Ace Fekay, MCT, MVP DS on Aug 20, 2009 at 10:36 AM 3758 2
http://msmvps.com/blogs/acefekay/archiv ... group.aspx .



Ace Fekay
MVP, MCT, MCITP EA, MCTS Windows 2008/R2, Exchange 2007 & Exchange 2010, Exchange 2010 EA, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsul ... lblogs.php
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 2367
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Fixed: name resolution issue

Postby blin » Tue Aug 14, 2012 10:21 am

Hi Ace,

As always, you are right!. Thank you very much!

Quetstion: How can we prevent it or how can we delete the old PTR record automatically?
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 2367
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: Fixed: name resolution issue

Postby blin » Tue Aug 14, 2012 10:22 am

Glad to hear I was helpful.

As for removing them automatically, you can simply wait for scavenging to work, but that can take weeks. If there aren't that many entries, you can go through them and delete them manually. If they are just workstations, you can just delete everything, and they will get recreated automatically anyway.


Ace Fekay
MVP, MCT, MCITP EA, MCTS Windows 2008/R2, Exchange 2007 & Exchange 2010, Exchange 2010 EA, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsul ... lblogs.php
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 2367
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA


Return to Windows

Your Ad Here

Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests