[Pdns-users] PDNS not authoritative for it's own zones

Tom Z. Napierala tom at dba.ie
Fri Nov 24 14:39:00 UTC 2006


Hi,

I'm struggling with PDSN configuration and I noticed, that it's failing to 
provide authoritative answers for domains it's set up as a MASTER:
monitor:/etc/powerdns# dig @127.0.0.1 testdomain.com

; <<>> DiG 9.2.4 <<>> @127.0.0.1 testdomain.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49884
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;testdomain.com.                        IN      A

;; ANSWER SECTION:
testdomain.com.         3600    IN      A       217.74.49.10

;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Nov 24 15:34:39 2006
;; MSG SIZE  rcvd: 48

another one:

monitor:/etc/powerdns# dig @127.0.0.1 testdomain.com SOA && 
tail /var/log/syslog

; <<>> DiG 9.2.4 <<>> @127.0.0.1 testdomain.com SOA
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55713
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;testdomain.com.                        IN      SOA

;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Nov 24 15:43:18 2006
;; MSG SIZE  rcvd: 32

Nov 24 15:42:55 debian pdns[714]: Not authoritative for 'testdomain.com', 
sending servfail to 127.0.0.1 (recursion was desired)



while everything seem to be alright:
mysql> SELECT * FROM domains WHERE name = "testdomain.com";
+----+-----------------------+--------------+------------+--------+-----------------+---------+
| id | name                  | master       | last_check | type   | 
notified_serial | account |
+----+-----------------------+--------------+------------+--------+-----------------+---------+
| 12 | testdomain.com        | NULL         |       NULL | MASTER |            
NULL | NULL    |
+----+-----------------------+--------------+------------+--------+-----------------+---------+

and:
mysql> SELECT * from records WHERE domain_id = 12;
+---------+-----------+--------------------------+------+-------------------------------------+------+------+-------------+
| id      | domain_id | name                     | type | 
content                             | ttl  | prio | change_date |
+---------+-----------+--------------------------+------+-------------------------------------+------+------+-------------+
| 7334587 |        12 | testdomain.com           | SOA  | ns4.dbahost.net 
hostmaster at dba.ie 1 | 3600 |    0 |  1164382460 |
| 7334588 |        12 | testdomain.com           | NS   | 
ns4.dbahost.net                     | 3600 |    0 |  1164382460 |
| 7334589 |        12 | testdomain.com           | NS   | 
ns4.dbahost.net                     | 3600 |    0 |  1164382460 |
| 7334590 |        12 | www.testdomain.com       | A    | 
217.74.49.10                        | 3600 |    0 |  1164382460 |
| 7334591 |        12 | testdomain.com           | A    | 
217.74.49.10                        | 3600 |    0 |  1164382460 |
| 7334592 |        12 | mail.testdomain.com      | A    | 
217.74.49.10                        | 3600 |    0 |  1164382460 |
| 7334593 |        12 | localhost.testdomain.com | A    | 
127.0.0.1                           | 3600 |    0 |  1164382460 |
| 7334594 |        12 | testdomain.com           | MX   | 
mail.testdomain.com                 | 3600 |   10 |  1164382460 |
+---------+-----------+--------------------------+------+-------------------------------------+------+------+-------------+

Here is my config:
http://monitor.dba.ie/pdns.conf

Any help will be appreciated.

-- 
Tom Napierala
DB Alliance Limited
North Point House, New Mallow Road, Cork, Ireland
The National Software Centre, Mahon, Cork, Ireland


More information about the Pdns-users mailing list