A not so nice work-around is to edit /sbin/dhclient-script and comment out the line
mv -f $new_resolv_conf /etc/resolv.conf then restart networking. Your settings, if any, from /etc/dhcp3/dhclient.conf will now appear in resolv.conf and dhclient will stop overwriting it. /sbin/dhclient-script appears to be a duplicate of /etc/dhcp3/dhclient- script. Can anyone suggest why there are two copies of this script? This is just a work-around. The real problem appears to be in dhclient and it ignoring the prepend domain-name-servers and supersede domain- name-servers some time after a restart. When first initialized, dhclient will put the correct information into resolv.conf, but later, some 10-15 mintues or so, dhclient looks at your router/cable modem and clobbers resolv.conf with the information for it. -- resolv.conf overwritten on dhcp renew when using NetworkManager vpn plugins https://bugs.launchpad.net/bugs/126592 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs