- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ping will not ping host name in /etc/hosts table
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
Forums
Discussions
Discussions
Discussions
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
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-29-2001 09:07 AM
01-29-2001 09:07 AM
We are running dns. hosts is accessed after dns.
Host name get resolved successfully via nslookup.
Any ideas? Host names contain underscores '_'
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 09:10 AM
01-29-2001 09:10 AM
Re: Ping will not ping host name in /etc/hosts table
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 09:16 AM
01-29-2001 09:16 AM
Re: Ping will not ping host name in /etc/hosts table
Don't know which bind version you're running:
Starting with BIND 4.9.6, hostnames cannot
contain the underscore.
If you've the underscore in you DNS table, you need to change it and rebuild the DNS database.
How does your nsswitch.conf file look like.
Do a nslookup
nslookup
nslookup
The output should be the same.
Good Luck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 10:12 AM
01-29-2001 10:12 AM
Re: Ping will not ping host name in /etc/hosts table
Make sure that the entries in /etc/hosts begin in column 1. Leading spaces and/or tabs are not allowed.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 11:02 AM
01-29-2001 11:02 AM
Re: Ping will not ping host name in /etc/hosts table
dns: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] hosts
Contents of /etc/resolv.conf
domain mead.com
nameserver n.n.n.n
nameserver n.n.n.n
nameserver n.n.n.n
#nameserver n.n.n.n
#search
#nameserver n.n.n.n
#nameserver n.n.n.n
Does ping run nslookup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 11:58 AM
01-29-2001 11:58 AM
Re: Ping will not ping host name in /etc/hosts table
Oh well.
Thanks for the help to all..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2001 12:00 PM
01-29-2001 12:00 PM
Solutionhosts: files [notfound=continue] dns
The only three recognized vehicles for name resolution are dns, nis and files (files being your /etc/hosts).
See the man page for switch for more information.
If you type
#nslookup
>policy
What does it return for the number of lookups?
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 02:03 PM
02-09-2001 02:03 PM
Re: Ping will not ping host name in /etc/hosts table
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue]
passwd: files
group: files
ping is now working because I fixed a typo.
entering policy while in nslookup returned the following:
#Lookups = 2
files [RCCC] dns [RRRR]
Thanks for the help. I'm not real sure why all the NOTFOUND, UNAVAIL and TRYAGAIN are included....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 01:29 AM
02-10-2001 01:29 AM
Re: Ping will not ping host name in /etc/hosts table
You don't need that much, the following line would be enough (for hosts):
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 10:26 AM
02-13-2001 10:26 AM