<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Thanks, its work!<br>
<span>
</span><br>
<blockquote style="border: 0px none;"
cite="mid:62ff0c00-9500-8035-1fb8-1d8caba7f526@powerdns.com" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a moz-do-not-send="true"
href="mailto:remi.gacogne+dnsdist@powerdns.com" style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Remi Gacogne</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">April
26, 2016 at 2:54 PM</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Hi,<br></div><div><!----><br>This
rule is going to reply to every query with the TC flag set, even<br>the
ones received over TCP. I'd guess that what you want is actually<br>something
like:<br><br>addAction(TCPRule(false), TCAction())<br><br>Which would
reply with TC to queries received over UDP only.<br><br>You can use
AndRule() and OrRule() to combine that with other rules:<br><br>addAction(AndRule({makeRule("0.0.0.0/0"),
TCPRule(false)}), TCAction())<br><br><br></div></div>
</blockquote>
<br>
</body></html>