Sunday, May 24, 2009

Domain name resolution in Windows

These are the major steps for name resolution. If at any step the requested name is resolved, the result will be returned and the steps below it will not be taken:

Try to resolve on the client first:



  1. Use preloaded local host file.

  2. Use local DNS cache.

If fail to resolve on the client, try resolve the name on the server by sending a DNS request:



  1. Use the prefered DNS server address configured for the current network connection. If failed to connect to the prefered DNS server, use other DNS server in the order listed in the Advanced TCP/IP Settings / DNS under "DNS server addresses, in order of use" box.

  2. The selected server tries to resolve using configured zone info.