[Dnsmasq-discuss] Enhancement idea: localhost DNS

Wayne Sherman wsherman at gmail.com
Fri Jun 6 01:38:11 BST 2008


Simon Kelley wrote:
> Bill C. Riemers wrote:
>> Hello,
>>
>> I would like to enhance dnsmasq to work as a localhost DNS...However,
>> when I run vpnc, /etc/resolv.conf is redirected...
> ...
> You might be able to avoid changing the scripts if there's some way to 
> configure the distros netconf system with a static nameserver which 
> comes first in resolv.conf. Then you can end up with
> 
> nameserver 127.0.0.1
> nameserver <dynamic nameserver from DHCP, vpnc, etc>

FWIW, this looks like the technique recommended here:

   http://www.gentoo.org/doc/en/vpnc-howto.xml

Regards,

Wayne



More information about the Dnsmasq-discuss mailing list