[Dnsmasq-discuss] dnsmasq stops forwarding queries

Holger Mauermann holger at mauermann.org
Mon May 8 20:43:35 BST 2006


Simon Kelley wrote:
> Please could you send me all the dnsmasq-related log entries, and a copy
> of dnsmasq.conf?

There are no more log entries than

started, version 2.27 cachesize 150
compile time options: IPv6 GNU-getopt RTNetlink ISC-leasefile no-DBus
no-I18N
DHCP, IP range 10.0.0.100 -- 10.0.0.254, lease time 12h
using local addresses only for domain lan
read /etc/hosts - 2 addresses
read /etc/myhosts - 1 addresses
failed to read /etc/ethers:No such file or directory
reading /etc/resolv.conf
using nameserver xxx.xxx.xxx.xxx#53
using nameserver xxx.xxx.xxx.xxx#53
using local addresses only for domain lan

after startup and

query[A] xxx from ...
forwarded xxx to ...
reply xxx is ...

if it works and later

query[A] xxx from ...
query[A] xxx.lan from ...
config xxx.lan is <NXDOMAIN>-IPv4

if it doesn't work. After touching /etc/resolv.conf it shows

reading /etc/resolv.conf
using nameserver xxx.xxx.xxx.xxx#53
using nameserver xxx.xxx.xxx.xxx#53
using local addresses only for domain lan


The content of dnmasq.conf:

local=/lan/
domain=lan
domain-needed
bogus-priv
filterwin2k
localise-queries
expand-hosts
addn-hosts=/etc/myhosts
dhcp-authoritative
dhcp-range=10.0.0.100,10.0.0.254,255.255.255.0,12h
dhcp-leasefile=/tmp/dhcp.leases
read-ethers


Can this problem happen because the forwarders are reachable only over a
sometimes lossy wireless link? Does dnsmasq "forget" forever its
forwarders when there is a timeout because of packet loss?

Thanks.
Holger



More information about the Dnsmasq-discuss mailing list