Re: [opensuse] what does 127.0.1.1 mean?



Carlos E. R. said the following on 03/30/2012 11:15 AM:

On 2012-03-30 14:35, Anton Aylward wrote:
Have you tried the reverse lookup? (Sorry this is complicated
but its finding the IP address in a site independent manner)

# dig -s $( ip addr show to 0.0.0.0/0 scope global | \ awk
'/[[:space:]]inet / { print gensub("/.*","","g",$2) }' )

That should give you the FQDN of your host.
cer@Telcontar:~> dig -s $( ip addr show to 0.0.0.0/0 scope global |
\
awk '/[[:space:]]inet / { print gensub("/.*","","g",$2) }' )
Invalid option: -s

Sorry, my finger slipped. s is next to x ...


As the man page makes clear, reverse lookup is "-x".

I'm sure everyone is smart enough ...


--
We are born naked, wet and hungry. Then things get worse.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx