Report this

What is the reason for this report?

How to avoid that my /etc/resolv.conf get overwriting

Posted on January 3, 2018

Always I change my DNS in /etc/resolv.conf it change to :

nameserver 67.207.67.3
nameserver 67.207.67.2

What can I do ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

There should be a warning telling you not to edit resolv.conf. Edit /etc/network/interfaces instead.

Or edit /etc/resolvconf/resolveconf.d/base instead. This is used to build resolv.conf

I have knocked out the nameserver lines from /etc/network/interface.d files too, this has not worked I have edited /etc/resolvconf/resolv.conf.d/base < this has no impact

Some [DO] insight would be very helful

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.