[Dnsmasq-discuss] resolving on dnsmasq box itself?

Jima jima at beer.tclug.org
Tue Jun 12 17:08:49 BST 2007

On Tue, 12 Jun 2007, Bart Vandewoestyne wrote:
> What is the clean solution to be able to ping and do nslookups
> for the host 'forsythe'?
> I also thought of adding a line
> prepend domain-name-servers;
> to my /etc/dhcp3/dhclient.conf so that my /etc/resolv.conf has an extra
> line
> nameserver
> but I don't think this is the proper way to do it... it looks like I'm putting
> dnsmasq in a loop this way...

  I don't know when the feature got implemented, but at least on my 2.39 
box, I get this when I start up:

dnsmasq[25415]: using nameserver aa.bb.ccc.2#53
dnsmasq[25415]: using nameserver aa.bb.ccc.1#53
dnsmasq[25415]: ignoring nameserver - local interface

  My resolv.conf contains (among other things):

nameserver aa.bb.ccc.1
nameserver aa.bb.ccc.2

  dnsmasq is apparently smart enough to not ask itself for information. ;-)


More information about the Dnsmasq-discuss mailing list