Hosts File

Is your /etc/hosts file healthy?

Small things have a big impact. Resolving issues with localhost or system hostname. Here is how to check your /etc/hosts file.

Summary

The /etc/hosts file is one of the few files you will always find on a Linux system. It stores the ‘hosts’ database, and can be used to resolve between IP addresses and hostnames. Although the file is very simple structured, it is still common to see minor issues with name resolving on systems. Guess what, your /etc/hosts file might be causing more trouble than you think. A regular check up won’t hurt.