Assigning Specific DNS Suffix to a Specific Network Connection is Not Possible?

Unanswered Assigning Specific DNS Suffix to a Specific Network Connection is Not Possible?

  • Saturday, November 01, 2008 2:46 PM
     
     
    Hello,

    I have a multihomed system. And each of the network adapters are connected to different networks from different domains. (Some of the domains are running in the Hyper-V network). I want each of the network adapters to have a specific DNS suffix set to it depending on what network this adapter is connected to.
    Consider I have


    Adapter1: Local Area Connection Physical
    Network type: Physical; external
    Domain: physdomain.com


    Adapter2: Local Area Connection Virtual
    Network type: Virtual; internal
    Domain: vurtualdomain.com

    Now I want Local Area Connection Physical connection on my physical parition (host computer in Hyper-V terminology; correct me if I am mistaken) to have physdomain.com specified as a DNS suffix.
    What I do:
    1. Open Local Area Connection Physical Properties dialog box in the Network Connections applet in Control Panel;
    2. Double-click Internet Protocol Version 4 (TCP/IPv4) to open the Internet Protocol Version 4 (TCP/IPv4) dialog box;
    3. Click Advanced button in the Internet Protocol Version 4 (TCP/IPv4) dialog box;
    4. Switch to DNS tab
    5. Set the Append these DNS suffixes (in order) radio button
    6. Add the physdomain.com suffix.

    This, as I thought, should add the physdomain.com as a domain suffix for the Local Area Connection Physical connection. And only this connection. No other connection will be affected. That's what I thought. I was mistaken.

    I opened the DNS tab for the Local Area Connection Virtual connection and what I saw there was the physdomain.com suffix added to there!!!

    So this setting appears to be global not per-connection setting!
    Is it a defect or the help provided is wrong???
    What you can read in help is:
    "You can use the settings on this tab for this network connection only if you are not using Obtain DNS server address automatically on the General tab.
    Append these DNS suffixes (in order), lists the DNS suffixes to search in the order listed when you use the Append these DNS suffixes option."

    Or do I understand it wrongly?

    I is possible to set the DNS suffix on a per-connection basis to have a different DNS suffix set for each of the connections?

    Thank You.

All Replies

  • Saturday, November 01, 2008 11:03 PM
     
     

        How are the NICs configured on the General tab? The normal procedure is to set them to obtain a DNS automatically if the NIC gets its network config from DHCP.

        This whole setup looks dicey to me. Why is the host connected to the virtual network? Are you trying to route through the host? If so, I would recommend against it. There are lots of problems with that.

    I would put the vms on a private virtual  network (ie with no connection to the host) and route through a vm with two NICS (one in the virtual ntwork and one linked to the physical network). I use a standalone RRAS router not in either domain.

     


    Bill
  • Tuesday, November 04, 2008 2:35 PM
     
     
    I think the box you actually want to modify on the DNS tab under advanced properties for TCP/IPv4 would be"DNS Suffix for this Connection:", which is per interface/connection specific and allows a single DNS suffix to to added.

    The DNS Suffix search order list is global to all interfaces on the system.