Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I have set up my own bind9 DNS server and put into my /etc/resolv.conf

domain mydomain.local

and put the same content into /etc/resolvconf/resolv.conf.d/head

still the dns fails once in a while and additional information (the ones from my hoster) are magically written into the etc/resolv.conf. Am I missing any service how manages this file and conflicts with bind9?

share|improve this question

If you're using DHCP, the DHCP server can tell you what resolvers to use. If you want to manually configure resolvers, I'd suggest manually configuring IP addresses as well. Otherwise, assuming the filesystem supports it, set the /etc/resolv.conf file immutable. (chattr +i on Linux.)

share|improve this answer
sure, I do not use any DHCP and even set, but I will try the immutable – mlaug Jan 20 '13 at 1:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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