Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 multiple IPs that is acting as DNS server. I have set the DNS server up to only accept connections on a single of these IPs. The DNS is serving as secondary DNS and when it connects to the primary DNS server it is not connecting with this particular IP address, but one of the other IPs. Is there a way in which I can make sure the server connects using the correct IP?

share|improve this question

Windows OS have a Route Table, used to choose an interface for external communication. In a Cmd prompt, route print will show said table, with both active and persistent routes along with a interface list.

Persistent routes are manual entries that won't get deleted even if the interface went down.

=========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric

As to enforce a certain destination to use a certain interface, i would recommend a persistent route,



route command destination MASK network mask *gateway* Metric metic number IF interface number

If IF is not given, it tries to find the best interface for a given gateway.

The interface number is displayed in the interface list shown earlier.

Fernando Ramos

share|improve this answer

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.