> Is it just some misconfiguration of mine which causes getaddrinfo()
> with an unqualified hostname, IPv6 and hints->ai_family == AF_UNSPEC
> to block (trying a DNS lookup I guess), even when the hostname has a
> perfectly good IPv4 address, or is this normal behaviour? This seems
> rather annoying, and means something as simple as "ftp otherhost" will
> block unless I use the FQDN. Is there any way to avoid this behaviour?
It may happen with older versioin of getaddrinfo() at least.
getaddrinfo() in getaddrinfo.c before 1.5 did reverse lookup
when AI_CANONNAME flag is specified, so if reverse lookup
information was not obtained, it would block.
If the problem happens with newest getaddrinfo.c (1.8), then
there might be another problem.
I can't repeat it on my remote current machine,
(As far as I tested as below.
-find some IP addrs which I fail reverse lookup
-and set it some name in my host's /etc/hosts file
-and try with the name)
but I'll also try it with my local machin when I back to my
home today.
Yoshinobu Inoue
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message