* telnet slow to connect from PC's
@ 2001-01-29 19:46 zmarjan
2001-01-30 6:48 ` Mark Garrett
2001-02-02 4:13 ` Ben Wilson
0 siblings, 2 replies; 3+ messages in thread
From: zmarjan @ 2001-01-29 19:46 UTC (permalink / raw)
We have Tru64 V5.1 and have this annoying telnet connection problem.
When telnetting from our PC's, it takes a long time (20 sec) for the
login prompt to appear. When telnetting from an AIX box (to Tru64) on
the same network, the login prompt shows up instantly. Also, telnetting
from our PC's to the AIX box works instantly.
Once connected to Tru64 from our PC's the telnet session is fine and
snappy.
Does anyone know why it takes so long for Tru64 to show the login
prompt and how to fix it? I think it may have something to do with DNS
but don't know what.
If it helps any, on AIX we can see each connected PC in the routing
table (with netstat -nr), but not on Tru64. Don't know if this makes a
difference.
Thanks, Zoran.
Sent via Deja.com
http://www.deja.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: telnet slow to connect from PC's
2001-01-29 19:46 telnet slow to connect from PC's zmarjan
@ 2001-01-30 6:48 ` Mark Garrett
2001-02-02 4:13 ` Ben Wilson
1 sibling, 0 replies; 3+ messages in thread
From: Mark Garrett @ 2001-01-30 6:48 UTC (permalink / raw)
in article 954hb4$bjp$1@nnrp1.deja.com, zmarjan@my-deja.com at
zmarjan@my-deja.com wrote on 30/01/2001 06:46:
> We have Tru64 V5.1 and have this annoying telnet connection problem.
> When telnetting from our PC's, it takes a long time (20 sec) for the
> login prompt to appear. When telnetting from an AIX box (to Tru64) on
> the same network, the login prompt shows up instantly. Also, telnetting
> from our PC's to the AIX box works instantly.
>
> Once connected to Tru64 from our PC's the telnet session is fine and
> snappy.
>
> Does anyone know why it takes so long for Tru64 to show the login
> prompt and how to fix it? I think it may have something to do with DNS
> but don't know what.
It is DNS that causes this behaviour. telnetd is trying to translate the
incoming connections ip address back to a name, the delay is the DNS timing
out.
Just to test edit /etc/svc.conf and change hosts=local,bind to
hosts=local Then verify that the DNS server listed in /etc/resolv.conf is
valid and answering your queries and make sure its answering reverse lookups
for your ip address ranges esp the one matching the slow connect PC.
Now you even said "it may have something to do with DNS" why don't you
verify your DNS config! I was happy with you till you admitted you knew what
was at fault and you had not looked there first!
Anyway that should kick your brain into gear
Cheers
Mark :)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: telnet slow to connect from PC's
2001-01-29 19:46 telnet slow to connect from PC's zmarjan
2001-01-30 6:48 ` Mark Garrett
@ 2001-02-02 4:13 ` Ben Wilson
1 sibling, 0 replies; 3+ messages in thread
From: Ben Wilson @ 2001-02-02 4:13 UTC (permalink / raw)
Hi Zoran,
I have seen this problem with ftp and telnet daemons. It can happen
because when you try to connect via telnet the telnet daemon does a
reverse DNS lookup (i.e. resolves an IP to a hostname) to try to get a
hostname for the telnet client. If the host on which the telnet daemon
is running can't resolve the IP to a hostname it eventually gives up.
The length of time it takes to give up could be causing your telnet
delay.
The solution is to either:
- Turn off hostname resolution in your telnet daemon configuration. (I
don't know how to do this)
-OR-
- For each host from which you want to telnet to the Tru64 box from, put
an entry in /etc/hosts for that host.
If you look in your Tru64's /etc/hosts you'll probably find an entry for
your AIX box - that's why the login prompt is instant.
Hope this helps,
Ben.
zmarjan@my-deja.com wrote:
>
> We have Tru64 V5.1 and have this annoying telnet connection problem.
> When telnetting from our PC's, it takes a long time (20 sec) for the
> login prompt to appear. When telnetting from an AIX box (to Tru64) on
> the same network, the login prompt shows up instantly. Also, telnetting
> from our PC's to the AIX box works instantly.
>
> Once connected to Tru64 from our PC's the telnet session is fine and
> snappy.
>
> Does anyone know why it takes so long for Tru64 to show the login
> prompt and how to fix it? I think it may have something to do with DNS
> but don't know what.
>
> If it helps any, on AIX we can see each connected PC in the routing
> table (with netstat -nr), but not on Tru64. Don't know if this makes a
> difference.
>
> Thanks, Zoran.
>
> Sent via Deja.com
> http://www.deja.com/
--
Ben Wilson
bmwilson@home.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-02 4:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-29 19:46 telnet slow to connect from PC's zmarjan
2001-01-30 6:48 ` Mark Garrett
2001-02-02 4:13 ` Ben Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox