DNS clean up question

I am running a Windows 2003 domain in native mode.
today I had two pc names not resolving to the correct ip address.

Could someone tell me how to keep the DNS clean and up todate?
Could you explain in simple terms:
clear cache,
set aging/scavenging all zone,
update server data files
Who is Participating?
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.

Chris DentPowerShell DeveloperCommented:



The Cache doesn't have any relevance on the server side for queries within the servers own Forward and Reverse Lookup Zones.

It is important for the clients, but for most internal things you won't need to bother with it. If you do, "ipconfig /flushdns" will clear it out (so will rebooting).


Aging determines how quickly a record in DNS becomes stale. It normally works best to set this so the two values equal your DHCP Lease time (when you add them together).

They run one after the other, No-Refresh then Refresh. The first value is there to reduce the impact of DNS Record replication (stops clients refreshing the record for however many days you set).

If a client Refreshes the record during the Refresh period then the counter starts all over again in the No-Refresh interval.

At any point during this the client can Update their own record (if their IP changes, for example).


Scavenging is the process that goes through your zones deleting any record marked as Stale according to your Aging Rules. I recommend you set that to run automatically every day on one of your DNS Servers (Properties for the server, Advanced).

Update Server Data Files:

Doesn't apply to AD Integrated Zones, but forces the server to write changes it's stored in memory back to the files (if you were using a Standard Primary zone).



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
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

From novice to tech pro — start learning today.