sudo: unable to resolve host
I'm setting up my linode and securing my server using the following documentation:
On executing the following command:
sudo chmod +x /etc/network/if-pre-up.d/firewall
I'm receiving this message:
sudo: unable to resolve host amidala
Any help would be appreciated.
[email protected]:~$ cat /etc/hostname amidala [email protected]:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
You don't have any reference to 'amidala' in your hosts file. That's why it's not resolving. You may have missed this:
Thanks again for your help.