Date: Mon, 20 Mar 2000 11:33:24 -0600 (CST) From: Visigoth <visigoth@telemere.net> To: Chris Piazza <cpiazza@jaxon.net> Cc: current@FreeBSD.org Subject: Re: 75 second delay using telnet/ssh (ipv6 related) Message-ID: <Pine.BSF.4.21.0003201122310.25197-100000@www.telemere.net> In-Reply-To: <20000319150009.A404@norn.ca.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Mar 2000, Chris Piazza wrote:
> If I use telnet or ssh (there might be more programs,
> but I have only noticed these two so far), and supply a hostname to it,
> my machine is constantly requesting AAAA records, and finally after
> 75 seconds it requests and receives an A record from the nameserver.
Could it be possible that you have "options inet6" in your
/etc/resolv.conf file? This options causes calls for only AAAA records at
first and then if they fail, use A records.
According to Mr. Stevens (Unix Network Programing Vol 1
chapt 9.4) this option, or having the env. variable RES_OPTIONS=inet6 set
will cause the behavior you are describing...
> Using ssh -4 or telnet -4 makes it work right away (of course), but
> I don't want to have to type that all the time. [program] ipv4address
> also works.
Hmmm... I don't know but it seems that ssh -4 set's its own family to
AF_INET in all of it's calls to gethostbyname() rather than AF_INET6.
Thereby telling the resolver to only return A records....
Damieon Stark
Sr Unix System's Administrator
visigoth@telemere.net
__________________________________________________________
M$ Windows 2000 was built for the internet.
Unix *BUILT* the internet.
your call....
__________________________________________________________
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003201122310.25197-100000>
