Results 1 to 2 of 2

Thread: No Authoritative DNS

  1. #1
    Join Date
    Jul 2012
    Beans
    32

    No Authoritative DNS

    Hi all,

    This is not a Ubuntu question, but I posted it here anyway because I like this forum and this concern Bind9 which is pretty used by a lot of ppl here.

    Here is what I try to do :

    I have a DNS server 'ns1' which is authoritative for 'mydomain.com'

    I would like to know if it is possible to set up a second DNS server that when you send it a dns request, it:
    - Check locally if it has a record for the host requested.
    - If not, forward the request to 'ns1'


    I am not even sure if this is possible.
    If someone know something about this, please let me know.

    Thx

    Leftfoot

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,754
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: No Authoritative DNS

    A much better solution would be to make the second server a secondary to the server you have now. (In fact, the RFCs concerning DNS require you to have two servers.)

    You could add the following zone to named.conf on the second server, which would forward all requests for example.com to the primary, but this isn't the preferred solution:

    Code:
    zone "example.com" {
         forward-only;
         forwarders { ip.of.your.server; };
    };
    replacing "ip.of.your.server" with the address of the server that is authoritative for example.com.

Bookmarks

Posting Permissions

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