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!
Any help would be appreciated! Thanks again!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
dnscmd SERVERNAME /DsForwarder IPADDRESSOFFORWARDER1 IPADDRESSOFFORWARDER2
BTW, why would you want to remove them?