Hello, does anybody know why hostname -f returns "hostname: Unknown host" for me?
I just set up a CentOS 6 (32-bit) 512MB linode and followed the CentOS wiki to change my hostname to somehostname. I did it by doing the following:
Code:
$hostname somehostname
Also the new hostname permanent by modifying HOSTNAME in /etc/sysconfig/network (HOMENAME=somehostname).
I rebooted the instance even. I now see my correct hostname in the PS1 prompt and if i do just "hostname". However, I couldn't get the full name somehow.
Anybody had a similar issue and know how to resolve it? Thanks!