aboutsummaryrefslogtreecommitdiff
path: root/resolv
AgeCommit message (Collapse)Author
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
2010-01-14Relax condition for resolver constant definition.Ulrich Drepper
2010-01-12Fix up netdb.h for XPG7.Ulrich Drepper
2009-11-10Handle running out of buffer space with IPv6 mapping enabled.Andreas Schwab
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.
2009-10-29Initialize local variable in resolver.Ulrich Drepper
When the DNS server doesn't reply at all we possibly tested an unitialized variable.
2009-10-29Fix mixing IPv4 and IPv6 name server in resolv.conf.Petar Bogdanovic
2009-07-27Define and implement RES_USE_DNSSEC option in resolver.Adam Tkac
2009-07-26Handle SERVFAIL, NOTIMP, REFUSED replies from DNS server better.Ulrich Drepper
When doing IPv4+6 lookups we have to pass up the error record from send_dg.
2009-07-16Handle overly large answer buffers in resolver.Ulrich Drepper
In EDNS0 records the maximum result size is transmitted in a 16 bit value. Large buffer sizes were handled incorrectly by using only the low 16 bits. Fix this by limiting the size to 0xffff.
2009-06-26Implement second fallback mode for DNS requests.Ulrich Drepper
There is some more shardware/software out there which has problems if two DNS requests are sent using the same tuple (source addr, source port, dest addr, dest port) This can range from firewalls to load balancers. Some of the vendors already fixed it in response to this problem. Still, we need a way to make glibc work with broken environments. The single-request-reopen flag can be used or we fall back automatically to this mode.
2009-06-11Remember we switched to single-request mode.Ulrich Drepper
This change prevents repetition in most later calls of the resolver in case the DNS server or the network connection is broken.
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-05-09[BZ #10128]Ulrich Drepper
2009-05-05 Aurelien Jarno <aurelien@aurel32.net> [BZ #10128] * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP or FORMERR and the other NOERROR, don't raise an error.
2009-04-16(send_dg): Don't just ignore the result we got in case we only receive one ↵Ulrich Drepper
reply in single-request mode.
2009-04-16* resolv/res_send.c (send_dg): Don't switch into single-requestUlrich Drepper
mode if we already are in it.
2009-04-08* malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper
size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
2009-04-07* resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmpUlrich Drepper
instead of __strcasecmp. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2009-04-07* resolv/resolv.h (RES_SNGLKUP): Define.cvs/fedora-glibc-20090407T0545Ulrich Drepper
* resolv/res_init.c (res_setoptions): Recognize single-request option. * resolv/res_send.c (send_dg): If we sent two requests at once and only get one reply before timeout switch to mode where we send the second request only after the first answer has been received.
2009-02-16* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek
* sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-07[BZ #9781]Ulrich Drepper
* grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
2009-01-08* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check andUlrich Drepper
adjust the buffer alignment.
2008-12-29* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.Ulrich Drepper
2008-12-08* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper
use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.
2008-12-08* resolv/res_init.c (__res_vinit): Always assign to statp->nscountUlrich Drepper
after reading name server list.