[Pdns-users] correct, but incomplete reply

Marten Lehmann lehmann at cnm.de
Tue Jan 15 19:33:16 UTC 2008


Hello,

from BIND I'm used to see some more records than requested:

$ dig test.com @bind

; <<>> DiG 9.2.4 <<>> test.com @ns1.test.vcom
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5542
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

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

;; ANSWER SECTION:
test.com.                 86400   IN      A       1.2.3.4

;; AUTHORITY SECTION:
test.com.                 86400   IN      NS      ns1.test.com.
test.com.                 86400   IN      NS      ns2.test.com.

;; ADDITIONAL SECTION:
ns1.test.com.      86400   IN      A       1.2.3.5
ns2.test.com.      86400   IN      A       1.2.3.6

;; Query time: 1 msec
;; SERVER: 81.28.224.2#53(81.28.224.2)
;; WHEN: Tue Jan 15 20:28:13 2008
;; MSG SIZE  rcvd: 119

With PowerDNS, I only get the records I requested:

$ dig cnm.de @powerdns

; <<>> DiG 9.2.4 <<>> cnm.de @81.28.224.5
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17802
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
test.com.                 86400   IN      A       1.2.3.4

;; Query time: 3 msec
;; SERVER: 81.28.224.5#53(81.28.224.5)
;; WHEN: Tue Jan 15 20:30:03 2008
;; MSG SIZE  rcvd: 40

Generally, this is correct. But on the other hand for debugging it 
requires more requests and is less comfortable.

Is there an option for powerdns to enable BIND like replies?

Regards
Marten


More information about the Pdns-users mailing list