cat /etc/hosts returns two results:
127.0.0.1 Localhost 127.0.1.1 [mycomputersname].[city].[state].[domain].net (brackets for anonymity)
When I run
hostname, it returns
[mycomputersname] without the
.*.* etc etc
Whenever I run
sudo, it tells me it can't resolve
If I manually change the hosts table to remove the
.*.* etc, then it works fine. Until it changes it back at some point (reboot?) and it starts all over again. What is going on here and what can I do to fix it? Thanks!
Apologies if this is a dumb question. I'm very new to Linux.