View Full Version : [other] No Authoritative DNS

August 20th, 2012, 11:33 PM
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.



August 22nd, 2012, 07:47 PM
A much better solution would be to make the second server a secondary (https://help.ubuntu.com/community/BIND9ServerHowto#Secondary_Master_Server_configura tion) 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:

zone "example.com" {
forwarders { ip.of.your.server; };

replacing "ip.of.your.server" with the address of the server that is authoritative for example.com.