Bugzilla – Bug 128518
NetworkManager, named and /etc/resolv.conf
Last modified: 2005-12-05 20:10:32 UTC
I usually run bind (named) locally without any forwarders, so my /etc/resolv.conf is just 'nameserver 127.0.0.1'. Unlike dhcp after i disabled it, NetworkManager always overwrites the contents of /etc/resolv.conf (i'm on version 0.4.1cvs20051004-3). There should be a way of telling NM not to overwrite that file and named should be notified whenever there's an interface/IP change too.
I agree with the latter point -- NM should not overwrite resolv.conf if dhcp did not provide any nameservers. But adding the named support is a lot of code for a very small minority of users who have their own local name server.
I thought there was already some code there in NetworkManager/src/named-manager. Anyway, i would be happy if i can configure NM to not overwrite that file. Thanks.
There is -- I did not mean it was a lot of code to write, but that (since we aren't using the external named) it is a lot of overhead. And right now it is a compile-time decision whether the external named is used, anyhow. Anyhow, I'll fix the resolv.conf thing.
I started on a fix for this and it is in these packages: http://primates.ximian.com/~rml/networkmanager/RPMS/i386/ Any luck?
This should be fixed in later releases. 20051201 is the newest. Reopen if not.