[KLUG Members] slow telnet

Dirk H Bartley members@kalamazoolinux.org
Tue, 26 Jun 2001 10:12:34 -0400


Adam Tauno Williams wrote:
> 
> >what would be causing telnet to take close to three minuets before
> >showing a login prompt?  once it gives the prompt though there is no
> >lag in the commands and displays.
> 
> DNS timeouts.
> 
> You need to make sure that reverse lookups are working.  Do an "nslookup {PC's
> IP address}" on the Linux box and see what happens.  When you connect the Linux
> box wants to record your host name in a log file.
> 

I'd suggest putting an entry in /etc/hosts on the linux box of the host you want
to log in from.  Then when that works worry about seting up DNS with reverse
lookups.  hosts is great for a single machine.  DNS for the many.

What I really want to know is how to setup dns to work with the wins hook in
samba.  Does this parameter then execute a command to add an entry into dns
everytime an entry is added through wins.  Does anyone have an example of how to
set this up?  This means that the machine running dns must run nmbd, correct?

Dirk