summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_query.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use a union to align the dns answer buffer until gcc4 is fixedderaadt2010-06-291-5/+8
|
* Wrap some functions, labels, and variables in #ifdefs correspondingray2007-05-161-1/+3
| | | | | | | to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@.
* zap rcsid.espie2005-08-061-10/+1
| | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
* make the resolver stat resolv.conf and update if it changes.tedu2005-03-301-5/+5
| | | | useful feedback and ok deraadt@
* ansify. ok deraadt@ moritz@otto2005-03-251-22/+22
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* thread safer libc (note: safer, not safe)marc2003-01-281-18/+24
| | | | | | | | | | 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@
* %d/%u mixup (in #ifdef DEBUG)itojun2002-06-271-3/+3
|
* try to use strlcpy and snprintf more; ok variousderaadt2002-05-241-3/+4
|
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-161-4/+4
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@jakob2001-07-311-3/+6
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-4/+4
|
* support EDNS0 (RFC2671) buffer size notification on DNS queries.itojun2001-06-111-2/+5
| | | | | | | | | "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.
* Correct buffer size.alex1999-09-271-3/+3
|
* put back a security fix downsj removed ages agoderaadt1998-08-311-3/+3
|
* Use fgetln(3) instead of fgets(3) so we can easily recognize linesmillert1998-03-161-4/+11
| | | | that are too long and ignore them instead of corrupting later entries.
* Clean up some -Wall flowers.millert1997-07-091-2/+3
|
* issetugid() this last getenv based openderaadt1997-04-061-3/+3
|
* Integrate BIND 4.9.5 resolver and associated routines.downsj1997-03-131-58/+58
| | | | Includes the DNS aware getnetby*() routines and IPv6 support.
* use strncpy correctlyderaadt1996-08-271-2/+2
|
* rely on RES_NOALIASESderaadt1996-08-241-3/+1
|
* nasty typo by mederaadt1996-08-191-2/+2
|
* Fix RCS idstholo1996-08-191-8/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* if setuid, no env variablesderaadt1996-08-181-0/+2
|
* netbsd: bind 4.9.3dm1996-02-191-21/+52
|
* initial import of NetBSD treederaadt1995-10-181-0/+366