- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Name service switch
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-23-2003 12:47 AM
01-23-2003 12:47 AM
I'm experiencing a problem with the name service switch (HPUX 11.00). When I set the system to use DNS (updating resolv.conf and nsswitch.conf) netstat command hangs and communication with this host is hugely slow. I got the same setting hosts as the first name service and letting resolv.conf alive.
Only when I use hosts and delete resolv.conf the performance are acceptable.
So, do you have any ideas?
Why do I have to delete resolv.conf while using hosts as the unique name service?
thanks,
Alessio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 12:53 AM
01-23-2003 12:53 AM
Re: Name service switch
you dont need to delete the resolv.conf file if you are using /etc/hosts .
i will also recommend to run inetd -c to reconfig the inetd deamon .
i m also working with nsswitch.conf file that refer to a DNS .
we have this recored on the nsswitch.conf :
hosts: files [NOTFOUND=continue] dns
to to define it like this and give us an update .
it will also work if you will give us the nsswitch.conf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 01:01 AM
01-23-2003 01:01 AM
Re: Name service switch
Known issue. Keep the old settings . And use
-n ( dont resolve names ) option when using netstat command. It will solve the netstat issue. There is no other performance issue due to the above problem.
#netstat -an
Instead of
#netstat -a
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 01:07 AM
01-23-2003 01:07 AM
Re: Name service switch
I know that with -n option it works, but I can assure the performance are actually very different.
Regards,
Alessio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 01:11 AM
01-23-2003 01:11 AM
Re: Name service switch
May be your DNS server is responding slow!
Any other server using similar settings?
Try inetd -c and check in syslog any error logged - Just a thought.
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 03:19 AM
01-23-2003 03:19 AM
SolutionThis delay is caused by the netstat -a command attempting
to resolve every wildcard address (*) as 0.0.0.0.
The result is "all-zeros-broadcast".
You must add the following to /etc/hosts:
0.0.0.0 all-zeros-broadcast
to resolve the performance problem, since the results are
returned for /etc/hosts instead of requiring a DNS query.