Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 2008 server with two IP addresses assigned to a single NIC. The DNS settings are setup to register the connections's addresses on the DNS server. nslookup shows both IP addresses for the server name. How is name resolution done in this case, i.e. which IP address does the DNS server return for a host lookup? Or does it return both, and the client selects one of the addresses?

share|improve this question

migrated from May 29 '10 at 1:57

This question came from our site for professional and enthusiast programmers.

Normally DNS server will rotate through all available addresses for a given hostname. You've got two in this case, it'll alternate which it hands out each time.

The DNS server can be configured differently, but this is generally not a good idea. If you can elaborate on why this configuration doesn't work for you, we might be able to propose a solution.

share|improve this answer
I am setting up a replacement SQL server that has two IP addresses. Instead of adding a temporary DNS entry for the replacement SQL server, I wanted to reference the default SQL instance using the server name. I am not looking to change the DNS server configuration, so I'll just go the temporary DNS entry. FYI In our case, the DNS servers always return the second address; they aren't rotating through all the entries. I am not certain what OS or flavor of DNS is running on the DNS servers. – mpkilroy Jun 1 '10 at 12:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.