Files
semi-libc/src/network
Rich Felker 0fef7ffac1 fix handling of dns response codes
rcode of 3 (NxDomain) was treated as a hard EAI_NONAME failure, but it
should instead return 0 (no results) so the caller can continue
searching. this will be important for adding search domain support.
the top-level caller will automatically return EAI_NONAME if there are
zero results at the end.

also, the case where rcode is 0 (success) but there are no results was
not handled. this happens when the domain exists but there are no A or
AAAA records for it. in this case a hard EAI_NONAME should be imposed
to inhibit further search, since the name was defined and just does
not have any address associated with it. previously a misleading hard
failure of EAI_FAIL was reported.
2016-01-28 19:37:35 -05:00
..
2011-04-17 11:43:03 -04:00
2011-02-12 00:22:29 -05:00
2013-12-20 11:56:16 -05:00
2011-02-12 00:22:29 -05:00
2014-06-19 23:01:15 -04:00
2011-04-17 11:43:03 -04:00
2011-04-06 15:47:26 -04:00
2011-04-17 11:43:03 -04:00