- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX / DNS / finger
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
Forums
Discussions
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
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
03-09-2001 05:02 AM
03-09-2001 05:02 AM
HP-UX / DNS / finger
The box currently uses the /etc/hosts file for name resolution and works fine. However, for a number of reasons I want to implement DNS.
I've configured the nsswitch.conf and resolv.conf files and this allows me to ping various hosts on our network as I would expect.
However, when I execute the finger command it just sits there and looks dumb! No response at all. You can Ctrl-C out back to the prompt.
If I then delete/rename the resolv.conf file and revert back to the /etc/hosts file the finger command works fine!
Now you might say don't use the finger command but our core application uses finger as part of its load-up routine for each user login, therefore when DNS is enabled no one can login - existing users logged-in are fine.
Any help would be appreciated.
Thanks, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 05:09 AM
03-09-2001 05:09 AM
Re: HP-UX / DNS / finger
You might try and do this on the K:
#set_parms addl_netwrk
To set up the DNS connectivity as HP-UX likes it to be done..
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 06:02 AM
03-09-2001 06:02 AM
Re: HP-UX / DNS / finger
Also tried the set_params addl_netwrk and set the domain name and name server. After doing this and committing the changes, ping worked as expected but good old finger failed as previous.
Just for info. I've also got a Linux box that I've configured the same as the K and finger works fine.
Many thanks for your prompt reply, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 06:09 AM
03-09-2001 06:09 AM
Re: HP-UX / DNS / finger
hosts dns files [NOTFOUND=return] Nis
remove the not found option between dns and files, I found that this worked with DNS for omniback and software licensing that was /etc/hosts dependant.
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 06:16 AM
03-09-2001 06:16 AM
Re: HP-UX / DNS / finger
With DNS configurated on the K-server, what happens when you try to telnet from a client to the K-server? Do you get an appreciable login delay?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 06:24 AM
03-09-2001 06:24 AM
Re: HP-UX / DNS / finger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 07:10 AM
03-09-2001 07:10 AM
Re: HP-UX / DNS / finger
There doesn't seem to be a delay when telnet is used and DNS switched on.
Unfortunately I can't reboot my box easily (I've got around 200 users across 20 sites) so the nsswitch.conf change can't be implemented easily.
Anything else I could be trying in the meantime?
Thanks, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 07:36 AM
03-09-2001 07:36 AM
Re: HP-UX / DNS / finger
FYI, I use
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 07:40 AM
03-09-2001 07:40 AM
Re: HP-UX / DNS / finger
John is correct -- no need to reboot to change the /etc/nsswitch.conf file. I use the following for hosts:
hosts: files [NOTFOUND=continue] dns
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 07:56 AM
03-09-2001 07:56 AM
Re: HP-UX / DNS / finger
Tried both ways round but to no avail. Also tried it with just files in nsswitch.conf just to prove I'm not going mad and finger worked fine!
Please excuse my ignorance but why is finger using DNS?
Thanks in anticipation, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2001 08:46 AM
03-09-2001 08:46 AM
Re: HP-UX / DNS / finger
doing a finger on a remote machine looks up the name FQDN and reports it but then gets connection refused
Anything else you can use besides finger?
Maybe grep for user in /etc/passwd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2001 04:27 AM
03-12-2001 04:27 AM
Re: HP-UX / DNS / finger
Having decided it wasn't a DNS config problem I placed a support call with HP.
It seems that the way finger works has been changed between HP-UX v10.20 and v11.00.
v11.00 finger consults a file called /etc/wtmp and tries to do a reverse lookup on the IP address that each user has telnet'ted in from. The DNS database doesn't contain this information (it only contains hosts my users need to connect to) and therefore fails. I assume if I left the command to run for long enough it would eventually return.
v10.20 finger doesn't work like this and works fine when DNS is enabled.
HP's solution is to use the 10.20 version on 11.00. They have a 4 page document descibing how the code works.
Many thanks for your invaluable help - I've learn't a few things and your feedback enabled me to assure HP it wasn't a DNS config problem.
Regards, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2001 05:13 AM
03-12-2001 05:13 AM
Re: HP-UX / DNS / finger
Thanks for the feedback on your response from HP. I suspected a reverse name lookup problem as the delay, but didn't know that things have changed between 10.20 and 11.0. Could you please post the HP document or the reference thereto you mention? Thanks!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 02:40 AM
03-13-2001 02:40 AM
Re: HP-UX / DNS / finger
Regards, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 05:03 AM
03-13-2001 05:03 AM
Re: HP-UX / DNS / finger
Sorry, no cigar...your attachment isn't readable. Could you repost again, please? Thanks!
...JRF...