stopping my isp from updating my resolv.conf
bjkeefe
ulist at gs1.ubuntuforums.org
Thu Sep 28 00:27:32 UTC 2006
mmealman wrote:
> Try editing your /etc/dhcp3/dhclient.conf file and change the
request
> field to not request domain-name-servers.
Dennis K wrote:
....and add some prepend statements for your own dns servers too :)
Thanks to BrownR, at
http://www.ubuntuforums.org/showpost.php?p=1410184&postcount=3
and mmealman and Dennis K in this thread, I have (mostly) resolved a
similar problem on my system. On mine, resolv.conf was being
overwritten upon reboot. I did this:
o removed the domain-name-servers entry from the request line in
dhclient.conf
o uncommented the prepend line in dhclient.conf, deleted the 127.0.0.1
entry, and added two DNS server addresses on this line, separated by a
comma. (These are the nameservers used by my ISP, so there's no point
in reproducing them here.) Note that the trailing semi-colon probably
shouldn't be deleted. (Gurus: is that right?)
Upon reboot, resolv.conf is *almost* what I want.
The last issue: the line "search domain.invalid" still gets written
into the system-created resolv.conf after reboot. Any suggestions?
Thanks!
--
bjkeefe
More information about the ubuntu-users
mailing list