<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">A few things still outstanding and more observations.<div class=""><br class=""></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">From Geert Stappers:</span></font></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>@E  Consider to subscribe to this mailinglist</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>Fixing your email program so it honors 'In-Reply-To: </span><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">‘</span></font><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">   </span>would also solve a problem you are emmitting.</span></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class="">Doing this would make it easier to reply to your messages.  As is, I’m manually updating the reply to line to be the mailing list and not sending mail directly to you only (removing the CC because I use reply not reply all).</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Also from Geert:</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>>What does "where dnsmasq" say?<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>>Are you actually running the binary you just built?<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>That information is indeed missing.</font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class="">A subtle, but correct observation.  Your output included “which” not “where” (whereis?).  I believe the goal was show all the copies of dnsmasq are on your system, not just the default run by the current shell’s PATH by priority of that environmental variable.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">From me:</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Where is the results of renaming /usr/sbin/dnsmasq and using the service script afterward?  I assume the error message would have changed and the mv command would have been in the latest command list.  I still find using the git compiled version of dnsmasq and the package version concurrently installed into system locations as dirty and believe you have a package installed dnsmasq binary on the system.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">For the compiled dnsmasq running in your PATH, its complaining about line 12 which you have as “<span style="caret-color: rgb(0, 0, 0);" class="">dnssec-check-unsigned=no</span></font><span style="color: rgb(0, 0, 0);" class="">”.  Referring to </span><font color="#000000" class="">dnsmasq.conf.example from the source repository, the option is just set not “=no” or yes.  I also wonder if simply commenting out the offending line would get your manual command line run to work.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Also noteworthy that this config doesn’t appear to be based on the example configuration with comments.  Several lines raise an eyebrow and look like copied and pasted examples from web searching that weren’t updated—particularly the “=path-to/“ entries that I suspect don’t exist in a directory called “path-to”.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">I have an automated build setup that takes HEAD of dnsmasq into a fresh ubuntu docker container along with my configuration file.  I do wonder why your --version output doesn’t show the compile time options like mine does.  This would help if you use options that are required to be compiled in.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>dnsmasq --version<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>Dnsmasq version UNKNOWN  Copyright (c) 2000-2021 Simon Kelley<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset auth no-cryptohash no-DNSSEC loop-detect inotify dumpfile</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">-Daniel</font></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 11, 2021, at 12:58 AM, E <<a href="mailto:encoding@riseup.net" class="">encoding@riseup.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Now that's what I need. Thanks for another useful reply.<br class=""><br class=""><br class=""># vi /usr/local/etc/dnsmasq.conf<br class="">( No File - I did not use this. I use only /etc/dnsmasq.conf )<br class=""><br class=""># vi /etc/dnsmasq.conf<br class=""><br class="">--- --- --- --- ---<br class="">interface=lo<br class="">listen-address=127.0.0.1<br class="">bind-interfaces<br class="">## AAAAtestver<br class="">server=1.2.3.4#53<br class="">server=1.2.3.4#53<br class="">server=1.2.3.4#53<br class="">server=1.2.3.4#53<br class="">rev-server=1.2.3.4/24,1.2.3.4<br class="">bogus-priv<br class="">cache-size=1337<br class="">dnssec-check-unsigned=no<br class="">dnssec-no-timecheck<br class="">domain-needed<br class="">filterwin2k<br class="">min-cache-ttl=1337<br class="">neg-ttl=1337<br class="">dns-forward-max=1337<br class="">no-poll<br class="">no-resolv<br class="">stop-dns-rebind<br class="">addn-hosts=path-to/path-to.txt<br class="">conf-file=path-to/path-to.conf<br class="">filter-AAAA<br class="">--- --- --- --- ---<br class=""><br class=""># dnsmasq --version<br class="">Dnsmasq version 2.87test4-1-g37a70d3<br class=""><br class=""># dnsmasq<br class="">dnsmasq: unsupported option at line 12 of /etc/dnsmasq.conf<br class=""><br class=""># sed '12!d' /etc/dnsmasq.conf<br class="">dnssec-check-unsigned=no<br class=""><br class=""># service dnsmasq restart;systemctl status dnsmasq.service<br class="">Job for dnsmasq.service failed because the control process exited with<br class="">error code.<br class="">bad option at line 24 of /etc/dnsmasq.conf<br class=""><br class=""># sed '24!d' /etc/dnsmasq.conf<br class="">filter-AAAA<br class=""><br class=""># dpkg --list|grep dnsmasq<br class="">ii  dnsmasq                               2.85-1                        <br class="">all          Small caching DNS proxy and DHCP/TFTP server<br class="">ii  dnsmasq-base                          2.85-1                        <br class="">amd64        Small caching DNS proxy and DHCP/TFTP server<br class=""><br class="">_______________________________________________<br class="">Dnsmasq-discuss mailing list<br class=""><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" class="">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br class="">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss<br class=""></div></div></blockquote></div><br class=""></div></body></html>