Hostname lookup failure error.
Issue
- Particular command (hostname -f) does not work.
[root@hadooptst01 ~]# hostname -f
hostname: Host name lookup failure
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.