NetworkManager: How to set caching nameserver?

sean darcy seandarcy2 at gmail.com
Sun Jul 20 16:14:16 UTC 2008


Neal Becker wrote:
> sean darcy wrote:
> 
>> NM sets my nameserver based on the isp, which is _very_ slow. I've set
>> up a local caching nameserver which works well. But how do I tell NM to
>> use 127.0.0.1??
>>
>> I've set up dhclient.conf with a prepend statement. If I just run
>> dhclient that works, i.e. /etc/resolv.conf has the local nameserver. But
>> if I just start NM, it doesn't. It looks like NM tells /sbin/dhclient
>> not to use the .conf file.
>>
>> So now I manually edit the resolv.conf file. How can I configure NM to
>> use the local nameserver?
>>
>> sean
>>
> I wrote something on this before:
> http://nbecker.dyndns.org:8080/misc/local_caching_ns.pdf
> 
Actually, I had found that. That's where I got the idea for dhclient.conf.

But it no longer works on FC9. NM appears not to use dhclient-script, 
but it's own dhclient, that pays no attention to dhclient.conf.

Are you seeing something different?

sean




More information about the users mailing list