[Dnsmasq-discuss] dhcp requests not answered

Simon Kelley simon at thekelleys.org.uk
Tue Mar 7 20:38:26 GMT 2006


John Zbesko wrote:
> Recently, my ISP (Comcast cable) announced they were switching to
> dynamic DNS. So, I presume I could use dnsmasq on my Sun Ultra 1,
> running Debian, to serve DHCP requests and provide the DNS server
> address to my home network of Linux and Windows XP machines. I also use
> two Netgear gigabit switches to connect the Ultra in the basement with
> the PC's on the 1st and 2nd floors (and a wireless router for laptops
> with a static IP of 192.168.1.1)
> 
> My DHCP server works fine. However, dnsmasq does not offer addresses, no
> matter what options I try in dnsmasq.conf.
> 
> I believe the operative lines in dnsmasq.conf are:
> 
> domain-needed
> bogus-priv
> filterwin2k
> listen-address=192.168.1.251,127.0.0.1 #Ultra 1 server static IP facing
> home network
> dhcp-range=192.168.1.2,192.168.1.254,255.255.255.0,infinite
> 
> dhcp-host=00:02:44:ab:da:fb,Zgate,192.168.1.254,infinite
> dhcp-host=00:50:8d:d7:ad:66,Zamd64,192.168.1.247,infinite
> dhcp-host=00:e0:7d:f2:7c:91,compaz,192.168.1.252,infinite
> dhcp-host=00:02:a5:68:82:cf,TOFU,192.168.1.248,infinite
> dhcp-host=00:09:5b:65:00:a8,emachine,192.168.1.249,infinite
> 
> #These are the various x86 PC's in my household.
> 
> dhcp-option=19,0           # option ip-forwarding off
> dhcp-option=44,0.0.0.0     # set netbios-over-TCP/IP nameserver(s) aka
> WINS server(s)
> dhcp-option=45,0.0.0.0     # netbios datagram distribution server
> dhcp-option=46,8           # netbios node type
> dhcp-option=47             # empty netbios scope.
> 
> log-queries
> 
> My syslog shows this when dnsmasq is started, but no sign of requests
> from any other PC's on my network:
> 
> Mar  2 02:03:11 localhost dnsmasq[6065]: started, version 2.22 cachesize
> 150
> Mar  2 02:03:11 localhost dnsmasq[6065]: DHCP, IP range 192.168.1.2 --
> 192.168.1.254, lease time infinite
> Mar  2 02:03:11 localhost dnsmasq[6065]: read /etc/hosts - 14 addresses
> Mar  2 02:03:11 localhost dnsmasq[6065]: reading /etc/resolv.conf
> Mar  2 02:03:11 localhost dnsmasq[6065]: using nameserver
> 68.87.77.130#53
> Mar  2 02:03:11 localhost dnsmasq[6065]: using nameserver
> 68.87.72.130#53
> Mar  2 02:06:08 localhost dnsmasq[6065]: exiting on receipt of SIGTERM
> 
> 
> Where does "log-queries" send its output to? The "exiting" results from
> me stopping dnsmasq so I can restart the dhcp server-and send this
> email. Any help is greatly appreciated.
> 

Check the entry in the FAQ about iptables/firewall rules. That's prime
suspect in this case. The output of log-queries is logged as facility
"daemon" and level "debug". The destination of that depends on how you
have syslogd configured.

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list