[dnsdist] TCAction() doesnt return answer

dims dims.main at gmail.com
Tue Apr 26 12:04:31 UTC 2016


Thanks, its work!

> Remi Gacogne <mailto:remi.gacogne+dnsdist at powerdns.com>
> April 26, 2016 at 2:54 PM
> Hi,
>
> This rule is going to reply to every query with the TC flag set, even
> the ones received over TCP. I'd guess that what you want is actually
> something like:
>
> addAction(TCPRule(false), TCAction())
>
> Which would reply with TC to queries received over UDP only.
>
> You can use AndRule() and OrRule() to combine that with other rules:
>
> addAction(AndRule({makeRule("0.0.0.0/0"), TCPRule(false)}), TCAction())
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160426/ce29b1dd/attachment.html>


More information about the dnsdist mailing list