summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2015-09-02use _PATH_RESCONFTheo de Raadt
2015-08-16Fix test against INADDR_LOOPBACKJeremie Courreges-Anglas
2015-06-20Rename print_sockaddr() to avoid symbol visibility problemsJeremie Courreges-Anglas
2015-06-04make sure to check for resolv.conf update the first time the resolverEric Faurot
2015-05-29fix a possible off-by-one when reading /etc/hosts if it doesn't endEric Faurot
2015-05-26simply use _PATH_HOSTS where appropriateEric Faurot
2015-05-25Kill outdated comment.Jeremie Courreges-Anglas
2015-05-25Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.Eric Faurot
2015-05-25getnameinfo(3) doesn't need to initialize the resolver when it's only usedEric Faurot
2015-05-05AI_ADDRCONFIG: skip loopback addresses, not loopback interfaces.Jeremie Courreges-Anglas
2015-05-05Move the AI_ADDRCONFIG setup to its own function.Jeremie Courreges-Anglas
2015-03-02gethostbyname(3) would fail when more than 16 addrs/aliases were returned.Bryan Steele
2015-02-14Limit AI_ADDRCONFIG effects to DNS queries.Jeremie Courreges-Anglas
2015-01-30fix a possible NULL-deref when trying to deref ifa->ifa_addrGilles Chehade
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2015-01-14change _yp_domain[] to HOST_NAME_MAX+1, and re-arrange those who includeTheo de Raadt
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
2014-11-02Fix a NULL deref when getting an actual result for an invalid hostnameEric Faurot
2014-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2014-09-15Use _PATH_NETWORKS for "/etc/networks"Philip Guenther
2014-07-23Make queries using the search list for hostname lookups fail withEric Faurot
2014-05-13skip incomplete entries in /etc/hosts and /etc/networksEric Faurot
2014-05-10remove warning by adding explicit parentheses around && within ||Charles Longeau
2014-04-28Implement AI_ADDRCONFIGsperreault
2014-04-17Don't default enable the debug functionality with its unprotected getenv().Philip Guenther
2014-03-26Make the asr API public. Install asr.h to /usr/include.h and manpages.Eric Faurot
2014-03-26update manpageEric Faurot
2014-03-25Cleanup and simplify the API to be exposed. Use better names forEric Faurot
2014-03-14prefix structure names to avoid ambiguity and possible collisions whenEric Faurot
2014-03-03fix support for HOSTALIASES.Eric Faurot
2014-02-26need more #include files for resolv.h, for the non-YP case, which happensTheo de Raadt
2014-02-26Do not restrict chars in dname during label expansion, but validate resultingEric Faurot
2014-02-24make res_search() report NO_DATA instead of HOST_NOT_FOUND in some cases.Eric Faurot
2014-02-17Better search strategy for getaddrinfo. The address family loop mustEric Faurot
2014-02-17report extra PTR records as aliasesEric Faurot
2014-01-15Initialise _res.nsaddr_list in res_init(), fixing some programs which dependStuart Henderson
2013-11-24most obvious unsigned char casts for ctypeTheo de Raadt
2013-11-12pull in missing includes (math.h, unistd.h, stdlib.h) needed forTheo de Raadt
2013-08-08sync with recent name changes;Jason McIntyre
2013-07-17missing symbol rename.Eric Faurot
2013-07-12Make some symbols static and prefix all visible symbols with asr_Eric Faurot
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-06-01Move search domain iteration code in res_search_async.c where it belongs.Eric Faurot
2013-06-01Make hostaliases work for gethostbyname() and getaddrinfo() whenEric Faurot
2013-06-01Update asr_hostaliases() to make all necessary checks in the function.Eric Faurot
2013-06-01iterating over the ns list only matters for res_send_async.c, so moveEric Faurot
2013-05-29use paramaters instead of static storage in _gethostbyname()Eric Faurot
2013-05-27Add minimal support for _res setup and update.Eric Faurot
2013-04-30various small fixes;Jason McIntyre
2013-04-30Do not take external buffers for storing DNS responses in the internalEric Faurot