I'm attempting to set up FreeIPA on a Centos KVM guest and one of the prerequisites is to make sure static hostname is set and that the hostname resolves to guest's IP address. My /etc/hosts file is as follows:
27.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.122.134 ipaserver.example.com ipaserver
After issuing dig +short ipaserver.example.com
nothing is returned. ping
is able to resolve the hostname and I checked /etc/nsswitch.conf as well as /etc/resolv.conf and they look appropriate. Any help or guidance would be greatly appreciated.