- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- System pings an IP address but won't ping a host n...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 10:03 AM
тАО01-22-2009 10:03 AM
System pings an IP address but won't ping a host name
What is the reason behind this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 10:07 AM
тАО01-22-2009 10:07 AM
Re: System pings an IP address but won't ping a host name
Check how hostname resolution is done in /etc/nsswitch.conf
Normally its a good idea to do files first and to make that ping work you need an entry in /etc/hosts
ip_address hostname
Then ping hostname will work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 10:17 AM
тАО01-22-2009 10:17 AM
Re: System pings an IP address but won't ping a host name
check your /etc/hosts file.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 04:17 PM
тАО01-22-2009 04:17 PM
Re: System pings an IP address but won't ping a host name
$ nsquery hosts hpprsc2s
Using "dns [NOTFOUND=continue TRYAGAIN=continue] files" for the hosts policy.
Searching dns for hpprsc2s
hpprsc2s was NOTFOUND
Switch configuration: Allows fallback
Searching /etc/hosts for hpprsc2s
Hostname: hpprsc2s
Aliases:
Address: 15.97.1.66
Switch configuration: Terminates Search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 08:32 PM
тАО01-22-2009 08:32 PM
Re: System pings an IP address but won't ping a host name
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 09:42 PM
тАО01-22-2009 09:42 PM
Re: System pings an IP address but won't ping a host name
check that file for syntax.