[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Microsoft DNS requests orders

Posted on 2010-01-07
Medium Priority
Last Modified: 2012-05-08
Microsoft DNS requests orders

1-Can someone describe the DNS requests in orders?
for instance, when the client makes a DNS request, will it look first to its DNS cache,then to host file then to the preferred DNS server specified in the TCP/IP settings of the network adapter,then to DNS forwarders?

2-in the forwared tab if I have a zone XZONE.com that is hosted on DNS1( and DNS2( and I want the zone to be resolved always by the DNS1(, in this case putting the on top of the list in forwarders would make DNS1 first  resolve the requests for XZONE.com and DNS2( will be used just in case DNS1 is down?

3-if a client is using hostfile for a certain zone.
which command should I run to show that the client is using host file for a certain zone instead of a DNS server?

Question by:jskfan
  • 3
  • 2
LVL 71

Expert Comment

by:Chris Dent
ID: 26202470

1. Client:

a. Cache
b. Hosts File
c. Server

The rest of the work is done by the server, the MS DNS Client is a Stub Resolver, it's not capable of more than passing it on.

The server will then do:

a. Cache
b. Local Zones
c. Forwards (if configured)
d. Root Hints (if not disabled)

2. In case DNS1 is down or does not respond within the time-out period (typically a couple of seconds).

3. No such command I'm afraid. The hosts file will only be used if you let the DNS Client find the name. NsLookup on the other hand will never bother considering local cache or hosts file.

You could monitor network traffic and discover that the response was not provided across the network, but it would be far far quicker to check the Hosts file itself.


Author Comment

ID: 26210985
2- in the forwaders tab, does it matter the order of the DNS IP addresses entered for the same zone name?
for instance XZONE.com is hosted on DNS1( and DNS2( and I want the zone to be always resolved  by the DNS1(, Do I need to put the on top of the list and on the bottom?

Author Comment

ID: 26359670
any updates??
LVL 71

Accepted Solution

Chris Dent earned 2000 total points
ID: 26359734

Sorry dude, completely lost track.

2. The order matters, the first is used preferentially, if that times out the second is used.

You won't be able to guarantee that it only ever uses if both are listed, however it will most of the time.


Author Comment

ID: 26408764

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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.…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

873 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