F9 nfs, rpcbind, NetworkManager

Gerry Reno greno at verizon.net
Tue May 6 14:59:46 UTC 2008


Dan Williams wrote:
>
> Since the DNS info is not necessarily global to the entire machine, but
> can be per-device, you probably want to define DNS servers and search
> domains directly in the ifcfg files as is done for PPP connections
> already.  Updated versions of NetworkManager will place a note
> in /etc/resolv.conf pointing this out if it can't find any DNS servers.
>
> The problem is that resolv.conf is transient.  It's created from a
> _composite_ of the DNS information from multiple connections.  For
> example, if I'm on a VPN, I need the nameservers for both my normal
> (eth0) connection and the VPN connection, but the VPN may only resolve
> names for the private network, not the internet as a whole.  But I
> certainly don't want the VPN nameserver listed in resolv.conf when I'm
> not connected to the VPN.  That sort of thing.
>
> Dan
>
>   
Well, I would think in this scenario of supporting per-device name 
resolution that /etc/resolv.conf would act as a 'global' db and the 
/etc/sysconfig/network-scripts/ifcfg* files would be the per-device db.  
But NM should not just erase your /etc/resolv.conf.  That's just wrong.  
You fill in all the info it its gui and then save and then sometime 
later at some random time it just decides its going to erase 
/etc/resolv.conf.  Very bad.  Besides, I have many tools/scripts that 
work against /etc/resolv.conf and of course I would have to rewrite 
these if I wanted them to support per-device dns.  But I shouldn't have 
to if I only want a global dns nameserver db in /etc/resolv.conf.

Regards,
Gerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080506/67264295/attachment.htm>


More information about the fedora-devel-list mailing list