[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resolvconf and dnsmasq



I have one interface(public) which gets configured by dhcp from my isp and an interface(lan) which has static conf in /etc/network/interfaces. It seems the problem was that resolvconf doesn't write out information from /etc/resolvconf/resolv.conf.d/tail to /var/run/dnsmasq/resolv.conf. The information provided by my isp is being writing to the file(I didn't have that interface up previously) I have an alternative nameserver (for when me isp's nameservers are down) which was listed in the old resolv.conf and it wasn't available to dnsmasq. To fix the solution I added that nameserver to the static configuration even though it is connect to the private network only. I still don't understand why the information in /etc/resolvconf/resolv.conf.d/tail is not written to /var/run/dnsmasq/resolv.conf even though it shows up in /etc/resolv.conf?

Thomas Hood wrote:

On Sun, 10 Apr 2005 02:40:05 +0200, Colin Ingram wrote:
I'm running sarge and have just installed dnsmasq and resolvconf inorder to cache dns lookups for my local network. Everything seems works fine if I start dnsmasq from the command line(reads /etc/resolv.conf by default) but if I use the init.d script which reads the /var/run/dnsmasq/resolv.conf it does not work. It seems that the resolvconf update script for dnsmasq is not actually writing out the dynamically created resolv.conf to /var/run/dnsmasq/resolv.conf. I'm not sure how to fix this behavior. Thanks for suggestions.


What program is writing information into /etc/resolv.conf?

If you don't know that then please say which programs you use
to configure your network interface.




Reply to: