NetworkManager + opendns?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Dec 18 17:47:23 UTC 2007


Neal Becker wrote:
> Any suggestion on configuring so that NetworkManager with dhcp will work
> with opendns?  What I'd like to happen is either:
> 
> 1) preferred.  A local caching NS that forwards my internal net lookups to
> my internal DNS servers when I'm at work, and forwards others to opendns.
> 
> 2) No local caching server, but again forward internal lookups to internal
> DNS servers (maybe learned from dhcp), and forwards others to opendns.
> 
I have not looked into the details on NetworkManager on Fedora, but
I suspect that /etc/resolv.conf is one of the files it manages.
Combined with PEERDNS=no for the interface, you will always end up
with the settings for the selected profile. I believe you can also
include other files in your profile besides the ones included by
default. (/etc/sysconfig/networking/profiles/<profile name>)

So if you have a caching name server, you could probably change its
config file depending on the profile you are using. You may have to
restart it after the change as well. I do not know if NetworkManager
supports this.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071218/a884e59a/attachment-0001.bin 


More information about the users mailing list