Here are some useful information about DNS and name services on Centos 7/RedHat 7.
DNS related files and directories:
Local DNS resolution static mappings:
/etc/hosts-local
Local host’s assigned name:
/etc/hostname
DNS configuration file:
/etc/resolv.conf
Commands:
hostname
host
geteng hosts
hostnamectl