[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#582916: libc6: getaddrinfo() returns EAI_NONAME for temporary problem.



Package: libc6
Version: 2.10.2-6
Severity: important

Hi,

It seems that getaddrinfo() now returns EAI_NONAME for a non-permanent
error.  Trying to resolve something using "host" or "dig", I get
as error:
";; connection timed out; no servers could be reached"
That is clearly different that an error message like:
"Host <host> not found: 3(NXDOMAIN)"
For that error I would expect to get EAI_NONAME.

In case I don't get a reply, I would expect to get back EAI_AGAIN.

The version in lenny still returns EAI_AGAIN.


Kurt




Reply to: