[Pdns-users] Not Authoritative for AAAA when label does not exist in zone?

Zane Thomas zane.thomas at gmail.com
Mon Jul 25 18:59:33 UTC 2011


> Could you add the output of 'dig +norecurs -t aaaa bar.com' and 'dig
> +norecurs -t aaaa foo.bar.com' and 'dig +norecurs -t any bar.com'.

zane at zane:~$ dig @10.11.247.52 +norecurse -t aaaa bar.com

; <<>> DiG 9.7.0-P1 <<>> @10.11.247.52 +norecurse -t aaaa bar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65010
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;bar.com. IN AAAA

;; AUTHORITY SECTION:
bar.com. 300 IN SOA ns1.bar.com. info.bar.com. 2002050701 10800 3600 604800
3600

;; Query time: 3 msec
;; SERVER: 10.11.247.52#53(10.11.247.52)
;; WHEN: Mon Jul 25 11:49:16 2011
;; MSG SIZE  rcvd: 81

zane at zane:~$ dig @10.11.247.52 +norecurse -t aaaa ns1.bar.com

; <<>> DiG 9.7.0-P1 <<>> @10.11.247.52 +norecurse -t aaaa ns1.bar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38113
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.bar.com. IN AAAA

;; AUTHORITY SECTION:
ns1.bar.com. 3600 IN NS ns1.bar.com.
ns1.bar.com. 3600 IN NS ns2.bar.com.

;; Query time: 1 msec
;; SERVER: 10.11.247.52#53(10.11.247.52)
;; WHEN: Mon Jul 25 11:49:25 2011
;; MSG SIZE  rcvd: 130

zane at zane:~$ dig @10.11.247.52 +norecurse -t any bar.com

; <<>> DiG 9.7.0-P1 <<>> @10.11.247.52 +norecurse -t any bar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14420
;; flags: qr aa; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;bar.com. IN ANY

;; ANSWER SECTION:
bar.com. 300 IN MX 5 emx.bar.com.
bar.com. 3600 IN NS ns1.bar.com.
bar.com. 300 IN SOA ns1.bar.com. info.bar.com. 2002050701 10800 3600 604800
3600
bar.com. 300 IN A 64.74.223.37
bar.com. 300 IN MX 5 emx2.bar.com.
bar.com. 3600 IN NS ns2.bar.com.
bar.com. 300 IN MX 5 emx.bar.com.

;; Query time: 2 msec
;; SERVER: 10.11.247.52#53(10.11.247.52)
;; WHEN: Mon Jul 25 11:49:50 2011
;; MSG SIZE  rcvd: 335




On Mon, Jul 25, 2011 at 11:35 AM, bert hubert <bert.hubert at netherlabs.nl>wrote:

> On Mon, Jul 25, 2011 at 11:23:52AM -0700, Zane Thomas wrote:
> > I have a zone bar.com for which pdns (3.0) is authoritative, there are
> no
> > AAAA records in the zone.
>
> Could you add the output of 'dig +norecurs -t aaaa bar.com' and 'dig
> +norecurs -t aaaa foo.bar.com' and 'dig +norecurs -t any bar.com'.
>
> Your question corresponds to this regression test:
>
> non-existing-record-other-types-exist:
> When asking for a record/type combination which does not exist, but the
> record in question does have other types available, a nameserver should
> return an authoritative empty no-error packet, and NOT set NXDOMAIN.
>        Passed test non-existing-record-other-types-exist
>
> And in the release tests, this one passed. However, this test is indeed at
> the apex.
>
> So please show your 'dig' output.
>
>        Bert
>
>
> >
> > If I query bar.com for AAAA the AA flag is set in the reply.
> >
> > There are no records for foo in bar.com; when I query for AAAA of
> > foo.bar.com the AA flag is not set in the reply as I expect.
> >
> > Is this a problem in pdns or a problem with my expectations.
> >
> > Tia!
>
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>


-- 
Nullius addictus jurare in verba magistri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20110725/b1458034/attachment.html>


More information about the Pdns-users mailing list