[Dnsmasq-discuss] About 127.0.0.1 in resolv.conf [WAS: Web hang
ups after repeated access to one site - dnsmasq related?]
hugoheden at gmail.com
Tue Feb 17 20:57:47 GMT 2009
On Tue, Feb 17, 2009 at 9:52 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> Hugo Heden wrote:
>> Good day all,
>> On Fri, Feb 13, 2009 at 3:55 PM, Chris G <cl at isbd.net> wrote:
>>> My /etc/dnsmasq.conf file has only the following lines (apart from
>>> /etc/resolv.conf is:-
>>> nameserver 127.0.0.1
>>> nameserver 184.108.40.206
>>> nameserver 220.127.116.11
>>> That's about it, pretty standard dnsmaq installation.
>> How is this supposed to work? Does not dnsmasq (by default) use the
>> nameserver-entries in /etc/resolv.conf as "upstream" nameservers, to
>> forward ("non-local") dns-queries to? But what happens if dnsmasq then
>> forwards a ("non-local") dns-query to 127.0.0.1, i.e to itself? Could
>> that not result in some kind of infinite loop weirdness?
> dnsmasq knows that it's listening on 127.0.0.1 so it's clever enough not to
> forward requests there. (Check the logs, it will even tell you what it is
Ah. Thank you very much, Simon. This makes things even easier to set up then.
More information about the Dnsmasq-discuss