Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

nameserver 127.0.0.1
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.