1c-ares version 1.18.1 2 3This is an urgent bugfix release for a regression made in 1.18.0. 4 5Bug fixes: 6 o ares_getaddrinfo() would return ai_addrlen of 16 for ipv6 7 adddresses rather than the sizeof(struct sockaddr_in6) 8 9 10 11c-ares version 1.18.0 12 13This is a feature and bugfix release. It addresses a couple of new feature 14requests as well as a couple of bug fixes. 15 16Changes: 17 o Add support for URI(Uniform Resource Identifier) records via 18 ares_parse_uri_reply() [1] 19 o Provide ares_nameser.h as a public interface as needed by NodeJS [5] 20 o Update URLs from c-ares.haxx.se to c-ares.org [9] 21 o During a domain search, treat ARES_ENODATA as ARES_NXDOMAIN so that the 22 search process will continue to the next domain in the search. [11] 23 o Turn ares_gethostbyname() into a wrapper for ares_getaddrinfo() as they 24 followed very similar code paths and ares_gethostbyaddr() has some more 25 desirable features such as priority sorting and parallel queries for 26 AF_UNSPEC. [12] 27 o ares_getaddrinfo() now contains a name element in the address info 28 structure as the last element. This is not an API or ABI break due to 29 the structure always being internally allocated and it being the last 30 element. [12] 31 o ares_parse_a_reply() and ares_parse_aaaa_reply() were nearly identical, those 32 now use the same helper functions for parsing rather than having their own 33 code. [12] 34 o RFC6761 Section 6.3 says "localhost" lookups need to be special cased to 35 return loopback addresses, and not forward queries to recursive dns servers. 36 On Windows this now returns all loopback addresses, on other systems it 37 returns 127.0.0.1 or ::1 always, and will never forward a request for 38 "localhost" to outside DNS servers. [13] 39 o Haiki: port [14] 40 41Bug fixes: 42 o add build to .gitignore [2] 43 o z/OS minor update, add missing semicolon in ares_init.c [3] 44 o Fix building when latest ax_code_coverage.m4 is imported [4] 45 o Work around autotools 'error: too many loops' and other newer autotools 46 import related bugs. 47 o MinGW cross builds need advapi32 link as lower case [6] 48 o Cygwin build fix due to containing both socket.h and winsock2.h [7] 49 o ares_expand_name should allow underscores (_) as SRV records legitimately use 50 them [8] 51 o Allow '/' as a valid character for a returned name for CNAME in-addr.arpa 52 delegation [10] 53 o ares_getaddrinfo() was not honoring HOSTALIASES [12] 54 o ares_getaddrinfo() had some test cases disabled due to a bug in the test 55 framework itself which has now been resolved [12] 56 o Due to Travis-CI becoming unfriendly to open-source, Cirrus-CI has now been 57 brought online for automated unit testing. 58 59Thanks go to these friendly people for their efforts and contributions: 60 Biswapriyo Nath (@Biswa96) 61 Brad House (@bradh352) 62 Daniel Bevenius (@danbev) 63 Daniel Stenberg (@bagder) 64 Dhrumil Rana (@dhrumilrana) 65 Felix Yan (@felixonmars) 66 Jérôme Duval (@korli) 67 Martin Holeš (@martin-256) 68 Sinan Kaya 69(9 contributors) 70 71References to bug reports and discussions on issues: 72 [1] = https://github.com/c-ares/c-ares/pull/411 73 [2] = https://github.com/c-ares/c-ares/pull/410 74 [3] = https://github.com/c-ares/c-ares/pull/414 75 [4] = https://github.com/c-ares/c-ares/pull/418 76 [5] = https://github.com/c-ares/c-ares/pull/417 77 [6] = https://github.com/c-ares/c-ares/pull/420 78 [7] = https://github.com/c-ares/c-ares/pull/422 79 [8] = https://github.com/c-ares/c-ares/issues/424 80 [9] = https://github.com/c-ares/c-ares/issues/423 81 [10] = https://github.com/c-ares/c-ares/issues/427 82 [11] = https://github.com/c-ares/c-ares/issues/426 83 [12] = https://github.com/c-ares/c-ares/pull/428 84 [13] = https://github.com/c-ares/c-ares/pull/430 85 [14] = https://github.com/c-ares/c-ares/pull/431 86