default DNS caching name server on Fedora ?

Neal Becker ndbecker2 at gmail.com
Fri Jul 6 15:40:32 UTC 2012


Neal Becker wrote:

> 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 at 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
>>>>> up/down.
>>>>>
>>>>> Discuss.
>>>>
>>>> man NetworkManager.conf:
>>>>
>>>> ...
>>>>         dns=plugin1,plugin2, ...
>>>>                List DNS plugin names separated by ','. DNS plugins are used
>>>>                to
>>>>                provide  local caching nameserver functionality (which
>>>>                speeds up DNS queries) and to push DNS data to applications
>>>>                that use it.
>>>>
>>>>                Available plugins:
>>>>
>>>>                dnsmasq
>>>>                       this plugin uses dnsmasq to provide local caching
>>>>                       name‐ server functionality.
>>>> ...
>>>>
>>>> (Note: haven't tried this.)
>>>
>>> See also:
>>>
>>> http://blogs.gnome.org/dcbw/2010/09/23/dont-try-to-run-honey/
>>>
>>> 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 <name>.<subname> and
>> 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.



More information about the devel mailing list