dns command line

Hello,

What is the command line to purge the dns cache on a windows 2003 domain controller ?

Thanks
LVL 16
mdiglioAsked:
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.

trmllcCommented:
To purge the resolver cache on any Windows 2003/XP (DC or other) it's

ipconfig /flushdns

To flush the cache from the DNS server, it must be done through the GUI by right-clicking the server and selecting the appropriate option.

valiconCommented:
There is a client side and a server side DNS cache.  As stated above, to clear the cache on your server:

Right-click the server object in the DNS console and select "Clear Cache".
mdiglioAuthor Commented:
Ah well, I was hoping there was a command line to automate the server side one.
...At least now I won't waste my time lookng for something that isn't there.

Thanks
valiconCommented:
I apologize!  I didn't see the 'command line' in your thread.  You can do this with dnscmd.exe.  See the syntax here:

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/d652a163-279f-4047-b3e0-0c468a4d69f3.mspx#BKMK_2

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
mdiglioAuthor Commented:
Yes! Thank you for the follow through.
I will post to have the answer changed
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
Windows Server 2003

From novice to tech pro — start learning today.