- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet prompt very slow
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
- 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
10-01-2004 02:48 AM
10-01-2004 02:48 AM
telnet prompt very slow
I have a problem when a try to login a to an HP-UX system . It seems that the telnetd process makes a reverse lookup because it takes a long time until the login screen appears . If I introduce the client IP in the host file of the hp-ux system , it goes really fast . The problem is that I must disable this test because it takes too much time.
Can anyone help me???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 02:56 AM
10-01-2004 02:56 AM
Re: telnet prompt very slow
Check /etc/nsswitch.conf file.
Check DNS config for the host. Is reverse dns lookup OK for host??
How is /etc/resolv.conf configured???
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 02:59 AM
10-01-2004 02:59 AM
Re: telnet prompt very slow
Try adding the following two lines and see if they help you.
retrans 500
retry 2
The above will timeout the server lookup after 500 ms after 2 tries.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 03:02 AM
10-01-2004 03:02 AM
Re: telnet prompt very slow
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 03:03 AM
10-01-2004 03:03 AM
Re: telnet prompt very slow
The main problem is that I can not control the IPs a clients names which try to connect to my system so the only possibility is to disable the reverse lookup in the DNS ...
Where do I have to add the retarns timeouts?? In which files??
Porthos:/home/jpcast> more /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 03:06 AM
10-01-2004 03:06 AM
Re: telnet prompt very slow
The parameters than Shridhar told are to be put in /etc/resolv.conf. For details on those parameters check the man page of resolver. (man 4 resolver)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 03:12 AM
10-01-2004 03:12 AM
Re: telnet prompt very slow
Porthos:/etc> more /etc/resolv.conf
domain sate2.com.
search sate2.com. device.sate2.com.
retrans 500
retry 2
When I take out the IP of the client from the /etc/hosts file it takes a lot...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 05:29 AM
10-01-2004 05:29 AM
Re: telnet prompt very slow
You'll have to make reverse DNS entries for each client that you want to give access to.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 06:08 PM
10-03-2004 06:08 PM
Re: telnet prompt very slow
Apart from this there is another problem . This server is an slave server in a DNS structure . When primary server is running everything works fine and I do not have problems at all with the reverse lookup . When I shutdown the named process in the primary DNS server my problems start . Slave DNS server is still working , nslookup also , but I do not understand why the reverse lookup takes so much time. I have upgraded to bind 9 and included bigger TTL times in the zones but the problem is the same . When the primary server is stopped , name resolution works ok but telnet and ftp access is extremely slow..
I would appreciate your comments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 08:37 PM
10-03-2004 08:37 PM
Re: telnet prompt very slow
retrans 500
retry 2
I introduced the changes but I didnt't feel the improvement until I rebooted the system. I thought that making changes in resolv.conf didn't need a reboot...???
Thanks a lot..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 10:00 AM
10-04-2004 10:00 AM
Re: telnet prompt very slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 12:56 PM
10-04-2004 12:56 PM
Re: telnet prompt very slow
Bill Hassell, sysadmin