[Pdns-dev] [Pdns-users] how to turn off "send-root-referral" for "norecurse" query

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Sep 3 14:21:05 CEST 2012


Hello Xscape,

On Sep 3, 2012, at 12:12 , Xscape wrote:

> norecurse request will not read the "send-root-referral" config and always send the referral. is it by design?
> 
> pdns-2.9.22/pdns/packethandler.cc:814
> else if(!p->d.rd) {
>   addRootReferral(r);
>   goto sendit;
> }

I'm not sure whether this is by design. It does look like addRootReferral() would honor send-root-referral=lean.

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



More information about the Pdns-dev mailing list