Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

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

Not the answer you're looking for? Browse other questions tagged .