Re: some dnsmasq problems
From: Peter T. Breuer (ptb_at_lab.it.uc3m.es)
Date: Tue, 30 Nov 2004 04:42:20 +0100
buck <firstname.lastname@example.org> wrote:
> On 29 Nov 2004 23:55:39 +0100, Matteo Corti <email@example.com> wrote:
> >On 2004-11-29, Tauno Voipio <firstname.lastname@example.org.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.
Eh? How would it know who to use as dns forwarder if that were the case?
No - it can have all it likes, PLUS 127.0.0.1. Dnsmasq reads
resolv.conf to figure out the forwarders.
Read the IP addresses of the upstream nameservers from
<file>, instead of /etc/resolv.conf.
> 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).