So I was doing some configuration for ssh. When I later then did this command:
lsof -i tcp|grep ^ssh
I got a list of what I was expecting to happen. However, something I never noticed before was that everything was being called "penguin.local" as my machine. This isn't odd, because I know I named my laptop as "penguin" and usually ".local" gets appended in ubuntu from past experience. The odd part is, why is it resolving to this IP address "5.16.138.166"? Surely it should say "127.0.0.1", like localhost, local, etc... can anyone help me?
Here's some commands I've ran if it might help:
$traceroute penguin.local
traceroute to penguin.local (5.16.138.166), 30 hops max, 60 byte packets
1 penguin.local (5.16.138.166) 0.035 ms 0.010 ms 0.009 ms
$ ping penguin.local
PING penguin.local (5.16.138.166) 56(84) bytes of data.
64 bytes from penguin.local (5.16.138.166): icmp_req=1 ttl=64 time=0.040 ms
64 bytes from penguin.local (5.16.138.166): icmp_req=2 ttl=64 time=0.053 ms
64 bytes from penguin.local (5.16.138.166): icmp_req=3 ttl=64 time=0.054 ms
64 bytes from penguin.local (5.16.138.166): icmp_req=4 ttl=64 time=0.054 ms
^C
--- penguin.local ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.040/0.050/0.054/0.007 ms
$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=0.056 ms
64 bytes from 127.0.0.1: icmp_req=2 ttl=64 time=0.051 ms
64 bytes from 127.0.0.1: icmp_req=3 ttl=64 time=0.050 ms
64 bytes from 127.0.0.1: icmp_req=4 ttl=64 time=0.057 ms
^C
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.050/0.053/0.057/0.007 ms
whois resolves to an address in "St.Petersburg" for some reason... yet from what I can see its a local address based on my tests.