Try
sudo vim /etc/dhcp3/dhclient.conf
Edit the following two lines to read as
supersede domain-name “mydomain.com”;
prepend domain-name-servers 192.168.1.1
Wait trying to test this
Also if not above you can try to add /etc/dhclient-enter-hooks that
contains the following:-
make_resolv_conf( ) {
logger -t "dhclient-enter-hooks" "Doing nothing to /etc/resolv.conf"
}
Last edited by jspsandhu; 07-14-2009 at 08:44 AM.
Reason: Unsure about the distro shall get back
|