Hostname is not resolving on server
It is not resolving its local hostname from server i.e (portalepd) , but other hostname and domain name is working fine. Because of that hostname -f is not working on server. Please require your advice ========================================================== [root@portalepd Packages]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.1.22.127 portalepd portalepd.cmpc.cl 10.1.24.160 cmpcibm105.cmpc.cl cmpcibm105
[root@portalepd Packages]# ping portalepd ping: unknown host portalepd [root@portalepd Packages]# hostname -f hostname: Temporary failure in name resolution
[root@portalepd Packages]# cat /etc/resolv.conf
Generated by NetworkManager
No nameservers found; try putting DNS servers into your
ifcfg files in /etc/sysconfig/network-scripts like so:
# DNS1=xxx.xxx.xxx.xxx
DNS2=xxx.xxx.xxx.xxx
DOMAIN=lab.foo.com bar.foo.com
search cmpc.cl
nameserver 10.1.24.174
nameserver 172.20.4.112