Dnsmasq broken in latest snap
-
The latest snap seems to have broken dnsmasq on my system.
I'm sorry that I don't have the time to look into it right now, but here are the relevant logs from /var/log/resolver.log
May 16 17:37:45 fw dnsmasq[35362]: bad command line options: bad address
May 16 17:37:45 fw dnsmasq[35362]: FAILED to start up
May 16 17:56:12 fw dnsmasq[34887]: bad command line options: bad address
May 16 17:56:12 fw dnsmasq[34887]: FAILED to start upwhereas if I just start dnsmasq from CLI it seems to work
May 16 18:22:40 fw dnsmasq[40934]: started, version 2.66 cachesize 150
May 16 18:22:40 fw dnsmasq[40934]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset auth
May 16 18:22:40 fw dnsmasq[40934]: reading /etc/resolv.conf
May 16 18:22:40 fw dnsmasq[40934]: using nameserver 193.x.y.z#53
May 16 18:22:40 fw dnsmasq[40934]: using nameserver 193.w.y.v#53
May 16 18:22:40 fw dnsmasq[40934]: ignoring nameserver 127.0.0.1 - local interface
May 16 18:22:40 fw dnsmasq[40934]: read /etc/hosts - 3 addresses -
Uncommenting the log_error line #1666 of /etc/inc/services.inc it seems to be due to a missing space when adding the "address=/test.testdomain.com/192.168.222.111" line that I had in my "Advaced" textarea box in Services -> DNS forwarder:
May 16 18:44:28 fw php: /services_dnsmasq.php: dnsmasq command: /usr/local/sbin/dnsmasq –all-servers --rebind-localhost-ok --stop-dns-rebind --address=/test.testdomain.com/192.168.222.111--dns-forward-max=5000 --cache-size=10000 --local-ttl=1
-
Try this fix:
https://github.com/pfsense/pfsense/commit/41567e0639d1e7541e2dbf249e3e569f017e984e