Link to home
Start Free TrialLog in
Avatar of anupam1983
anupam1983Flag for India

asked on

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
SOLUTION
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mredfelix
mredfelix

Avatar of anupam1983

ASKER

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.

 
Hi mredfelix,

Host file on the client machine?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Probably not :-)
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).
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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