I'm getting these messages in the logs:
Thu May 2 01:46:32 2019 daemon.crit dnsmasq: illegal repeated keyword at line 7 of /var/etc/dnsmasq.conf.cfg01411c
Thu May 2 01:46:32 2019 daemon.crit dnsmasq: FAILED to start up
when I start dnsmasq with /etc/init.d/dnsmasq start
The /var/etc/dnsmasq.conf.cfg01411c file is below.
Where is the repeated keyword???
# auto-generated config file from /etc/config/dhcp conf-file=/etc/dnsmasq.conf localise-queries read-ethers enable-ubus expand-hosts port=5053 #Either this is line 7 dhcp-leasefile=/tmp/dhcp.leases # or this is line 7 resolv-file=/tmp/resolv.conf.auto dhcp-broadcast=tag:needs-broadcast addn-hosts=/tmp/hosts conf-dir=/tmp/dnsmasq.d user=dnsmasq group=dnsmasq
But if I run the command manually,
dnsmasq -a 192.168.0.1 -C /etc/dnsmasq.conf -d -F 192.168.0.100,192.168.0.150
dnsmasq had no problems starting up.
The dnsmasq I have is:
dnsmasq: started, version 2.80 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify dumpfile
And no, this is not compiled by me, but downloaded using the standard way from the OpenWRT LuCI GUI.