If you’re using a linux host, you might find that your domain name is being overwritten on reboots, and trying to amend /etc/resolv.conf is similarly affected.

If this is happening to you, this should fix it on most Linuxes – definitely on Centos

Add this to /etc/dhcp/dhclient.conf, ensuring you use the correct interface name: