I have following entry in /etc/hosts
I needed to find out my domain name so that i could correct the above format of the entry and enable smtp to send mails. I needed something like this (as per googling):
127.0.0.1 localhost localhost.localdomain myusername
But I cannot determine my domain name. I tried following commands but nothing gave me the answer.
returned empty string
184.108.40.206.in-addr.arpa name = localhost.
** server can't find 220.127.116.11.in-addr.arpa.: NXDOMAIN
Please Help. I am a newbie so sorry if there is some mistake.