[Novalug] dnsmasq question

Bryan J. Smith b.j.smith at ieee.org
Mon Jan 4 23:54:34 EST 2010


The "Server" line is not causing your issues.  It's related to
DNS.  Your issues are with DHCP.  It could be your host
firewall on the DNSMasq server itself.

Otherwise, DHCP is often off by default in DNSMasq, for safety
reasons.  I'll look through your config to confirm.

I recommended DNSMasq largely for by DNS and avoiding the
hacking of BIND zones (which are wholly unnecessary).  Don't
let the "old dogs" push ISC BIND on you, you don't need it for
a subnet or two.

For DHCP, you can use a number of services.  I still use ISC DHCP
because it allows a lot.  But DNSMasq is more than sufficient, if you
configure it correctly.  It's necessary you understand what the various
settings in the dnsmasq.conf -- correctly -- when you configure it.

Otherwise, if you have a NAT/border device (i.e., "firewall") that can
provide advanced DHCP information (e.g., IPCop, Smoothwall, etc...),
then you can put that information in a nice web-based GUI instead.

Again, check your host firewall.  It may not be letting the two ports
required for DHCP through.  Also remember that UDP is involved, not
just TCP.

The man page answers all of your questions ...  (quick Google here ;)
  http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html  



----- Original Message ----
From: Megan Larko <larkoc at iges.org>

Thanks for the replies.   I appreciate the comments.   I can leave out the server=4.2.2.1 line.  It is in the /etc/resolv.conf anyway.    This is actually a private network on the 172.16.x.y network.   I am very curious as to why I do not receive a dhcp offer for the "oss4" system, nor do I see any messages in /var/log/messages or /var/log/secure.   I turned on the logging for dnsmasq, but I don't know into which file the info would go.  If I have tftp enabled in dnsmasq, would I see it in a "ps" like vsftpd or ftpd or does tftp only launch when requested?  I do not see any "tftp" processes on the server analogous to ftp.   But  I guess if I do not even have a dhcp offer, then I really have no functioning net connection at all (between dhcp client and dnsmasq server box on same switch).

First step...where are the dnsmasq messages?



More information about the Novalug mailing list