Question
Can i change the DNS in /etc/resolv.conf?
Hi Guys,
Previously on my 123-reg vps I configured OpenDNS as my resolver and I want to use OpenDNS on my DigitalOcean server. The file says that I should not modify by hand what do you recommend.
I have to use OpenDNS dns lookup.
Thanks.
Ersin.
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.
×
I have never been able to figure this out either
I have a script that runs on new droplet.
Seems to work after reboot. But at some point gets lost. Right now the 127.0.0.1 address is all I am seeing in my resolv.conf. the interface file has my 127.0.0.1 4.2.2.2 only.
I may have had to manually enter it in the resolv.conf later. Can’t remember.