Update the etc/host file to fix the DNS resolution if you are using HOSTNAME as the fully qualified domain name instead of the IP address.