<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
How is the 'ban-hosts' file updated? Does it need a SIGHUP to dnsmasq (please not another thing hanging off SIGHUP) Does it need a complete restart?<br>
<br>
If 'ban-hosts' can be dynamically updated then I can see some value in it, until then it looks like it's a syntax nicety. Perhaps there's some other feature we're all missing... is it faster for example?<span class="HOEnZb"><font color="#888888"><br>
<br>
Kevin</font></span><div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>There is already --servers-file, which can be reloaded without restarting dnsmasq (via SIGHUP).</div><div><br></div><div><br></div><div>And even if --ban-hosts is added as a syntax nicety, what's the rationale for not just internally using the same well-tested data structure already implemented for domains banned via --server? If that lookup isn't efficient enough, better to improve it instead of adding a parallel one.</div><div><br></div><div> </div></div></div></div>