Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

I want to manually set my resolv.conf and have Ubuntu not automatically change it later.

How do I get Ubuntu to stop modifying resolv.conf?

I have already set "Automatic (DHCP) addresses only" in the network settings here:

alt text

share|improve this question

marked as duplicate by soandos, gronostaj, Sathya Jul 1 '13 at 12:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

3 Answers

apt-get remove resolvconf?

share|improve this answer
    
My question could have been phrased better. I needed to set the priority of DNS servers, so editing dhclient's config file was better. –  Neil May 17 '10 at 20:37
    
Removing resolvconf forces removal of ubuntu-minimal, which provides a lot of other barebones utilities, which are recommended to not be removed. –  Cerin Oct 14 '12 at 23:57
add comment

If you are running a recent version of Ubuntu (I run 12.04 at this time), you will notice that /etc/resolv.conf is a symlink. To stop automatic updates to the file, remove the symlink and replace it with a file with the desired static contents.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.