Results 1 to 6 of 6

Thread: DNS question

  1. #1

    DNS question

    If I add more than one DNS to my network settings, when trying to resolve domain names, will it check the secondary DNS or tertiary if it can't find the host on the Primary DNS, or are the extra DNS' just in case the Primary is down?

    I am doing a VPN connection to work. Of course, my ISP's DNS' do not have names of my work's internal hosts. If I set my internet connection with my ISP's DNS and add the internal addresses for my work DNS', after doing a VPN, will that let me resolve my internal hosts?

    (I know it is kinda misleading...)

  2. #2
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001

    Re:DNS question

    Yes, it will work .....

    Secondary DNSs are there for that purpose. So if the host can't be found in Primary DNS, the request is came back negative and your computer will send another request to secondary DNS server.

    I used to set my DNS entries from two companies, my current ATTBI connection and my former DSL provider's ( ) DNS so if one is down, I still can resolve hosts. ;D

  3. #3

    Re:DNS question

    Thank you. I will give that a try.

  4. #4

    Re:DNS question

    Actually, chances are that your primary DNS will not have the host entries you are looking for, unless they have already been cached by it. In the event that your primary DNS server does not know the answer, your secondary DNS server will not be queried. AFAIK, it will only be queried in the event that the primary nameserver is offline.

    DNS works like this:

    Say you are looking for the ip address of Your computer will query your primary DNS. If your primary DNS does not know where that host is located (in most cases it will not), it will then query a top-level nameserver (a .com nameserver for instance). That nameserver will then know how to locate the domain, since the .com nameservers are authorative for everything in the .com domain namespace. The .com server itself will not know the address of, but it will know how to locate's nameservers, which will most likely hold the appropriate resource records you are looking for. Once the actual resourse record is located, it is then passed back up the tree to your ISPs nameserver. Then it is handed down to the client resolver on your box.

    Does this make any sense?

    Your primary DNS server will cache this response, but will probably not hold onto it forever. In the event that this name server does not know the answer, your secondary DNS server WILL NOT be queried. If you run tcpdump, you can see this happen on the wire. The primary namserver will respond to your computer, telling it that that host does not exist, and your computer will believe this response.

    As far as VPN is concerned, I don't know much about the details of its implementation, but I'm sure the software handles traffic negoiation between its endpoints in its own way.

  5. #5

    Re:DNS question

    That's ok. That is not the case for WINS it seems. I added the domain's WINS and it resolved right up.

  6. #6

    Re:DNS question

    [quote author=trickster link=board=4;threadid=5483;start=0#52919 date=1036115857]
    That's ok. That is not the case for WINS it seems. I added the domain's WINS and it resolved right up.

    WINS will definately do the trick. If you are on an NT4 domain, I don't think DNS will ever even be queried. I'm pretty sure NT defaults to NetBIOS over TCP/IP.

Similar Threads

  1. Fan Question
    By Millermagic in forum Windows - General Topics
    Replies: 29
    Last Post: 02-04-2005, 06:00 AM
  2. 1 of my many question to come
    By gentoo in forum Linux - General Topics
    Replies: 1
    Last Post: 11-07-2004, 07:37 PM
  3. Web Question
    By GhostDawg in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-08-2004, 08:16 AM
  4. cga - another question
    By LiNuts in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 10-22-2002, 12:20 PM
  5. a log question
    By ericn in forum Linux - General Topics
    Replies: 4
    Last Post: 12-20-2001, 04:57 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts