<div dir="ltr">Thanks, and what about for entire CIDR blocks? Is there a shorthand for entire *.10.in-addr space?<div><br><div><div><font face="monospace, monospace">> addAction("<a href="http://10.0.0.0/8">10.0.0.0/8</a>", DropAction())<br></font></div><div><font face="monospace, monospace">> showRules()</font></div><div><font face="monospace, monospace">#     Matches Rule                                               Action</font></div><div><font face="monospace, monospace">0           0 Src: <a href="http://10.0.0.0/8">10.0.0.0/8</a>                                    drop</font></div></div></div><div><br></div><div>Here it wants to match the source of the query, but I'm interested in blocking the destination lookup.</div><div><br></div><div>I tried this but it does not block the request.</div><div><br></div><div><div><font face="monospace, monospace">> addAction('*.10.in-addr.arpa', DropAction())</font></div><div><font face="monospace, monospace">> showRules()</font></div><div><font face="monospace, monospace">#     Matches Rule                                               Action</font></div><div><font face="monospace, monospace">0           0 qname==*.10.in-addr.arpa.                          drop</font></div></div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 3, 2018 at 4:18 AM, Remi Gacogne <span dir="ltr"><<a href="mailto:remi.gacogne@powerdns.com" target="_blank">remi.gacogne@powerdns.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jonathan,<br>
<span class=""><br>
On 08/02/2018 11:09 PM, Jonathan Reed wrote:<br>
> The docs say to drop lookups for domains like this<br>
> <br>
>     addAction('<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>', DropAction())<br>
> <br>
> <br>
> Is this also the best way to drop reverse lookups?<br>
> <br>
>     addAction('1.1.10.in-addr.<wbr>arpa', DropAction())<br>
<br>
</span>Yes, that's probably the easiest way to do it.<br>
<br>
<br>
Best regards,<br>
<span class="HOEnZb"><font color="#888888">-- <br>
Remi Gacogne<br>
PowerDNS.COM BV - <a href="https://www.powerdns.com/" rel="noreferrer" target="_blank">https://www.powerdns.com/</a><br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
dnsdist mailing list<br>
<a href="mailto:dnsdist@mailman.powerdns.com">dnsdist@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/dnsdist</a><br>
<br></blockquote></div><br></div>