1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

DNS and two interfaces cards

Discussion in 'Networking (Hardware & Software)' started by netzorro, 2002/09/12.

Thread Status:
Not open for further replies.
  1. 2002/09/12
    netzorro

    netzorro Inactive Thread Starter

    Joined:
    2002/09/12
    Messages:
    2
    Likes Received:
    0
    Hi, maybe this is a stupid question but now I have 2 interface cards in my notepad. (win2k)
    Since each one has its own DNS server (both are DHCP) I dont know how to choose since all addresses are resolved by only one DNS.
    One dns can solve the IP addresses of its network but not the others.

    If I run nslookup I see the default dns server is the one from IF 1

    Is there any way to choose or disable one of them?

    There is no such concept in Unix. You have one dns configuration no matter if you have 1,2 or 3 NICs.

    Same problem with the default router. I have 2 default routers. How win2k behaves with this?

    Thanks
     
  2. 2002/09/12
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    netzorro - not a stupid question by any means but maybe a slightly confused one with some terms used not quite properly.

    1. Why 2 NICs? ICS or similar or are you on a business network?

    2. Who set the thing up for you?

    3. Please explain exactly what you meant by "Since each one has its own DNS server (both are DHCP) ".
    - You can and usually will have a primary and secondary DNS server assigned to a single NIC. Otherwise if one DNS server was down you would be out of business unless you had hosts or LMHosts files configured.
    - You could have different domain names set up on different NICs like mydomain.com on one and hisdomain.com on the other (but I think the PC might tend to become very confused unless the thing were set up very carefully). But this would have nothing to do with a DNS server.

    4. You can hard code any values into your NIC(s) that you want and when the DHCP server tries to assign values to the NICs, it will skip the ones you have already set up.

    5. DNS is not an OS specific thing. M$, 'Nix, and any other OS that wants to play in the network world will deal with DNS in the same fashion. Different internal code to do the job but the same appearance to DNS servers in accordance with the RFC specifications. RFC 2136 (Updates 1035) & 1996 and maybe a couple others.

    6. DHCP again is not OS specific. Any OS can use all or part of the RFC specifications for DHCP but any it does use must conform to the RFC rules. RFC 2131 is the latest I think but no problem if it used RFC 1541 - just wouldn't use all the newer options.
     
    Last edited: 2002/09/12
    Newt,
    #2

  3. to hide this advert.

  4. 2002/09/13
    netzorro

    netzorro Inactive Thread Starter

    Joined:
    2002/09/12
    Messages:
    2
    Likes Received:
    0
    OK. What I mean is the following.
    If you have a Network card and you connect it to a network with DHCP you get a IP, domain, default gateway, DNS servers and so.
    But if you have 2 cards you get all that for this second card, so you end with:

    2 DNS, 2 default gateways, 2, 2, 2 of everything.

    The problem I have is that every address I type in my explorer does not get resolved since my win2k is trying to solve it with the wrong DNS.
    I've got the same problem too with the default router but I can change the routing table with the route command.

    What I don't understand is why windows duplicates all these parameters. I have a Sun too with 3 network cards. Each card has its own IP and mask, but there is no such concept as a default router or primary DNS by Card . The defaultrouter is only one no matter how many cards you have. it is in /etc/defaultrouter. And the DNS is /etc/resolv.conf and that's all.

    Is there any way to chose the DNS?

    Thanks
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.