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

Xscape xscapemind at gmail.com
Tue Sep 4 06:36:05 CEST 2012


yes, it honors send-root-referral=lean.

two protocol question:
1. how does root referral solve the floods describe in
http://doc.powerdns.com/all-settings.html ?
2. if didn't return ADDITIONAL SECTION, will there be potential problem?

On Mon, Sep 3, 2012 at 8:21 PM, Peter van Dijk <peter.van.dijk at netherlabs.nl
> wrote:

> 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/
>
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20120904/8a2aa751/attachment-0001.htm>


More information about the Pdns-dev mailing list