<div dir="auto">Has it been tested thoroughly to handle absolute top-level domains where there is always a dot at the very end such as :</div><div dir="auto">  xyz.</div><div dir="auto">  <a href="http://ads.xyz">ads.xyz</a>.</div><div dir="auto">  <a href="http://google.com">google.com</a>.</div><div dir="auto">  </div><div dir="auto">   </div><div dir="auto"><br></div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Jul 22, 2025 at 7:45 PM <<a href="mailto:moistice@riseup.net">moistice@riseup.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Why DNSmasq doesn't support address=/:(REGEXP):/<a href="http://0.0.0.0" rel="noreferrer" target="_blank">0.0.0.0</a> officialy yet as<br>
there are many patches out there?<br>
<br>
<a href="https://github.com/lixingcong/dnsmasq-regex" rel="noreferrer" target="_blank">https://github.com/lixingcong/dnsmasq-regex</a><br>
<a href="https://github.com/cuckoohello/dnsmasq-regex" rel="noreferrer" target="_blank">https://github.com/cuckoohello/dnsmasq-regex</a><br>
<a href="https://bbs.archlinux.org/viewtopic.php?id=286486" rel="noreferrer" target="_blank">https://bbs.archlinux.org/viewtopic.php?id=286486</a><br>
<br>
Currently DNSmasq is tied to forward-check or backward-check only:<br>
<br>
address=/ads./<a href="http://0.0.0.0" rel="noreferrer" target="_blank">0.0.0.0</a> # block ads.*<br>
address=/xyz/<a href="http://0.0.0.0" rel="noreferrer" target="_blank">0.0.0.0</a> # block spammy *.xyz<br>
<br>
If you add the patch officialy, everyone benefit, like this:<br>
<br>
address=/:^(ad|ads|advert|adage|ad001)\.:/<a href="http://0.0.0.0" rel="noreferrer" target="_blank">0.0.0.0</a> # multiple.*<br>
address=/:(tracking|linking|spamming):/<a href="http://0.0.0.0" rel="noreferrer" target="_blank">0.0.0.0</a> # *middle*<br>
<br>
Please consider it!<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div></div>