Solved

DNS entries in Windows 2008 R2 - changing the ip address of a workstation. DNS does not update

Posted on 2011-02-14
5
1,058 Views
Last Modified: 2012-05-11
We replaced an old pc with a new one. The new pc has the same name as the old one. However, the IP address is different.
DNS is not picking up the IP address of the workstation even though it is named the same as the old. I had to delete the old pc name from DNS and had the user reboot the pc to see if it will register in DNS with the new IP address.
How do I get dns to do this automatically. I don't want to have to delete and DNS entry for a pc after I change it's ip address. I want it to automatically clean it up every 5 days or so.
0
Comment
Question by:lanman777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:skrga
ID: 34890052
Go to DNS server management:
Forward lookup zones > right click domain > properties:

 DNS
0
 
LVL 5

Expert Comment

by:skrga
ID: 34890064
By the way you can do:
cmd > ipconfig /registerdns to Refreshes all DHCP leases and re-registers DNS names

(no need to reboot client...)
0
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 34890400
DHCP is responsible for handing out the addresses.  If a PC gets replaced, even though the name is the same, the MAC address is always different and therefore is given a new IP address.

Because the old PC registered in DNS it effectively owns the DNS record and the new PC cannot change it.  

There are two ways to fix this.
1)  Do as you already have done and delete the old record and the client will re-register the new one.
2)  Add the DHCP server account to the DNSUpdateProxy group so that it then effectively owns the record rather than the client.  This will allow the server to update the records for the client as long as the option to update records for the client is checked.

Here's how DNS should work:  http://support.microsoft.com/kb/816592



0
 

Author Comment

by:lanman777
ID: 34891540
IF I add my dhcp server to the DNSUpdateProxy group and in the DHCP properties have; ...
1. Enable DNS dynamic Updates checked .
2. Dynamically update DNS A and PTR records only if requested by the dhcp clients checked.
3. Discard A and PTR records when lease is deleted checked.
4. Dynamically update DNS a and PTR records for DHCP clients that do not request updates checked.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 34893715
Yes, I think that looks about right.

Keep in mind, existing records are still owned by the client until it is manually deleted.  All new entries after your changes should now behave as you expect.

Let us know if it still isn't behaving.

0

Featured Post

Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question