Unable to resolve host {hostname}: Name or service not known (Linux)

The “Unable to resolve host” on Linux systems, while using sudo or apt-get on Terminal or on headless configurations could be annoying. The fix for this kind of scenario is simple and involves the system hostname. Read More …

The /etc/hosts file

The hosts file is one of several system facilities that assists in addressing network nodes in a computer network. On Unix/Linux systems this configuration file is usually located at /etc/hosts and it provides a basic local name resolution mechanism and helps especially in LAN environments. Read More …