[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-dev
Subject:    Re: [Pdns-dev] [Pdns-users] Not Authoritative for AAAA when label
From:       "bert hubert" <bert.hubert () netherlabs ! nl>
Date:       2011-07-26 6:00:32
Message-ID: 30A1B69FB94E444193141B7681F69D99 () ttshq ! local
[Download RAW message or body]

On Mon, Jul 25, 2011 at 02:00:02PM -0700, Zane Thomas wrote:
> Sorry about that, will be sure to note use of my own backend in the future.

I suggest we move this discussion to pdns-dev.

> This following code is setting weHaveUnauth to true because sd.qname !=
> rr.qname
> 
>       // the line below fakes 'unauth NS' for delegations for non-DNSSEC
> backends.
>       if((rr.qtype == p->qtype && !rr.auth) || (rr.qtype.getCode() ==
> QType::NS && (!rr.auth || !pdns_iequals(sd.qname, rr.qname))))
>         weHaveUnauth=1;
> 
> 
> When that code executes, subsequent to the NS record returned above,
> sd.qname is bar.com and rr.qname is foo.bar.com.

This only hits if you have actually delegated foo.bar.com, in which queries
for anything foo.bar.com should indeed drop the aa bit.

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



_______________________________________________
Pdns-dev mailing list
Pdns-dev@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic