Jesse Keating wrote:
> On 06/20/2012 09:57 AM, Adam Williamson wrote:
>> On Wed, 2012-06-20 at 12:21 -0400, Bill Nottingham wrote:
>>> Simo Sorce (simo(a)redhat.com) said:
>>>> Of course for this to work properly we need some level of integration
>>>> between Network Manager and the DNS caching server so that the dynamic
>>>> configurations can be pushed in/out when the related networks come
>>> man NetworkManager.conf:
>>> dns=plugin1,plugin2, ...
>>> List DNS plugin names separated by ','. DNS plugins
>>> provide local caching nameserver functionality (which
>>> speeds up DNS queries) and to push DNS data to applications
>>> that use it.
>>> Available plugins:
>>> this plugin uses dnsmasq to provide local caching
>>> name‐ server functionality.
>>> (Note: haven't tried this.)
>> See also:
>> Been there since 2010.
> So I just gave this a try. Already had dnsmasq installed so I just
> edited the config file and restarted the NetworkManager service. Then
> connected to my VPN.
> It. Just. Works. Amazing! Not only does it just work for resolution,
> but it also works for multiple search domains. I can ping <name> and
> it'll try <name>.localdomain and I can also do
> it'll find it at <name>.<subname>.workdomain. A+
Setup? Do I need to setup dnsmasq to start @boot, or will NM start it?
I just tried it. Install dnsmasq, configure to start @boot. Add dns=dnsmasq.
/etc/resolv.conf does NOT say 127.0.0.1 as I would expect.