<div><br></div>ping<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 11:00 PM, bert hubert <span dir="ltr"><<a href="mailto:bert.hubert@netherlabs.nl">bert.hubert@netherlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Jul 25, 2011 at 02:00:02PM -0700, Zane Thomas wrote:<br>
</div><div class="im">> Sorry about that, will be sure to note use of my own backend in the future.<br>
<br>
</div><div class="im">I suggest we move this discussion to pdns-dev.<br>
<br>
</div><div class="im">> This following code is setting weHaveUnauth to true because sd.qname !=<br>
> rr.qname<br>
><br>
> // the line below fakes 'unauth NS' for delegations for non-DNSSEC<br>
> backends.<br>
> if((rr.qtype == p->qtype && !rr.auth) || (rr.qtype.getCode() ==<br>
> QType::NS && (!rr.auth || !pdns_iequals(sd.qname, rr.qname))))<br>
> weHaveUnauth=1;<br>
><br>
><br>
> When that code executes, subsequent to the NS record returned above,<br>
> sd.qname is <a href="http://bar.com" target="_blank">bar.com</a> and rr.qname is <a href="http://foo.bar.com" target="_blank">foo.bar.com</a>.<br>
<br>
</div><div class="im">This only hits if you have actually delegated <a href="http://foo.bar.com" target="_blank">foo.bar.com</a>, in which queries<br>
for anything <a href="http://foo.bar.com" target="_blank">foo.bar.com</a> should indeed drop the aa bit.<br>
<br>
Bert<br>
</div><div class="im">_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br>
<br>
<br>
</div>_______________________________________________<br>
Pdns-dev mailing list<br>
<a href="mailto:Pdns-dev@mailman.powerdns.com">Pdns-dev@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-dev" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Nullius addictus jurare in verba magistri.<br>