Investigating the client log, we can see that the client's hostname was identified as the default -
localhost.localdomain. From the
cacheserver log, this client IP was identified as
0.0.0.0 because the cache server was unable to resolve the client's fully qualified domain name (FQDN) or hostname correctly from the client's join request. This is caused by a failure on the client side to resolve its own hostname by either DNS or local hosts file lookup.
The quick solution is to add the FQDN-to-IP-Addresses mapping entry into the client's local hosts file.
- The location of the hosts file:
Linux
/etc/hosts
Windows
SystemDrive:\Windows\System32\Drivers\etc\hosts
- The hosts file should include the following information:
- The IP address, fully qualified domain name, and the hostname of the host.
- The Loopback IP address 127.0.0.1, the fully qualified domain name localhost.localdomain, and the host name localhost.
For example:
#IP address Fully Qualified Domain Name Short Name
192.168.0.6 hostname1.example.com hostname1
127.0.0.1 localhost.localdomain localhost