HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: does not know by itself - ping unknown host
Operating System - HP-UX
1829148
Members
2243
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-23-2005 09:29 AM
07-23-2005 09:29 AM
HP-UX PA-RISC 11.11.
My /etc/hosts
127.0.0.1 localhost loopback
172.16.110.41 xyz.mydomain.org xyz
But there is a problem resolving the IP for the hostname of this same server (xyz.mydomain.org):
# /usr/sbin/ping xyz.mydomain.org
/usr/sbin/ping: unknown host xyz.mydomain.org
My /etc/hosts
127.0.0.1 localhost loopback
172.16.110.41 xyz.mydomain.org xyz
But there is a problem resolving the IP for the hostname of this same server (xyz.mydomain.org):
# /usr/sbin/ping xyz.mydomain.org
/usr/sbin/ping: unknown host xyz.mydomain.org
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 09:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 09:56 AM
07-23-2005 09:56 AM
Re: does not know by itself - ping unknown host
Hi,
the resolution IP/names happens by 3 three methods:
- DNS ---> check /etc/resolv.conf to point the good nameservers
- /etc/hosts
- NIS (it is not so used)
Check /etc/nsswitch.conf about the order of the policies.
Another way to check the order of the policies is by
nslookup -swtrace xyz.mydomain.org
What does last nslookup command report?
HTH.
Best regards,
Fabio
the resolution IP/names happens by 3 three methods:
- DNS ---> check /etc/resolv.conf to point the good nameservers
- /etc/hosts
- NIS (it is not so used)
Check /etc/nsswitch.conf about the order of the policies.
Another way to check the order of the policies is by
nslookup -swtrace xyz.mydomain.org
What does last nslookup command report?
HTH.
Best regards,
Fabio
WISH? IMPROVEMENT!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 07:05 PM
07-23-2005 07:05 PM
Re: does not know by itself - ping unknown host
Hi
Please check /etc/nsswitch.conf file. If not existing, copy /etc/nsswitch.hp_defaults as /etc/nsswitch.conf and edit to get following in order to see file for name resolution
hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue
Regards
Mahesh
Please check /etc/nsswitch.conf file. If not existing, copy /etc/nsswitch.hp_defaults as /etc/nsswitch.conf and edit to get following in order to see file for name resolution
hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue
Regards
Mahesh
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP