[Pdns-dev] [Pdns-users] how to turn off "send-root-referral" for "norecurse" query
Xscape
xscapemind at gmail.com
Mon Sep 3 12:12:40 CEST 2012
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;
> }
On Thu, Aug 9, 2012 at 8:47 PM, XscapeMind <xscapemind at gmail.com> wrote:
> Yes, I turn off that with "--send-root-referral=no" (actually it's off
> by default)
>
> The two section will be returned when dig with "+norecurse"
>
> 2012/8/9 Jan-Piet Mens <jpmens.dns at gmail.com>:
> >> Can I turn off that?
> >
> > Have you glanced at the documentation [1]? --send-root-referral=no
> > sounds like what you want.
> >
> > -JP
> >
> > [1] http://doc.powerdns.com/all-settings.html
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20120903/ccf08ed3/attachment.htm>
More information about the Pdns-dev
mailing list