<div>norecurse request will not read the "send-root-referral" config and always send the referral. is it by design?</div><div><br></div><div>pdns-2.9.22/pdns/packethandler.cc:814</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
else if(!p->d.rd) {<br> addRootReferral(r);<br> goto sendit;<br>}</blockquote><div><br></div><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 8:47 PM, XscapeMind <span dir="ltr"><<a href="mailto:xscapemind@gmail.com" target="_blank">xscapemind@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, I turn off that with "--send-root-referral=no" (actually it's off<br>
by default)<br>
<br>
The two section will be returned when dig with "+norecurse"<br>
<br>
2012/8/9 Jan-Piet Mens <<a href="mailto:jpmens.dns@gmail.com">jpmens.dns@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">>> Can I turn off that?<br>
><br>
> Have you glanced at the documentation [1]? --send-root-referral=no<br>
> sounds like what you want.<br>
><br>
> -JP<br>
><br>
> [1] <a href="http://doc.powerdns.com/all-settings.html" target="_blank">http://doc.powerdns.com/all-settings.html</a><br>
> _______________________________________________<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>
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>
</div></div></blockquote></div><br>