- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding DNS Resolver impacts Telnet connection
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
04-06-2001 05:08 AM
04-06-2001 05:08 AM
Adding DNS Resolver impacts Telnet connection
When a PC user telnets to the N-Class, a login screen pops up in about 1 second. However, if I add the DNS Server's IP address to the N-Class as the only DNS Resolver, it takes 3 to 4 minutes for the PC user to get the telnet login screen. The Name Service Switch on the N-Class is /etc/hosts then DNS. If I remove the DNS server from the DNS Resolver list, so that nothing is there, the telnet connection time returns to normal. Performance is otherwise normal. Why do I get a negative impact from adding a DNS Resolver?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 05:16 AM
04-06-2001 05:16 AM
Re: Adding DNS Resolver impacts Telnet connection
Sounds like you are hitting the DNS timeouts for lookups.
If DNS is active, telnet will try to lookup the clients on the host and seems to be failing.
Could you post the contents of your resolv.conf and nsswitch.conf files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 05:17 AM
04-06-2001 05:17 AM
Re: Adding DNS Resolver impacts Telnet connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 05:29 AM
04-06-2001 05:29 AM
Re: Adding DNS Resolver impacts Telnet connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 06:12 AM
04-06-2001 06:12 AM
Re: Adding DNS Resolver impacts Telnet connection
Is your nsswitch.conf configured +/- like:
domain xxx.xxx.xxx
nameserver 111.111.11.11
?
If it is, are you sure the domain is the same, between the PCs and the N server?
Plus, you can allways add the following entries in the end of the file:
"retrans 500" (you can change this value. It's specified in miliseconds)
"retry 1" (number of retries)
also check the following:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/27-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/27-toc.html&searchterms=retrans&queryid=20010406-064644
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 06:30 AM
04-06-2001 06:30 AM
Re: Adding DNS Resolver impacts Telnet connection
nameserver 130.110.1.5
# more /etc/nsswitch.conf
hosts: files[NOTFOUND=continue UNAVAIL=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:03 AM
04-06-2001 07:03 AM
Re: Adding DNS Resolver impacts Telnet connection
# nslookup
Using /etc/hosts on: hph70 ((HP in question))
> 10.64.117.101 ((IP of a PC on LAN))
Using /etc/hosts on: hph70
looking up FILES
Trying DNS
((LONG wait here))
*** Request to nms1.abb.com timed-out
> xyz ((meaningless garbage))
Using /etc/hosts on: hph70
looking up FILES
Trying DNS
((Short wait here))
*** nms1.abb.com can't find xyz: Non-existent domain
> hpsym ((An HP Server in /etc/hosts))
Using /etc/hosts on: hph70
looking up FILES
((Instant response))
Name: hpsym
Address: 10.64.116.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:36 AM
04-06-2001 07:36 AM
Re: Adding DNS Resolver impacts Telnet connection
In my experience, Windows NT DNS administrators are very resistant to adding PTR (ie, address-to-name) records into their DNS databases, believing that PC's don't need to know what name a given IP address is associated with.
However, HP-UX systems will always attempt to do a gethostbyaddr() lookup for any telnet connection that comes into the system. If (as you already discovered) this takes a long time to come back, then the time it takes you to get a telnet prompt back will be adversely impacted.
My first suggestion would be to ask your DNS administrator to see if it is possible to add the PTR records for the various PC's in the network into their DNS database. Beyond that, you may be able to tweak your nsswitch.conf file somewhat to reduce the timeout period. If you have a recent libc patch on your system (PHCO_20441 or later), you can use the "retry" and "retrans" options in your /etc/resolv.conf file to lower this timeout period.
I would recommend simply adding the line:
retry 1
To your /etc/resolv.conf file, and see if this lessens the problem.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 07:56 AM
04-06-2001 07:56 AM
Re: Adding DNS Resolver impacts Telnet connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 08:04 AM
04-06-2001 08:04 AM
Re: Adding DNS Resolver impacts Telnet connection
domain
nameserver 130.110.1.5
try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 08:06 AM
04-06-2001 08:06 AM
Re: Adding DNS Resolver impacts Telnet connection
"hosts: files[NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 09:49 AM
04-10-2001 09:49 AM
Re: Adding DNS Resolver impacts Telnet connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 11:05 AM
04-10-2001 11:05 AM
Re: Adding DNS Resolver impacts Telnet connection
I would suspect that someone either looked at the DNS logs and noticed that reverse lookups were being asked for or that the refresh interval in the DNS records finally became effective and a new Serial number file was pushed.
I set up my DNS so that it refreshes the db.xx files every 3 hours, but then I only have about 6000 entries to worry about.