<div>norecurse request will not read the &quot;send-root-referral&quot; 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-&gt;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">&lt;<a href="mailto:xscapemind@gmail.com" target="_blank">xscapemind@gmail.com</a>&gt;</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 &quot;--send-root-referral=no&quot; (actually it&#39;s off<br>
by default)<br>
<br>
The two section will be returned when dig with &quot;+norecurse&quot;<br>
<br>
2012/8/9 Jan-Piet Mens &lt;<a href="mailto:jpmens.dns@gmail.com">jpmens.dns@gmail.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt;&gt; Can I turn off that?<br>
&gt;<br>
&gt; Have you glanced at the documentation [1]? --send-root-referral=no<br>
&gt; sounds like what you want.<br>
&gt;<br>
&gt;         -JP<br>
&gt;<br>
&gt; [1] <a href="http://doc.powerdns.com/all-settings.html" target="_blank">http://doc.powerdns.com/all-settings.html</a><br>
&gt; _______________________________________________<br>
&gt; Pdns-users mailing list<br>
&gt; <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
&gt; <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>