DNS updating records

Posted on 2010-01-12
Medium Priority
Last Modified: 2012-05-08
How do you force DNS in Active Directory to update/clean out old records? From time to time we have issues with two pc's having a DNS record for the same ip address. I believe this happens when we rename a pc. I believe the old DNS records do not always automatically get deleted. This causes problems with our VNC veiwer.

Question by:abbetech
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

Expert Comment

ID: 26295059
I am sure you need an automated solution for the deletion of the stale/old-unused records from DNS.
We call it Scavenging. You have to enable scavenging to purge the stale records out of the DNS.
To get a better insight of Scavenging, go through this article:


I am sure this is gonna give you the answer to your queries... In case you need any clarifications, let me/us know...



Author Comment

ID: 26384984
I have Scavenging enable. I believe I problem my be caused by DHCP leases and DNS records, when we bring pc's to HQ to work on them and then return them to their orginal branch/site. If their lease gets renew at HQ (leases are for 1 week) when they return to their correct location the DNS records are for HQ.

We delete the dns record at HQ and do a ipconfig /release and /renew at the new location. This fixs the problem with VNC. Other than shorter leases, is there a better way?

Accepted Solution

ARK-DS earned 2000 total points
ID: 26388985
You can just create a startup script to renew IP addresses & FlushDNS and RegisterDNS I think this will get a new IP form the DHCP.
You must be having different subnets for you rHQ and branch offices though...

ipconfig /flushdns
ipconfig /release
ipconfig /renew
ipconfig /registerdns



Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

741 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