I found this bug (and bug https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/72341) while researching a similar problem. It turned out that dhclient was modifying resolv.conf every time my ISP connection was established. I fixed this by modifying /etc/dhcp3/dhclient as follows (removing the domain and
host names from the "request" line):
Before this change I could modify the domain name in network manager and see the changes in /etc/resolv.conf
along with a comment saying that the file was modified by network manager (DO NOT EDIT!!!!). However when networking was started or restarted (i.e. /etc/init.d/networking restart or system boot) then resolv.conf would be overwritten,(including the comment line). After the change shown above resolv.conf is not modified.
I found this bug (and bug https:/ /bugs.launchpad .net/ubuntu/ +source/ gnome-system- tools/+ bug/72341) while researching a similar problem. It turned out that dhclient was modifying resolv.conf every time my ISP connection was established. I fixed this by modifying /etc/dhcp3/dhclient as follows (removing the domain and
host names from the "request" line):
=== modified file 'dhcp3/ dhclient. conf' dhclient. conf 2008-01-14 02:03:39 +0000 dhclient. conf 2008-01-14 17:36:02 +0000 name-servers, netbios-scope; name-servers;
--- a/dhcp3/
+++ b/dhcp3/
@@ -16,9 +16,8 @@
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
-request subnet-mask, broadcast-address, time-offset, routers,
- domain-name, host-name,
- netbios-
+request subnet-mask, broadcast-address, time-offset, routers;
+
#require subnet-mask, domain-
timeout 30;
#retry 60;
Before this change I could modify the domain name in network manager and see the changes in /etc/resolv.conf d/networking restart or system boot) then resolv.conf would be overwritten, (including the comment line). After the change shown above resolv.conf is not modified.
along with a comment saying that the file was modified by network manager (DO NOT EDIT!!!!). However when networking was started or restarted (i.e. /etc/init.
Hope this helps