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



Relevant Pages

  • Re: [opensuse] what does 127.0.1.1 mean?
    ... We have a bind nameserver for our 192 domain. ... Display the FQDN. ... A FQDN consists of a short host name and the DNS ...
    (SuSE)
  • Re: pop3 mail
    ... Your FQDN is hosted by someone. ... so you can make your own changes) If you don't know who your host is go to ... In addition I recommend you arrange for a backup Mail service to receive ... >> Frank McCallister ...
    (microsoft.public.windows.server.sbs)
  • Should /etc/hostname contain the whole FQDN?
    ... I thought the way to do it was to put the FQDN in /etc/hostname. ... I looked at the default in a variety of Debian systems that I've setup using ... only thing installer defaults to configure the hostname. ... contains the host name, e.g. /etc/hostname)" ...
    (Debian-User)
  • Re: does a home user on dialup need a domain name?
    ... The FQDN comes from /etc/hosts. ... If you, in the setup of your LAN, want to use FQDN to designate ... the way each host finds the other hosts on your LAN, ... Keep in mind that these name assignments link a name to an IP address ...
    (Debian-User)
  • Re: Beating the spam filter ...
    ... A simple check of the hello string of the mail server running on the 72.232.183.2 host shows that it is answering as "india.eccindustries.info". ... An A RR query for the FQDN of "india.eccindustries.info" does resolve to the IP of 72.232.183.2 thus indicating to me that it is the proper FQDN for the IP address. ... Any other name that you would like to point to that name should be a CNAME from the other name to "india.eccindustries.info". ...
    (comp.mail.sendmail)