about summary refs log tree commit diff
path: root/resolv
Commit message (Collapse)AuthorAgeFilesLines
* Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel2012-07-121-4/+0
| | | | | | | | | | | | | | | | 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).
* Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar2012-03-311-1/+1
|
* Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar2012-03-301-3/+18
| | | | | | | | | [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.
* * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law2012-03-301-1/+1
|
* Better error handling for sendmmsg use in res_sendUlrich Drepper2012-03-301-5/+7
|
* Correct check for DNS request send successUlrich Drepper2012-03-301-1/+1
| | | | | | This predates the sendmmsg use. The two requests can use different request sizes but the check for successful transfer always only used buflen.
* Speed up DNS by avoiding a system call if possibleUlrich Drepper2012-03-301-17/+83
|
* [BZ #13760]Jeff Law2012-03-281-1/+7
| | | | | | * 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-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-1/+3
| | | | | | | | | | | | | | | | | | | 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.
* Fix struct timespec normalization (as used in many other places).Thomas Schwinge2012-03-081-2/+2
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-2/+0
|
* [network] Avoid out ouf bounds read in __libc_res_nquerydomainJeff Law2012-02-291-3/+7
| | | | | | | 2012-02-28 Jeff Law <law@redhat.com> * resolv/res_query.c (__libc_res_nquerydomain): Avoid out of bounds read.
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0918-54/+36
|
* Remove pre-ISO C supportUlrich Drepper2012-01-071-48/+47
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-072-3/+3
|
* Open /etc/resolv.conf with FD_CLOEXECRoss Lagerwall2011-12-171-1/+1
|
* Clean up internal fopen usesUlrich Drepper2011-11-153-5/+5
| | | | No need to ever not use c and e.
* Avoid unused warning in getaddrinfo_aUlrich Drepper2011-11-121-3/+3
|
* Link libresolv.so with ld.so for __stack_chk_guard.Joseph Myers2011-09-211-1/+7
|
* Remove support for !USE___THREADUlrich Drepper2011-09-102-20/+1
|
* Cleanup of configuration optionsUlrich Drepper2011-09-102-14/+1
| | | | Make several tool features mandatory and simplify the code.
* Add rules to build libresolv with SSP flagsUlrich Drepper2011-08-171-0/+3
|
* Properly tokenize nameserver line for servers with IPv6 addressAndreas Schwab2011-08-041-1/+1
|
* Use size_t for strlen resultsAndreas Schwab2011-07-201-1/+1
|
* Fix warnings in resolver codeAndreas Jaeger2011-07-061-2/+2
|
* Fix typo in recent resolver change which causes segvsUlrich Drepper2011-06-151-2/+2
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-102-7/+5
|
* Handle DNS server failures in case of AF_UNSPEC lookups correctlyUlrich Drepper2011-05-301-4/+8
|
* Make resolv.conf parsing more compactUlrich Drepper2011-05-291-32/+35
|
* Recognize use-vc option in resolv.confUlrich Drepper2011-05-291-0/+2
|
* Backport BIND code to query name as TLD.Ulrich Drepper2011-05-074-9/+19
|
* Install rpc/netdb.h againAndreas Schwab2011-05-061-0/+5
|
* Don't use removed rpc headersAndreas Schwab2011-05-051-5/+0
|
* Fix getnameinfo flags parameter type.Bruno Haible2011-05-011-2/+2
|
* Don't ignore zero TTL in DNS answersAndreas Schwab2010-11-251-4/+3
|
* Actually make it possible to user the default name server.Ulrich Drepper2010-09-141-0/+1
|
* Missing server address again leads to localhost being usedUlrich Drepper2010-08-251-27/+25
|
* Fix crash on reloading of gai data in nscd.Ulrich Drepper2010-04-091-14/+2
|
* Handle DNS timeouts in old-style lookkup code.Ulrich Drepper2010-04-051-6/+12
|
* Declare iruserok and iruserok_af.Ulrich Drepper2010-04-041-0/+24
|
* Fix debug statements in resolverAndreas Schwab2010-03-171-7/+10
|
* Fix DEBUG statements in resolv/res_send.cYann Droneaud2010-03-051-19/+20
|
* Always use IPv4 sockets for IPv4 addresses.Ulrich Drepper2010-01-141-35/+9
|
* Relax visibility of some more declaration.Ulrich Drepper2010-01-141-2/+2
|
* Relax condition for resolver constant definition.Ulrich Drepper2010-01-141-6/+6
|
* Fix up netdb.h for XPG7.Ulrich Drepper2010-01-121-1/+3
|
* Handle running out of buffer space with IPv6 mapping enabled.Andreas Schwab2009-11-102-9/+9
| | | | | | With big DNS answers like the one you get for goodtimesdot.com you can get a truncated address list if IPv6 mapping is enabled. Instead tell the caller to resize the buffer.
* Initialize local variable in resolver.Ulrich Drepper2009-10-291-1/+2
| | | | | When the DNS server doesn't reply at all we possibly tested an unitialized variable.
* Fix mixing IPv4 and IPv6 name server in resolv.conf.Petar Bogdanovic2009-10-291-26/+26
|
* Define and implement RES_USE_DNSSEC option in resolver.Adam Tkac2009-07-274-5/+16
|