/etc/resolv.conf overwritten in Ubuntu server 10.04

I tried to solve this problem by adding prepend domain-name-servers xxx.xxx.xxx.xx as suggested in many forums.

However, this solution didn’t work for me.

I solved the problem by editing /etc/dhcp3/dhclient.conf and commenting all lines involving the directive “request” (no prepend necessary):

#request subnet-mask, broadcast-address, time-offset, routers,

#       domain-name, domain-name-servers, domain-search, host-name,
#       netbios-name-servers, netbios-scope, interface-mtu,
#       rfc3442-classless-static-routes, ntp-servers;

I love Ubuntu, but it’s irritating that they keep breaking previously working stuff…

prepend domain-name-servers
prepend domain-name-servers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s