Commit Graph

42 Commits

Author SHA1 Message Date
andvar f9faf20aef fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/ 2021-09-03 21:54:58 +00:00
christos f07a94a30a Default to check-names for safety. 2021-04-30 16:07:49 +00:00
christos 48b1b7d23d add <netinet/in.h> because it is needed for sockaddr_in. 2012-11-07 15:45:24 +00:00
christos 9d1644e9da make the default to not check names. 2012-09-09 18:03:17 +00:00
christos 7523d42dda expose res_check for the benefit of mDNS. 2009-10-24 17:23:34 +00:00
christos 2cca8c559f Bring back binary compatibility with the previous version of the resolver.
There was no room to allocate 16 bytes for _rnd in the struct in the _LP64
case, so we dynamically allocate now. Also put the _rnd field last, so that
we are bitwise compatible too. Now of course we've run out of space, so
next time will need to perform more evil tricks to fit.
2009-04-20 14:42:12 +00:00
christos 178edc61d9 merge libbind 2009-04-12 17:07:33 +00:00
christos bee541c300 restore correct symbol protection and add a comment so that I don't
break this again.
2008-06-21 20:24:40 +00:00
christos a0abbe8fe8 sync with bind-9-5-0 2008-06-21 20:12:49 +00:00
ghen f0e38187bd Resolve conflicts. 2007-03-30 19:57:16 +00:00
christos 0d808c59ee Merge back all our changes. 2007-01-27 21:25:23 +00:00
perry 5f65228b74 u_intN_t -> uintN_t 2005-12-26 19:01:47 +00:00
perry 19b7469a00 de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
2005-02-03 04:39:32 +00:00
christos 88ae7d9d8f Resolve conflicts. 2004-11-07 01:48:01 +00:00
christos e89baaa3bf Provide an ifdef so that we can define an old style _res if we need to. 2004-06-09 18:04:05 +00:00
he 726e232131 Removr parameter names from __h_errno_set() function declaration.
Without this the vax port fails to compile the okheaders regression
test, because the "err" parameter name shadows a global variable.
2004-06-04 09:54:03 +00:00
christos 5fec60124f PR/25707: Love: remove _LIBC from res_state as suggested, so that res_ninit
calls in userland don't trash memory.
2004-05-26 01:08:50 +00:00
christos cad3251cd9 Provide access to the 5 symbols the bind8 resolver libc did. 2004-05-22 23:46:16 +00:00
christos c5167ccf84 provide unconditional access to _res via __res_state(). This will abort
for multi-threaded programs.
2004-05-22 15:42:17 +00:00
christos b74cd7536f resolve conflicts. 2004-05-21 02:25:10 +00:00
agc 039cc95684 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
2003-08-07 09:44:09 +00:00
kristerw a7c803af07 Remove variable names from prototypes. 2003-07-09 01:59:34 +00:00
wiz 4824190751 transmission, not transmition. 2003-01-06 13:17:01 +00:00
itojun babc498cc8 implement EDNS0 support, as EDNS0 support will be made mandatory for
IPv6 transport-ready resolvers/DNS servers.  need careful configuration
when enable it. (default config is not affected).
see manpage for details.

XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
2000-08-09 14:40:52 +00:00
itojun 10f59f2d42 define IPv6 library functions and structures, as defined in
RFC2292 and RFC2553.
define internal state structure for IPv6-transport resolver.

Commits for source code will follow.
1999-07-01 18:15:41 +00:00
lukem 1c8bb28d64 revert part of previous; leave char lookups[4] in __res_state.
otherwise, complex versioning stuff will have to be performed so
that old binaries with a new libc.so don't barf
1999-01-17 05:08:10 +00:00
lukem 612f048678 remove MAXDNSLUS and lookups[]; unnecessary with nsswitch 1999-01-16 07:52:22 +00:00
mycroft 633b8f45a9 Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software.  *sigh*
1998-07-27 09:09:03 +00:00
mycroft be9c427d60 const poisoning. 1998-07-26 12:29:33 +00:00
perry dde65b6a43 fix/restore Id 1998-02-03 04:20:36 +00:00
perry b7b7322c68 merge lite-2 1998-02-02 21:07:13 +00:00
lukem 313ab54809 rcsid fascism 1997-10-13 09:26:06 +00:00
mrg 5be792e647 merge bind 4.9.5-P1. 1997-04-13 09:26:21 +00:00
mrg c2ba58215e update these for bind 4.9.3-p1. 1996-02-02 15:29:06 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd e701a1976c res_search() takes a const char * as the first arg. 1994-10-19 03:46:42 +00:00
deraadt 2343dc8f90 u_int_{16,32}_t stuff 1994-10-15 07:56:51 +00:00
jtc c698beeb0e Add prototypes for res_query() and res_search() to fix bug #250.
More extensive changes will come when bind-4.9.3 is released and
integrated.
1994-06-13 01:16:13 +00:00
deraadt bc93d2c77e new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
deraadt cac819eb3b support for lookup keyword in resolv.conf 1994-01-28 03:00:25 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00