Link to home
Start Free TrialLog in
Avatar of nub99
nub99

asked on

How to delete root hints from command-line

I need to know how to delete the default root hints from my internal DNS server from command-line. The only way I've figured out is to delete them using the DNS Management console and then manually deleting the CACHE.DNS file.

Any help would be appreciated! Thanks again!
Avatar of TheCleaner
TheCleaner
Flag of United States of America image

See this article:  http://support.microsoft.com/kb/818020/?sd=RMVP&fr=1

BTW, why would you want to remove them?
Avatar of nub99
nub99

ASKER

My domain is private and does not need to connect to the internet. So I don't need the root hints.
ASKER CERTIFIED SOLUTION
Avatar of TheCleaner
TheCleaner
Flag of United States of America 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
I need to be able to do this from a command line (dnscmd - most likely) to remove roothints from AD DC's and turning them into forwarders
You are simply wanting to put in forwarders?  You don't need to remove the root hints for this.  Just add your forwarders.

dnscmd SERVERNAME /DsForwarder IPADDRESSOFFORWARDER1 IPADDRESSOFFORWARDER2