aboutsummaryrefslogtreecommitdiff
path: root/resolv
AgeCommit message (Collapse)Author
2012-11-30Fix assertion failures in resolver (BZ #13013).Aurelien Jarno
[BZ #13013] * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2 depending n and resplen2 to catch cases where answer equals answerp2.
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge
2012-11-19Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar
Resolves BZ #14719.
2012-11-13Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).Joseph Myers
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge
2012-10-24Define and use $(run-built-tests).Joseph Myers
2012-07-12Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel
limit [BZ #14307] * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of the temporary buffer used to invoke __gethostbyname2_r, __gethostbyaddr_r and gethostbyname4_r to make room for struct host_data / struct gaih_addrtuple. * resolv/nss_dns/dns-host.c (global scope): Move definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to header file nss/nsswitch.h. * nss/nsswitch.h (global scope): Add definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from resolv/nss_dns/dns-host.c).
2012-03-31Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar
2012-03-30Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar
[BZ #13928] A DNS request consists of multiple resources combined into a single hostent, including multiple CNAME records that may have been assigned different TTL values. In such a case, nscd should take the least TTL among all of the resources as the timeout for the hostent before it is reloaded in its cache so that the hostent remains stale in the database for the least amount of time.
2012-03-30 * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law
2012-03-30Better error handling for sendmmsg use in res_sendUlrich Drepper
2012-03-30Correct check for DNS request send successUlrich Drepper
This predates the sendmmsg use. The two requests can use different request sizes but the check for successful transfer always only used buflen.
2012-03-30Speed up DNS by avoiding a system call if possibleUlrich Drepper
2012-03-28 [BZ #13760]Jeff Law
* resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno in the right place. Discard and retry query if response is larger than input buffer size.
2012-03-232012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov
Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
2012-03-08Fix struct timespec normalization (as used in many other places).Thomas Schwinge
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-02-29[network] Avoid out ouf bounds read in __libc_res_nquerydomainJeff Law
2012-02-28 Jeff Law <law@redhat.com> * resolv/res_query.c (__libc_res_nquerydomain): Avoid out of bounds read.
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper
2011-12-17Open /etc/resolv.conf with FD_CLOEXECRoss Lagerwall
2011-11-15Clean up internal fopen usesUlrich Drepper
No need to ever not use c and e.
2011-11-12Avoid unused warning in getaddrinfo_aUlrich Drepper
2011-09-21Link libresolv.so with ld.so for __stack_chk_guard.Joseph Myers
2011-09-10Remove support for !USE___THREADUlrich Drepper
2011-09-10Cleanup of configuration optionsUlrich Drepper
Make several tool features mandatory and simplify the code.
2011-08-17Add rules to build libresolv with SSP flagsUlrich Drepper
2011-08-04Properly tokenize nameserver line for servers with IPv6 addressAndreas Schwab
2011-07-20Use size_t for strlen resultsAndreas Schwab
2011-07-06Fix warnings in resolver codeAndreas Jaeger
2011-06-15Fix typo in recent resolver change which causes segvsUlrich Drepper
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath
2011-05-30Handle DNS server failures in case of AF_UNSPEC lookups correctlyUlrich Drepper
2011-05-29Make resolv.conf parsing more compactUlrich Drepper
2011-05-29Recognize use-vc option in resolv.confUlrich Drepper
2011-05-07Backport BIND code to query name as TLD.Ulrich Drepper
2011-05-06Install rpc/netdb.h againAndreas Schwab
2011-05-05Don't use removed rpc headersAndreas Schwab
2011-05-01Fix getnameinfo flags parameter type.Bruno Haible
2010-11-25Don't ignore zero TTL in DNS answersAndreas Schwab
2010-09-14Actually make it possible to user the default name server.Ulrich Drepper
2010-08-25Missing server address again leads to localhost being usedUlrich Drepper
2010-04-09Fix crash on reloading of gai data in nscd.Ulrich Drepper
2010-04-05Handle DNS timeouts in old-style lookkup code.Ulrich Drepper
2010-04-04Declare iruserok and iruserok_af.Ulrich Drepper
2010-03-17Fix debug statements in resolverAndreas Schwab
2010-03-05Fix DEBUG statements in resolv/res_send.cYann Droneaud
2010-01-14Always use IPv4 sockets for IPv4 addresses.Ulrich Drepper
2010-01-14Relax visibility of some more declaration.Ulrich Drepper