RE: telnet and ftp login is slow between local machines
Keith Alen Vance <nfn11988@naples.net> writes:
>
>I have set up a little test network if I try and telnet or ftp into my
>other Linux machine it takes like 2 minutes to get the login screen after
>it establishes an ftp or telnet session. After I get logged in it is
>fast. Is there something I can do to speed up the log in time.
>
I'm not sure about ftp, but most telnet servers will do reverse lookups
on the incoming address. I know in the VMS product I maintain there are
ways to disable the lookups, but I'm not sure with a product like debian
(all though you could of course go into the code and change it :)
Anyway... check your resolving on the reverse addresses for your source
address. Are you running a name server for the PTR zone [e.g.
1.168.192.in-addr.arpa]? Is anyone? Can your resolver resolve to the
root servers? Try:
nslookup -type=ptr -d 1.1.168.192.in-addr.arpa
(Or whatever the reverse of the source address is)
nslookup -d 192.168.1.1 (or whatever the source address is)
I'm pretty sure with BIND resolver implementations, the /etc/hosts file
is checked _after_ remote lookups are attempted. If you have a
misconfiguration that causes the reverse lookup to have to timeout
before getting to look locally.
-Jeff
***************************************************************************
| Jeff Schreiber | Invincibility is in oneself, vulnerability |
| aka - "Spectre" | is in the opponent. Therefore skillful |
| schreiber@mx.process.com | warriors are able to be invincible, but they |
| | cannot cause opponents to be vulnerable. |
| | (Sun Tsu - _The Art of War_) |
***************************************************************************
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: