[Pdns-users] Delegation broken?

Michael Loftis mloftis at wgops.com
Tue Nov 22 23:09:23 UTC 2005


Why do I have broken delegation wit the below records.  I was notified of 
this problem by the customer.  PowerDNS should be returning NS records, 
instead it returns SOA for parentdomain.org instead of the three NS for 
sub.paren.org  -- i've changed the actual domains involved in the below 
records but that's it.  Using gmysql backend, mysql 4.1.11 and powerdns 
2.9.19 on Debian Woody (3.0) *and* RedHat 7.3 testing box, both produce the 
same result.

I've tried adding another zone for the sub but I still never get the right 
answer from powerdns, it never responds with authority section pointing out 
the correct servers.

I'm pretty certain this is a pretty nasty bug because I can't delegate 
subdomains at all right now.


dhcp-2-206:~/Desktop/modwest/dev/pdns/pdns-2.9.19 mloftis$ dig a 
sub.paren.org @ns1.ournsss.com

; <<>> DiG 9.2.2 <<>> a sub.paren.org @ns1.ournsss.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16412
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;sun.paren.org.                 IN      A

;; AUTHORITY SECTION:
paren.org.              3600    IN      SOA     ns1.ournsss.com. 
root.ournsss.com. 2005080215 10800 3600 604800 3600

;; Query time: 21 msec
;; SERVER: 216.000.000.13#53(ns1.ournss.com)
;; WHEN: Tue Nov 22 16:05:06 2005
;; MSG SIZE  rcvd: 98



mysql> select id,name,master,last_check,type,notified_serial,account from 
domains where name='paren.org';
+------+-----------+--------+------------+--------+-----------------+---------+
| id   | name      | master | last_check | type   | notified_serial | 
account |
+------+-----------+--------+------------+--------+-----------------+---------+
| 9279 | paren.org | NULL   |       NULL | NATIVE |            NULL | NULL 
|
+------------------+--------+------------+--------+-----------------+---------+
1 row in set (0.00 sec)


mysql> select id,domain_id,name,type,content,ttl,prio from records where 
domain_id=9279;
+--------+-----------+---------------------+-------+--------------------------------------------------------------------+------+------+
| id     | domain_id | name                | type  | content 
| ttl  | prio |
+--------+-----------+---------------------+-------+--------------------------------------------------------------------+------+------+
| 102592 |      9279 | paren.org           | SOA   | ns1.ournsss.com 
root.ournsss.com 2005080215 10800 3600 604800 3600 | 3600 |    0 |
| 102593 |      9279 | paren.org           | NS    | ns1.ournsss.com 
| 3600 |    0 |
| 102594 |      9279 | paren.org           | NS    | ns2.ournsss.com 
| 3600 |    0 |
| 102595 |      9279 | paren.org           | MX    | mail.ournsss.com 
| 3600 |   10 |
| 102596 |      9279 | jobmetric.paren.org | A     | 216.220.25.220 
| 3600 |    0 |
| 102597 |      9279 | forum.paren.org     | A     | 216.220.25.220 
| 3600 |    0 |
| 102598 |      9279 | forums.paren.org    | A     | 216.220.25.220 
| 3600 |    0 |
| 102599 |      9279 | paren.org           | A     | 204.11.246.1 
| 3600 |    0 |
| 102601 |      9279 | loan.paren.org      | A     | 216.220.25.218 
| 3600 |    0 |
| 102602 |      9279 | mail.paren.org      | CNAME | loan.paren.org 
| 3600 |    0 |
| 102603 |      9279 | oldftp.paren.org    | A     | 66.62.254.31 
| 3600 |    0 |
| 102607 |      9279 | r1.paren.org        | A     | 216.220.25.217 
| 3600 |    0 |
| 102608 |      9279 | pnat.paren.org      | A     | 216.220.25.218 
| 3600 |    0 |
| 102609 |      9279 | ftp.paren.org       | CNAME | ftp.ournsss.com 
| 3600 |    0 |
| 102610 |      9279 | db.paren.org        | CNAME | db.ournsss.com 
| 3600 |    0 |
| 102611 |      9279 | ns1.paren.org       | CNAME | ns1.ournsss.com 
| 3600 |    0 |
| 102612 |      9279 | ns2.paren.org       | CNAME | ns2.modwest.com 
| 3600 |    0 |
| 138147 |      9279 | sun.paren.org       | NS    | 
ns1.theirnameserver.net                                            | 3600 | 
NULL |
| 138148 |      9279 | sun.paren.org       | NS    | 
ns2.theirnameserver.net                                            | 3600 | 
NULL |
| 138149 |      9279 | sun.paren.org       | NS    | 
ns3.theirnameserver.net                                            | 3600 | 
NULL |
+--------+-----------+---------------------+-------+--------------------------------------------------------------------+------+------+
20 rows in set (0.00 sec)



--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler


More information about the Pdns-users mailing list