[H-GEN] dnsmasq and dhclient

Troy Piggins troy at piggo.com
Tue May 29 00:19:21 EDT 2007


I'm running dnsmasq on the gateway of a small network of around
12 machines.  The machine running dnsmasq also runs dhclient to
obtain it's dynamic IP address from our ISP.

For dnsmasq to work, from what I understand in the docs, I have
added 'nameserver 127.0.0.1' to /etc/resolv.conf

Trouble is, every so often dhclient seems to overwrite
/etc/resolv.conf with the ISP's nameservers and the localhost
entry gets wiped.

Any way to get it to stay permanently?  Does the debian/ubuntu
package 'resolvconf' help this?

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO




More information about the General mailing list