Barry Kostjens wrote:
Hi All,

Im currently moving from mydns to powerdns. Wrote a converter and importet all records into powerdns (using the gmysql backend). I tried debian sarge, debian etch (with the stable pdns-server packages) and now Im using pdns-static_2.9.21-1_i386.deb. On all versions I have the same problem.

Everything works ok, but the lookup of PTR records that are delegated fail in powerdns.

These records are present:

192-26.191.35.195.in-addr.arpa     NS     a.ns.xillion.nl     86400

192-26.191.35.195.in-addr.arpa     NS     b.ns.xillion.nl     86400

192-26.191.35.195.in-addr.arpa     NS     c.ns.xillion.nl     86400


201.191.35.195.in-addr.arpa CNAME 201.192-26.191.35.195.in-addr.arpa 3600

Now a query @  dns1 running powerdns:

dig -x 195.35.191.201 PTR @dns1.ilimburg.nl

; <<>> DiG 9.3.4 <<>> -x 195.35.191.201 PTR @dns1.ilimburg.nl
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 65235
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;201.191.35.195.in-addr.arpa.   IN      PTR

;; ANSWER SECTION:
201.191.35.195.in-addr.arpa. 3600 IN CNAME 201.192-26.191.35.195.in-addr.arpa.

;; Query time: 0 msec
;; SERVER: 195.35.190.130#53(195.35.190.130)
;; WHEN: Thu Jul  5 10:38:52 2007
;; MSG SIZE  rcvd: 70

While on dns2 (running mydns) it works:

dig -x 195.35.191.201 PTR @dns2.ilimburg.nl

; <<>> DiG 9.3.4 <<>> -x 195.35.191.201 PTR @dns2.ilimburg.nl
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21168
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;201.191.35.195.in-addr.arpa.   IN      PTR

;; ANSWER SECTION:
201.191.35.195.in-addr.arpa. 7200 IN CNAME 201.192-26.191.35.195.in-addr.arpa.

;; AUTHORITY SECTION:
192-26.191.35.195.in-addr.arpa. 7200 IN NS      a.ns.xillion.nl.
192-26.191.35.195.in-addr.arpa. 7200 IN NS      b.ns.xillion.nl.
192-26.191.35.195.in-addr.arpa. 7200 IN NS      c.ns.xillion.nl.

;; Query time: 12 msec
;; SERVER: 195.35.190.132#53(195.35.190.132)
;; WHEN: Thu Jul  5 10:39:17 2007
;; MSG SIZE  rcvd: 131

Does anyone have an idea what is going wrong here, and how I can fix it?

Thanks,

Barry
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Ok this problem was solved. I totally forgot to import the SOA records (OOPS), mydns has a seperate soa table!!

Kindly Regards,

Barry

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to