Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using BIND on Ubuntu 11.04 and nothing seems to be working (the server is doing recursion, so I know it is working properly.) However it is not resolving local hosts on my subnet that I've provided. No error is provided when I run named-checkconf.

Here is setup:


include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";


options {
    directory "/var/cache/bind";
    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };


zone "" {
    type master;
    file "/etc/bind/";


$TTL 1d

@   IN  NS
www     IN  A
web IN  CNAME   www
comp1   IN  A
comp2   IN  A
comp3   IN  A

When I attempt to ping any of the specified hosts (comp1-3 or access my webserver nothing is happening.

Is there certain permissions that must be set on the zone file?

I attempt to dig and this is what is returned:

; <<>> DiG 9.7.3 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 32743
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;           IN  A

;; Query time: 0 msec
;; WHEN: Sat Jun 18 04:36:25 2011
;; MSG SIZE  rcvd: 29

Any suggestions on how to fix this?

share|improve this question
You have signalled BIND to reload it's configuration? Maybe I'm out-of-date on BIND but shouldn't there be a serial-number that gets updated? – RedGrittyBrick Jun 18 '11 at 13:48
Try including an SOA section and see if it works. Also, don't forget your reverse DNS. – LawrenceC Jun 18 '11 at 14:15
What do you mean by "nothing is happening?" I'm sure something is happening... if it sits there for a long time before giving a "host not found" error, that is something. If it shows you the IP it's pinging, then sits there a long time before saying "Host unreachable", that is something... if it gives you an immediate error, that is something... let us know exactly what is happening, and it will be easier to troubleshoot. – Flimzy Jun 19 '11 at 7:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.