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
126.96.36.199.in-addr.arpa name = localhost.
** server can't find 188.8.131.52.in-addr.arpa.: NXDOMAIN
Please Help. I am a newbie so sorry if there is some mistake.