I'm attempting to create a DNS server to serve copies of a zone for 'example.com'.
Preamble:
The current setup includes:
- Ubuntu 11.10
- Bind9
- Apache 2
I have created Glue records at the registrar level, that resemble:
- ns1.example.com A x.x.x.x
- ns2.example.com A x.x.x.x
UFW has an exception for port 53.
The Problem
After installing Bind9, I have configured named.conf.local, named.conf.options (using Google DNS as my forwarders) and created a zone file (db.example.com) for my domain.
Upon testing my configuration via IntoDNS, no A record seems to be appearing, and I receive a slew of errors, including:
ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
x.x.x.x
The above error seems to be a recurring issue, even indicated via a tracert provided by Network Tools:
DNS server returned an error: Name server failed
Requesting a Resolution
So, what am I doing wrong? Why aren't my provided nameservers reachable?
I've followed numerous guides with no avail, any suggestions, resources or advice would be greatly appreciated.
Best Answer
can you show that your named instance is listening on the external interfaces like so;
also that you are able to query the local nameserver using dig (from bind-utils package);
(i am not familiar with UFW) but the docs indicate that something like this should dump your running firewall;