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
..
2014-02-21 22:25:26 -05:00
2012-09-06 22:44:55 -04:00
2011-02-15 04:40:40 -05:00
2011-04-17 11:43:03 -04:00
2014-06-06 20:44:54 +02:00
2014-09-04 20:13:10 -04:00
2013-04-04 22:36:30 -04:00
2014-06-03 01:43:29 -04:00
2014-06-04 04:39:34 -04:00
2013-07-01 13:50:02 -04:00
2011-02-12 00:22:29 -05:00
2014-07-26 05:36:25 -04:00
2015-09-25 01:03:36 +00:00
2014-06-20 09:17:57 -04:00
2013-12-12 05:09:18 +00:00
2014-06-20 09:17:57 -04:00
2013-12-12 05:09:18 +00:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2015-11-30 14:57:25 -05:00
2015-10-26 20:00:03 -04:00
2012-09-06 22:44:55 -04:00
2015-02-07 14:01:34 -05:00
2014-06-01 00:45:04 -04:00
2012-07-22 18:49:49 -04:00
2011-02-12 00:22:29 -05:00
2012-09-06 22:44:55 -04:00
2012-09-06 22:44:55 -04:00
2012-05-16 20:14:30 -04:00
2013-12-20 11:56:16 -05:00
2014-07-26 05:36:25 -04:00
2011-04-12 13:13:27 -04:00
2011-04-12 13:13:27 -04:00
2011-08-03 12:13:13 -04:00
2013-07-09 00:40:17 -04:00
2014-07-29 20:57:31 -04:00
2016-01-17 17:33:49 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2014-06-02 05:00:48 -04:00
2014-06-02 05:00:48 -04:00
2014-06-02 05:00:48 -04:00
2013-10-21 22:05:29 -04:00
2013-12-12 05:09:18 +00:00
2015-03-23 09:44:18 -04:00
2011-02-15 04:40:40 -05:00
2015-09-25 01:18:42 +00:00
2016-01-28 19:37:35 -05:00
2015-10-26 18:42:22 -04:00
2016-01-28 18:39:22 -05:00
2014-07-29 20:57:31 -04:00
2014-07-29 20:57:31 -04:00
2011-07-12 02:52:06 -04:00
2015-07-08 02:46:45 +00:00
2011-04-12 13:13:27 -04:00
2011-04-12 13:13:27 -04:00
2016-01-06 14:31:32 -05:00
2013-12-12 05:09:18 +00:00
2012-09-06 22:44:55 -04:00
2014-06-19 23:01:15 -04:00
2011-04-17 11:43:03 -04:00
2014-06-02 02:13:57 -04:00
2014-06-06 20:41:15 +02:00
2016-01-28 18:39:22 -05:00
2014-06-02 02:13:57 -04:00
2014-06-06 20:41:15 +02:00
2014-06-02 02:13:57 -04:00
2011-04-06 15:47:26 -04:00
2016-01-28 19:20:13 -05:00
2013-12-12 05:09:18 +00:00
2014-06-20 02:13:38 -04:00
2012-07-12 21:37:54 -04:00
2011-04-17 11:43:03 -04:00
2013-12-12 05:09:18 +00:00
2011-02-15 04:40:40 -05:00
2011-02-15 04:40:40 -05:00
2011-02-15 04:40:40 -05:00
2014-06-06 15:30:28 -04:00
2014-06-06 15:29:00 -04:00