[Pdns-users] Re: Should a non-authoritative server put the NS records into Answer or into Authority?

bert hubert ahu at ds9a.nl
Thu Mar 20 13:38:17 UTC 2003


On Thu, Mar 20, 2003 at 01:56:34PM +0100, Stephane Bortzmeyer wrote:

> No. Here is an example. According the analysis of Olaf Kolkman,
> PowerDNS is wrong in that respect (hence the Reply-To the PowerDNS
> mailing list).

Ok, this is fixed in CVS. PowerDNS 2.9.7 was just released which
incorporated the following based on your input:

# PowerDNS set the 'aa' bit on serving NS records in a zone for which it was
  authoritative. Most implementations drop the 'aa' bit in this case and
  Stephane Bortzmeyer informed us of this. PowerDNS now also drops the 'aa'
  bit in this case.

# PowerDNS can now perform AAAA additional processing optionally, turned on
  by setting do-ipv6-additional-processing. Thanks to Stephane Bortzmeyer
  for pointing out the need.

In 2.9.8, PowerDNS gives this answer:

$ dig NS lame.ds9a.nl @127.0.0.1 -p 5301

; <<>> DiG 9.2.1 <<>> NS lame.ds9a.nl @127.0.0.1 -p 5301
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25373
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;lame.ds9a.nl.			IN	NS

;; AUTHORITY SECTION:
lame.ds9a.nl.		3600	IN	NS	ns1.xs4all.nl.
lame.ds9a.nl.		3600	IN	NS	ns2.xs4all.nl.

;; Query time: 2 msec
;; SERVER: 127.0.0.1#5301(127.0.0.1)
;; WHEN: Thu Mar 20 14:37:21 2003
;; MSG SIZE  rcvd: 73

Thanks.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
http://netherlabs.nl                         Consulting


More information about the Pdns-users mailing list