telnet / ssh lookups 5 second delay

Jason Vas Dias jvdias at redhat.com
Wed Nov 24 17:53:48 UTC 2004


On Wed, 2004-11-24 at 12:19, phn at icke-reklam.ipsec.nu wrote:
> Ben Halicki <ben.halicki at macquarietextiles.com.au> wrote:
> > Hi all,
> 
> > just wondering if anyone has a solution to the 5 second delay incurred =
> under
> > Linux when attempting a telnet connection?  It appears that telnet firs=
> t
> > attempts to resolve an IPv6 address (not configured) which fails after =
> 5
> > seconds, then retries using IPv4.  I would like it to fail immediately,
> > without the 5 second delay if possible.
> 
> > Any ideas?

Yes :

set 
'NETWORKING_IPV6=yes
'
in /etc/sysconfig/network .

With this, the IPv6 queries simply fail instead of timing out.



> 
> You should stop using telnet. Why not use ssh which conveniently enough h=
> as
> a '-4- switch.
> 
> 
> You could also remove ipv6 networking from your linux, this *should* stop
> the resolver from trying.
> 
> > Thanks in advance,
> 
> > Ben Halicki
> 
> 
> 
> --=20
> Peter H=E5kanson        =20
>         IPSec  Sverige      ( At Gothenburg Riverside )
>            Sorry about my e-mail address, but i'm trying to keep spam out=
> ,
> 	   remove "icke-reklam" if you feel for mailing me. Thanx.
> 
> 



More information about the bind-users mailing list