DigitalOcean uses cloudinit to configure your droplet. Somewhere between my 4th and 5th droplet deployment, cloudinit changed and my custom DNS settings were no longer persistent.

Easy fix.

Create /usr/local/etc/rc.conf.d/digitalocean.conf and place the following in the file:


Yup, that simple.

Now, you can go to /etc/resolv.conf and use whatever you like. By default, DigitalOcean uses the following:


And just to make sure my referral link is clear, it's :)