Share via


How to disable my DNS server to resolve queries for Internet names

Question

Thursday, May 29, 2014 6:18 PM

How to disable my DNS server to resolve queries for Internet names ?

Thanks

Edit: DNS has to solve all queries related to local resources but mustn't do resolving for Internet names.

All replies (6)

Tuesday, June 3, 2014 3:20 PM âś…Answered | 1 vote

Just remove the forwarders and root hints. Please follow this.

http://www.isaserver.org/img/upl/spskit/9dnsinfrastructure/9dnsinfrastructure.htm


Thursday, May 29, 2014 6:45 PM

Can you elaborate what you're trying to do, or perhaps more importantly what you're trying to resolve?

To stop your DNS server you could simply stop the DNS Server service, but I imagine that's not what you're after, since otherwise you won't be able to resolve anything locally! Are you talking and DNS Server on a local AD server, or on an internet router? Assuming your local machines are using the local DNS server are you finding that you're unable to lookup any external addresses, or are you just having issues resolving external internet addresses that use the same domain name as your local domain is configured to use?


Thursday, May 29, 2014 7:14 PM

If it is a purely authoritative name server you can set the recursion offTry Set-DnsServerRecursion

http://technet.microsoft.com/en-us/library/jj649868.aspx


Thursday, May 29, 2014 7:15 PM

Not quite sure what you're asking but:

If you have a local DNS server, like a domain controller usually has, you can simply force your computer's DNS address to be 8.8.8.8 which will bypass your recursive DNS and use google's. This is done in your IP4 properties within network adapters from network sharing center (if win vista and greater) from control panel.

This is assuming you have permissions to do so.


Tuesday, June 3, 2014 8:23 AM

DNS has to solve all queries related to local resources but mustn't do resolving for Internet names.


Tuesday, June 3, 2014 2:41 PM

If those local resources are hosted on the same DNS server (in zones) you can just disable recursion as I pointed above. If they are located on distributed DNS server use conditional forwarders to point to those servers and disable using roothints.