[Dnsmasq-discuss] Dnsmasq reading /etc/resolv.conf with in it

Simon Kelley simon at thekelleys.org.uk
Fri Dec 20 18:32:54 GMT 2019

On 20/12/2019 16:24, Kasper Grubbe wrote:
> Hi,
> As I mentioned in my previous email I was looking into loops with
> Dnsmasq, and I noticed something interesting when it booted:
>> Started DNS caching server..
>> Starting DNS caching server....
>> started, version 2.76 cachesize 150
>> compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6
> no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
>> using nameserver for domain consul
>> reading /etc/resolv.conf
>> using nameserver for domain consul
>> using nameserver
> This is because my resolv.conf looks like this:
> options timeout:2 attempts:5
> ; generated by /usr/sbin/dhclient-script
> search eu-west-1.compute.internal
> nameserver
> nameserver
> So this instructs Dnsmasq to talk to itself, but my question is, will it
> talk with itself, or will it simply ignore 

It should ignore it, and log the fact.

You don't seem to have that log message, so the strange configuration
you referred to in you previous message may be affecting this.


More information about the Dnsmasq-discuss mailing list