---

Easy Way to Fix: “sudo unable to resolve host name or service not known”

Once in a while, you will encounter the above error after making changes to /etc/hostname. And the resolution of this error is pretty simple.