View Single Post

  #4 (permalink)  
Old 11-30-2004
buck
 
Posts: n/a
Default Re: some dnsmasq problems

On 29 Nov 2004 23:55:39 +0100, Matteo Corti <corti@inf.ethz.ch> wrote:

>On 2004-11-29, Tauno Voipio <tauno.voipio@iki.fi.NOSPAM.invalid> wrote:
>> Matteo Corti wrote:

Content snipped.

The computer on which dnsmasq runs should have a resolv.conf
containing "nameserver 127.0.0.1" (and NOTHING ELSE) - assuming you
want it to cache for itself as well as other computers on your LAN.

Every other computer should have a resolv.conf containing the ip of
the dnsmasq machine in its "nameserver" line

I bet your DHCP is overwriting your resolv.conf file(s).

"ALL" programs do resolution based on resolv.conf and host.conf, so
unless you've done something stupid like filling up hosts with
127.0.0.1 entries your setup should work.

You also need
no--resolv
server=ns.ip.goes.here
server=ns2.ip.goes.here

in dnsmasq.conf

You might want to turn on log-queries and see if the computer where
dnsmasq is running is actually getting DNS requests and replying to
them.

If none of that helps, subscribe the mailing list and get help from
Simon.

gypsy
Reply With Quote