<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div class="signature">
<div><font face="Verdana"><font size="2" style="font-size: 9pt">Hi there,</font></font></div>
<div> </div>
<div><font face="Verdana"><font size="2" style="font-size: 9pt">first of, thank you for the work on this project.</font></font></div>
<div> </div>
<div><font face="Verdana"><font size="2" style="font-size: 9pt">I want to use dnsmask to block malicious domains using a blocklist caontaining a huge number of such domains.</font></font></div>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"><font face="Verdana"><font size="2" style="font-size: 9pt">Therefore I use lists called "Shalla's Blacklists" that happen to have domains with multiple minus in a form like this X----X.X----X.1596.hk. (This is not the actual domain, since it is malicious I changed one letter to X).</font></font></p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"><font face="Verdana"><font size="2" style="font-size: 9pt">So I have a script that creates a file blocklists.conf in /etc/dnsmasq.d/ containing those domains in the form of "address=/X----X.X----X.1596.hk/" per line.</font></font></p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"><font face="Verdana"><font size="2" style="font-size: 9pt">If the dnsmasq.service is being restarted it fails because of an error in those lines containing more than 3 minus in a row.</font></font></p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"> </p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"><font face="Verdana"><font size="2" style="font-size: 9pt">Affected version 2.84rc2 (the only one I tested).</font></font></p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"> </p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"><font face="Verdana"><font size="2" style="font-size: 9pt">Stepps to reproduce:<br/>
echo "address=/X---X.X---X.1596.hk/" >> /etc/dnsmasq.d/blocklist.conf<br/>
systemctl restart dnsmasq<br/>
systemctl status dnsmasq</font></font></p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"> </p>
<p lang="en-GB-oxendict" style="margin-bottom: 0cm; line-height: 100%"> </p>
<div>Best regards</div>
<div>Ben</div>
</div></div></body></html>