[Pdns-users] NS answer inconsistency between implementations for delegated zone

Remi Gacogne listes at valombre.net
Fri Mar 16 14:07:15 UTC 2012


Hi Peter,

Thank you for your response.

> I believe both responses are valid; but I'm not seeing the behaviour you 
> describe. When I test with PowerDNS 3.0 the NS-records always end up in 
> AUTHORITY - what version are you running?

I have been testing with 2.9.22.6, but I get the same results with 
Powerdns 3.0.

But are you sure you're doing a NS query ? Because an A query results
in having the RRs in AUTHORITY, but not an NS query:

$  drill ns info.example.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 56881
;; flags: qr rd ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; info.example.com.    IN      NS

;; ANSWER SECTION:
info.example.com.       7200    IN      NS      ns1.other.net.
info.example.com.       7200    IN      NS      ns2.other.net.

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 127.0.0.1
;; WHEN: Fri Mar 16 14:58:24 2012
;; MSG SIZE  rcvd: 79

$  drill info.example.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 39858
;; flags: qr rd ; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;; info.example.com.    IN      A

;; ANSWER SECTION:

;; AUTHORITY SECTION:
info.example.com.       7200    IN      NS      ns1.other.net.
info.example.com.       7200    IN      NS      ns2.other.net.

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 127.0.0.1
;; WHEN: Fri Mar 16 15:05:42 2012
;; MSG SIZE  rcvd: 79

Cheers,

Rémi Gacogne


More information about the Pdns-users mailing list