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

Zane Thomas zane.thomas at gmail.com
Mon Aug 1 16:45:28 CEST 2011


ping

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

> 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 at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
>
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>



-- 
Nullius addictus jurare in verba magistri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20110801/d5685121/attachment.htm>
-------------- next part --------------
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-dev mailing list