26 Apr 10 10 - DHCP client is not registering the IP in the DNS server automatically.

Hi Experts,

One laptop is getting IP from DHCP server. IPconfig shows the new IP, but Ping to the <hostname> of the laptop name resolves to the OLD IP address. DNS zone also hosts the records mapped to the old IP.

DHCP server belongs to a different trusted domain (abc.com) and client PC belongs to a different trusted domain (zyx.com). In the scope of the DHCP server; both DNS servers' IP is added; means DNS server of both the domain. DHCP Scope is configured to "Always dynamically update DNS A and PTR record".

I tried with ipconfig /flushdns and then /release /renew, But still in the DNS the host record maps to the old IP.

Please advise what could be the possible reasons?

Best Regards,
Anupam
anupam1983Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian PiercePhotographerCommented:
try ipconfig /RegisterDNS
0
mredfelixCommented:
0
anupam1983Author Commented:
Thanks for the reply! but is it needed everytime when it gets the new IP from DHCP?

I've noticed the the TCP/IP option "Register this connection's address in DNS" option is not selected.

 
0
Webinar: Miercom Evaluates Wi-Fi Security

It's not just about Wi-Fi connectivity anymore. A wireless security breach can cost your business large amounts of time, trouble, and expense. Plus, hear first-hand from Miercom how WatchGuard's Wi-Fi security stacks up against the competition in our upcoming webinar!

anupam1983Author Commented:
Hi mredfelix,

Host file on the client machine?
0
Brian PiercePhotographerCommented:
>> I've noticed the the TCP/IP option "Register this connection's address in DNS" option is not selected. <<
Then select it !!!
0
anupam1983Author Commented:
Okay! The user has gone for a training session, when he comes back I'll take the control of his machine and will do it.

Between, do you suspect any other reasons resulting this problem?

Many thanks,
Anupam
0
Brian PiercePhotographerCommented:
Probably not :-)
0
anupam1983Author Commented:
Executed ipconfig /registerdns, and also checked that box "Register this connection's address in DNS". Waited for more than an hour; still no joy!

Could you please advise what else I should check? Reboot of the laptop was done several time. It's just the DNS host record is getting updated when there is an IP change in the client (through DHCP).
0
Netman66Commented:
Delete the bad entries in DNS for this machine - both in the Forward Lookup Zone and Reverse Lookup Zone (if you have one).

Reboot the PC or run ipconfig /release then ipconfig /renew and it should be in DNS properly.

If you check the Event logs on that laptop, my guess is you'll see some DNSAPI errors relating to being unable to update DNS records.  This is just for you to visualize.

You should be good now.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Naga Bhanu Kiran KotaCommented:
hi anupam,

try to enable scavenge of stale records on the DNS server. I am presuming that this is a windows DNS server.

please follow this article.

http://www.windowsreference.com/windows-server-2008/scavenging-automatic-purge-outdated-dns-resource-records-added-dynamically/

regards
bhanu
0
anupam1983Author Commented:
Wow! Thanks for all your help! I'm sorry I took 2 days to post the solution back!

Resolution is: Deleting records from DNS and then replicating with other DCs. And asked the guy to execute /release, /renew and /registerDNS and that worked! Bingoooooo! NetMan is absolutely right!

Bhanu, Aging and Scavanging is already enabled and value is 7, but I believe DHCP server has a configuration of deleting the stale records automatically and for that it requests to the DNS server. Correct me if I'm wrong.

I'll allot points to the experts as you've found some time to suggest me. Thank you all.

Best Regards,
Anupam
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.