I need help using the file /etc/resolv.conf

What are nameserver, domain and search?

How can I prevent the file from resetting?

What is networkmanager?

I'm trying to set up a website

My version of Ubuntu Server is 16.04.1 LTS.

1 Answer 1


For general information about configuring the libc resolver, read the manpage resolv.conf(5). For Ubuntu-specific aspects, read the manpage resolvconf(8) and Stéphane Graber's blog post: https://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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