summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_query.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-01-28thread safer libc (note: safer, not safe)Marco S Hyman
Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@
2002-06-27%d/%u mixup (in #ifdef DEBUG)Jun-ichiro itojun Hagino
2002-05-24try to use strlcpy and snprintf more; ok variousTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-07-31add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@Jakob Schlyter
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2001-06-11support EDNS0 (RFC2671) buffer size notification on DNS queries.Jun-ichiro itojun Hagino
"options edns0" in /etc/resolv.conf will enable the behavior. no behavior change if you don't have the line. see resolv.conf(5) for more details. EDNS0 is useful for avoiding TCP DNS queries/replies on larger DNS responses. also, draft-ietf-dnsext-message-size-* plans to mandate EDNS0 support for DNS clients that support IPv6 transport.
1999-09-27Correct buffer size.Alex Feldman
1998-08-31put back a security fix downsj removed ages agoTheo de Raadt
1998-03-16Use fgetln(3) instead of fgets(3) so we can easily recognize linesTodd C. Miller
that are too long and ignore them instead of corrupting later entries.
1997-07-09Clean up some -Wall flowers.Todd C. Miller
1997-04-06issetugid() this last getenv based openTheo de Raadt
1997-03-13Integrate BIND 4.9.5 resolver and associated routines.Jason Downs
Includes the DNS aware getnetby*() routines and IPv6 support.
1996-08-27use strncpy correctlyTheo de Raadt
1996-08-24rely on RES_NOALIASESTheo de Raadt
1996-08-19nasty typo by meTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-08-18if setuid, no env variablesTheo de Raadt
1996-02-19netbsd: bind 4.9.3dm
1995-10-18initial import of NetBSD treeTheo de Raadt