DeDiHosting – Blog.samp-online.com

15. Juli 2009

/etc/resolv.conf gets overwritten

Filed under: Linux — DeDi @ 19:14
backup dhclient.conf
cp /etc/dhcp3/dhclient.conf /etc/dhcp3/dhclient.conf.bak
 
vim /etc/dhcp3/dhclient.conf
#prepend domain-name-servers 127.0.0.1;
Remove the comment (#) and change it to:
prepend domain-name-servers 213.133.98.98 213.133.99.99 213.133.100.100;
 
look for the domain-name-servers, and remove it:
prepend domain-name-servers your.preferred.dns.server;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name,
netbios-name-servers, netbios-scope;
#require subnet-mask, domain-name-servers;
 
Restart your network
/etc/init.d/networking restart

source

Powered by WordPress

SEO Powered by Platinum SEO from Techblissonline