FreeBSD 11 on DigitalOcean with a side of cloudinit
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:
DNS=yes
Yup, that simple.
Now, you can go to /etc/resolv.conf and use whatever you like. By default, DigitalOcean uses the following:
nameserver 8.8.8.8
nameserver 8.8.4.4
And just to make sure my referral link is clear, it's https://m.do.co/c/66c19beaed51 :)