Hi,
I’m using the CoreOS image for my droplet. Is there any way to change which DNS name server is used? I would actually like to use consul.io for service lookup and have it fallback to the Google DNS servers.
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.
On CoreOS,
/etc/resolve.conf
is managed by systemd. One way to append to it would be to use thecloud-config
metadata to add a new systemd unit file. Something like: