Offer name on dhcp request (to set dns) on Centos 7 Edit Network Script Edit /etc/sysconfig/network-scripts/ifcfg-XXXXX Append: DHCP_HOSTNAME="$(hostname -s)"