?
Solved

How to delete root hints from command-line

Posted on 2006-04-11
5
Medium Priority
?
1,638 Views
Last Modified: 2010-07-27
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!
0
Comment
Question by:nub99
  • 3
5 Comments
 
LVL 23

Expert Comment

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

BTW, why would you want to remove them?
0
 

Author Comment

by:nub99
ID: 16430190
My domain is private and does not need to connect to the internet. So I don't need the root hints.
0
 
LVL 23

Accepted Solution

by:
TheCleaner earned 300 total points
ID: 16430443
Well, there are quicker ways to prevent internet access, like just removing the internet connection.

As far as a command line tool, dnscmd is the basic tool for dns.  I think there is a way to do it using dnscmd, but that article above talks about the problems afterwards.

You can always just add a forward lookup zone with "." as the zone.  That basically makes your DNS server a top-level DNS server and it won't use forwarders or root-hints to try and resolve anything.
0
 

Expert Comment

by:megonowno
ID: 20724890
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
0
 
LVL 23

Expert Comment

by:TheCleaner
ID: 20725926
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

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

864 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