Super User is a question and answer site for computer enthusiasts and power users. 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 two network interfaces on my computer on my Windows PC.

Primary and Secondary DNS servers are defined per network interface so I can define 2 sets of DNS servers on two network interfaces.

When looking up for a server name, which DNS server is used and why?

share|improve this question
up vote 0 down vote accepted

As far as I know windows implements interface priority which you could alter. I think it uses the connection with the highest priority, and from there it`s DNS server.

share|improve this answer
Where can I see priorities and how can I alter them ? – e-mre May 26 '11 at 7:24
Go to network connections, hit the alt key and go to advanced/advanced settings. – xciter May 26 '11 at 12:30

I haven't checked this, but my assumption would be that the DNS servers defined on the interface that has the default gateway will be tried first followed by the servers on the other interface.

Easiest way to check for sure is to capture your network traffic using Microsoft Network Monitor or a similar tool.

share|improve this answer
Default gateway is also defined per network interface, so two network interfaces can have two different default gateways defined, so it must be something other than that I guess. – e-mre May 12 '11 at 7:18
Capturing the network traffic would answer "which" but would not answer "why" – e-mre May 12 '11 at 7:18

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.