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 …