[Dnsmasq-discuss] What's this error in syslog mean?

Chris Green cl at isbd.net
Sat Sep 4 19:16:44 UTC 2021


On Sat, Sep 04, 2021 at 07:09:30PM +0200, john doe wrote:
> On 9/4/2021 6:14 PM, Chris Green wrote:
> > When [re]starting dnsmasq I see the following in syslog:-
> > 
> >      Sep  4 17:01:08 dns systemd[1]: dnsmasq.service: Succeeded.
> > Sep 4 17:01:08 dns systemd[1]: Stopped dnsmasq - A lightweight DHCP and 
> caching DNS server. 
> > Sep 4 17:01:08 dns systemd[1]: Starting dnsmasq - A lightweight DHCP 
> and caching DNS server... 
> >      Sep  4 17:01:08 dns dnsmasq[18982]: dnsmasq: syntax check OK.
> >      Sep  4 17:01:08 dns dnsmasq[18991]: started, version 2.80 cachesize 150
> >      Sep  4 17:01:08 dns dnsmasq[18991]: DNS service limited to local subnets
> > Sep 4 17:01:08 dns dnsmasq[18991]: compile time options: IPv6 GNU-getopt 
> DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect 
> inotify dumpfile 
> > Sep 4 17:01:08 dns dnsmasq-dhcp[18991]: DHCP, IP range 192.168.1.80 -- 
> 192.168.1.127, lease time 12h 
> >      Sep  4 17:01:08 dns dnsmasq[18991]: using local addresses only for domain zbmc.eu
> >      Sep  4 17:01:08 dns dnsmasq[18991]: reading /run/dnsmasq/resolv.conf
> >      Sep  4 17:01:08 dns dnsmasq[18991]: using local addresses only for domain zbmc.eu
> >      Sep  4 17:01:08 dns dnsmasq[18991]: ignoring nameserver 192.168.1.2 - local interface
> >      Sep  4 17:01:08 dns dnsmasq[18991]: using nameserver 1.1.1.1#53
> >      Sep  4 17:01:08 dns dnsmasq[18991]: using nameserver 212.159.13.49#53
> >      Sep  4 17:01:08 dns dnsmasq[18991]: read /etc/hosts - 12 addresses
> >      Sep  4 17:01:08 dns dnsmasq[18992]: Too few arguments.
> > Sep 4 17:01:08 dns systemd[1]: Started dnsmasq - A lightweight DHCP and 
> caching DNS server. 
> >      Sep  4 17:02:17 dns dnsmasq[18991]: read /etc/hosts - 12 addresses
> >      Sep  4 17:05:05 dns dnsmasq-dhcp[18991]: DHCPREQUEST(eth0) 192.168.1.95 cc:ab:2c:39:69:2b
> > Sep 4 17:05:05 dns dnsmasq-dhcp[18991]: DHCPACK(eth0) 192.168.1.95 cc:ab:2c:39:69:2b 
> benYouview 
> > 
> > What does that error from process 18992 mean "Too few arguments."?  Does it indicate
> > any sort of problem?
> > 
> 
> Would be better if you could increase the log verbosity to troubleshoot
> this...
> 
Well, I've turned on the extra logging and it looks much the same:-

    Sep  4 20:12:55 dns systemd[1]: dnsmasq.service: Succeeded.
    Sep  4 20:12:55 dns systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
    Sep  4 20:12:55 dns systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
    Sep  4 20:12:55 dns dnsmasq[1735]: dnsmasq: syntax check OK.
    Sep  4 20:12:56 dns dnsmasq[1744]: started, version 2.80 cachesize 150
    Sep  4 20:12:56 dns dnsmasq[1744]: DNS service limited to local subnets
    Sep  4 20:12:56 dns dnsmasq[1744]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
    Sep  4 20:12:56 dns dnsmasq-dhcp[1744]: DHCP, IP range 192.168.1.80 -- 192.168.1.127, lease time 12h
    Sep  4 20:12:56 dns dnsmasq[1744]: using local addresses only for domain zbmc.eu
    Sep  4 20:12:56 dns dnsmasq[1744]: reading /run/dnsmasq/resolv.conf
    Sep  4 20:12:56 dns dnsmasq[1744]: using local addresses only for domain zbmc.eu
    Sep  4 20:12:56 dns dnsmasq[1744]: ignoring nameserver 192.168.1.2 - local interface
    Sep  4 20:12:56 dns dnsmasq[1744]: using nameserver 1.1.1.1#53
    Sep  4 20:12:56 dns dnsmasq[1744]: using nameserver 212.159.13.49#53
    Sep  4 20:12:56 dns dnsmasq[1744]: read /etc/hosts - 12 addresses
    Sep  4 20:12:56 dns dnsmasq[1745]: Too few arguments.
    Sep  4 20:12:56 dns systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
    Sep  4 20:13:21 dns dnsmasq[1744]: 1 192.168.1.96/1424 query[AAAA] graph.facebook.com from 192.168.1.96
    Sep  4 20:13:21 dns dnsmasq[1744]: 1 192.168.1.96/1424 forwarded graph.facebook.com to 1.1.1.1
    Sep  4 20:13:21 dns dnsmasq[1744]: 1 192.168.1.96/1424 forwarded graph.facebook.com to 212.159.13.49

This is with log-queries=extra and log-dhcp set.

Is there anything else I can do to get more diagnostics?

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list