Thursday, 29 January 2015

I can ping ip, but failed to ping hostname on redhat linux


  1. check DNS server configuration to see if there is a record for the server.
  2. check /etc/resolv.conf file to see if the DNS server is correct, and if there is a domain, 
    • search <domainName> (if there is no this line, need to check /etc/sysconfig/network-script/ifcfg-eth0 to see if there is a "DOMAIN=<domain server ip>" existed
    • nameserver <ipaddress>

No comments:

Post a Comment