summaryrefslogtreecommitdiff
path: root/lib/libc/asr/asr.c
AgeCommit message (Expand)Author
2021-01-06Fix two issues related to thread private data in asr.Otto Moerbeek
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-06-07In the libc resolver function asr_run(), clear the result buffer everytime,Theo de Raadt
2019-10-24Allow the caller of asr functions to create and use a specific context.Otto Moerbeek
2018-10-22More "explicitely" -> "explicitly" in various comments.Kenneth R Westerback
2018-04-28To allow us to get rid of /etc/networks, make getnetby*(3)Ingo Schwarze
2018-03-13Fix commentsJeremie Courreges-Anglas
2018-02-06make sure that all error paths are correctly handled in asr_run_sync()Eric Faurot
2017-02-27Put a common flags field in the query struct, rather than in someJeremie Courreges-Anglas
2017-02-23Put a common subq pointer in the query struct, rather than one in eachEric Faurot
2017-02-18Add EDNS0 support.Jeremie Courreges-Anglas
2016-06-18Remove duplicated line.Reyk Floeter
2016-05-27typo fixes; Anthony CoulterStuart Henderson
2016-05-26Calculate elapsed time in poll() and subtract that from the remaining timeJonathan Matthew
2016-02-24Avoid a possible double-free if the "search" keyword is used multiple times.Eric Faurot
2015-12-16Remove support for HOSTALIASES from the resolver. This "open and parseTheo de Raadt
2015-11-23Remove support for "lookup yp" in /etc/resolv.conf. This historicalTheo de Raadt
2015-10-28We are always using _PATH_RESCONF, so no need to remember the path onEric Faurot
2015-10-28Remove support for [addr]:port syntax from the "nameserver" line.Theo de Raadt
2015-10-07getaddrinfo_async() shouldn't unconditionally intialize the resolverTheo de Raadt
2015-10-03Initially eric developers asr as a side-load style library for async DNS.Theo de Raadt
2015-10-03missing asr* -> _asr* symbol rename for building with debug codeEric Faurot
2015-09-20remove bogus includes of err.hEric Faurot
2015-09-20use _PATH_RESCONF directlyEric Faurot
2015-09-14Wrap <asr.h> so internal calls go direct and all the symbols are weakPhilip Guenther
2015-09-09Hide all unnecessary asr / resolver related API with _ prefixes.Theo de Raadt
2015-09-02use _PATH_RESCONFTheo de Raadt
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-01-16Move to the <limits.h> universe.Theo de Raadt
2014-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2014-03-26Make the asr API public. Install asr.h to /usr/include.h and manpages.Eric Faurot
2014-03-25Cleanup and simplify the API to be exposed. Use better names forEric Faurot
2013-07-12Make some symbols static and prefix all visible symbols with asr_Eric Faurot
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-27Add minimal support for _res setup and update.Eric Faurot
2013-04-30Do not take external buffers for storing DNS responses in the internalEric Faurot
2013-04-17check return value of strdup(), fix mem leak in error path and takeOtto Moerbeek
2013-04-17give a timespec a name that is easier to verifyTheo de Raadt
2013-04-11Proper access of _THREAD_PRIVATE storage. Avoids a mem leak and reinitOtto Moerbeek
2013-04-01If more than one lookup line is found in resolv.conf, the latest oneEric Faurot
2013-04-01properly check for domain name truncation at various places and failEric Faurot
2013-04-01space cleanup; ok ericTheo de Raadt
2013-03-31Principle of least astonishment: implement nameserver retry/backoff asEric Faurot
2013-03-30Do not assume local nameserver if resolv.conf doesn't exist, just useEric Faurot
2013-03-30don't ever skip reload the very first time; detective work by rpe@; ok eric@Otto Moerbeek