Server Fault is a question and answer site for system and network administrators. 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 having some problems with setting up my dns server on my vps (CentOs 5.8 32 bit)

I have configured a dns zone with the ISPConfig 3 wizard. My name servers are registered at my domain registrar (at Yahoo)

I configured my domain to use my name servers:

Still, when I go to my domain, it says page not found.

The real error is "can't find"

named.conf (in /var/named/chroot/etc)

// Sample named.conf BIND DNS server 'named' configuration file
// for the Red Hat BIND distribution.
// See the BIND Administrator's Reference Manual (ARM) for details, in:
//   file:///usr/share/doc/bind-*/arm/Bv9ARM.html
// Also see the BIND Configuration GUI : /usr/bin/system-config-bind and
// its manual.
    // Those options should be used carefully because they disable port
    // randomization
    // query-source    port 53;
    // query-source-v6 port 53;

    // Put files that named is allowed to write in the data/ directory:
    directory "/var/named"; // the default
    dump-file               "data/cache_dump.db";
    statistics-file         "data/named_stats.txt";
    memstatistics-file      "data/named_mem_stats.txt";

/*      If you want to enable debugging, eg. using the 'rndc trace' command,
 *      named will try to write the '' file in the $directory (/var/named).
 *      By default, SELinux policy does not allow named to modify the /var/named  directory,
 *      so put the default debug log file in data/ :
     channel default_debug {
         file "data/";
         severity dynamic;
// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.
share|improve this question
Page not Found implies the DNS is working OK as your webserver is responding. – Iain Aug 17 '12 at 9:25
Sorry I meant "can't find" – mattyh88 Aug 17 '12 at 10:01
What is your domain name ? – Iain Aug 17 '12 at 10:31
my domain name is – mattyh88 Aug 17 '12 at 11:10
The named.conf doesn't show anything about your domain nor any include of other files. There's definitely something very wrong about your config. ISPConfig doesn't seem to be able to configure bind properly. – Tonin Aug 17 '12 at 18:39
up vote 0 down vote accepted

There is something wrong with the configuration of the DNS server software on your server. This can be seen from the following DNS diagnosis questions.

You domain is correctly delegated (dig ns

;         IN  NS

;; ANSWER SECTION:      172800  IN  NS      172800  IN  NS

The glue records are existing (dig and dig, although it's a single server:

;         IN  A

;; ANSWER SECTION:      172726  IN  A


;         IN  A

;; ANSWER SECTION:      172714  IN  A

But your DNS server is not responding to any query (dig soa @ or dig @

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

;         IN  SOA

;; Query time: 21 msec
;; WHEN: Fri Aug 17 18:30:18 2012
;; MSG SIZE  rcvd: 27


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

;         IN  A

;; Query time: 17 msec
;; WHEN: Fri Aug 17 18:30:48 2012
;; MSG SIZE  rcvd: 31

Providing your server is actually using this IP address (, something is wrongly configured on your DNS software. Which DNS software are you using? Can you see anything wrong in the logs?

For testing purposes, you might want to try a few online tools:

share|improve this answer
Hey, thx for the reply. I use BIND as DNS software. Just checking these sites you gave me. On pingability it says: does not have an IP Address (A) record. Why does it say that? I have configured an A record for that domain in ISPConfig – mattyh88 Aug 17 '12 at 17:27
Yes, you've configured that in ISPConfig, but somehow ISPConfig hasn't made the right configuration into BIND. Your server doesn't reply correctly to any DNS request it receives. That's why these online tools say they cannot find your domain nor any A record. You should check the error messages or the logs from ISPConfig, but also the logs of BIND. This is usually in /var/log/named.log or you might even find something in /var/log/messages – Tonin Aug 17 '12 at 17:44
There's nothing in the ispconfig logs. But the messages.log says: Aug 17 21:21:28 uk2be named[591]: client bad zone transfer request: '': non-authoritative zone (NOTAUTH) – mattyh88 Aug 17 '12 at 17:52
This log message states that bind (named) doesn't know about your domain (non-authoritative, meaning your dns thinks it is not responsible for your domain). You need to check all the named log entries in messages.log to spot something useful. We'd need to have the full named.conf to try to spot something there. There clearly is something wrong in your ISPConfig and bind setup. – Tonin Aug 17 '12 at 18:01
I updated my post with the named.conf – mattyh88 Aug 17 '12 at 18:10

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.