2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

2511 Commits

Author SHA1 Message Date
Andreas Gustafsson
e6428e3af6 Use documented default value for max-transfer-time-in 1999-12-01 18:31:09 +00:00
James Brister
0666859124 Relocated errant break statements. 1999-12-01 17:59:22 +00:00
James Brister
29bf8316a3 - Hold list of pubkeys instead of a single pubkey in zones.
- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
1999-12-01 16:29:00 +00:00
Andreas Gustafsson
cd36fa7eb9 obey the max-transfer-time-in option;
do not include zone.h twice
1999-12-01 03:55:22 +00:00
Andreas Gustafsson
97ad774ae2 commented purging of timer events on timer destruction 1999-12-01 03:12:22 +00:00
Michael Graff
3115cd89bc Ignore ipv6 mapped ipv4 addresses.
Set a default TTL for type 3 negative cache elements.  This is local to
the ADB, and cannot leak to clients, so no specs are violated.

Change a logging level to be less verbose.
1999-12-01 02:05:16 +00:00
Bob Halley
7ce4b963eb Increase quota limits for dispatchers. 1999-12-01 00:35:28 +00:00
Andreas Gustafsson
0442f7d6c1 obey the "allow-transfers" configuration option 1999-12-01 00:27:13 +00:00
Andreas Gustafsson
50f9363435 return NOTIMP, not REFUSED, for IQUERY to more accurately reflect that
we have refused to implement it :-)
1999-11-30 22:35:43 +00:00
Andreas Gustafsson
e4ad4f5804 libt_api requires libdns after all 1999-11-30 22:19:26 +00:00
Andreas Gustafsson
fa6c5e38f4 dns_result_t -> isc_result_t 1999-11-30 22:14:39 +00:00
Andreas Gustafsson
79c08618e9 use NULL (not 0) for null pointers; use size_t (not unsigned int) in
sysctl() arguments
1999-11-30 22:13:26 +00:00
Andreas Gustafsson
d8c70cbcd7 use new AML code for checking "allow-update" 1999-11-30 22:11:11 +00:00
Andreas Gustafsson
dac2799ea1 new source file aml.c, for address match list handling 1999-11-30 22:10:08 +00:00
Andreas Gustafsson
3f84bf884a added DNS_LOGMODULE_AML 1999-11-30 22:04:56 +00:00
Andreas Gustafsson
37eebcb917 isc_sockaddr_eqaddrprefix() checked prefix length against wrong value 1999-11-30 22:03:16 +00:00
Andreas Gustafsson
afaaf4c0aa Multiple fixes to address match list parsing:
- When no IP prefix length is specified, use 32 (IPv4) or 128 (IPv6), not 0
 - Allow an explicit prefix length of 32 (IPv4) or 128 (IPv6)
 - use isc_sockaddr_fromin()/isc_sockaddr_fromin6() to build isc_sockaddr_t
   structures so that the length field gets set correctly
1999-11-30 22:01:16 +00:00
Bob Halley
e7cdf5a35c Cancelation of TCP queries while they were still connecting was broken, and
would cause seg faults.

Do not update the RTT if a query is being canceled due to internal failures.

Some servers generate badly formatted responses when they get an EDNS
query.  We were marking these servers as bad, but a more practical
solution is to retry without EDNS.  If a message fails to parse due to
DNS_R_FORMERR or DNS_R_UNEXPECTEDEND, and we were using EDNS, we now
retry the query without EDNS.

Add a "default" case to the message parsing error switch.  This prevents bad
things from happening if message parsing fails in a nontypical way.
1999-11-30 20:57:05 +00:00
Andreas Gustafsson
d4539375e2 added ns_client_getsockaddr() 1999-11-30 02:49:38 +00:00
Andreas Gustafsson
b0f7803835 consistently print a colon after the line number in error/warning messages 1999-11-30 02:21:59 +00:00
Andreas Gustafsson
db05fd8e29 error message 'class(FOO) != zone class(BAR)' sometimes had random
garbage after class names
1999-11-30 02:20:24 +00:00
Andreas Gustafsson
7ef0c5d363 spelling 1999-11-29 20:27:38 +00:00
Andreas Gustafsson
bbee4ae2b3 Added DNS_INCLUDES to CINCLUDES. Hmm, why does t_api.h require DNS header files? 1999-11-29 20:16:50 +00:00
Andreas Gustafsson
683da0cd90 added isc_sockaddr_eqaddrprefix() tests 1999-11-29 20:09:23 +00:00
Andreas Gustafsson
00ce0291d1 added .cvsignore file 1999-11-29 20:06:20 +00:00
Andreas Gustafsson
33911b409b added isc_sockaddr_eqaddrprefix() 1999-11-29 20:00:19 +00:00
Andreas Gustafsson
f951f076f3 added cache code from late spring; it is not yet used 1999-11-29 17:58:39 +00:00
Andreas Gustafsson
8d6e7d47cf added DNS_EVENT_CACHECLEAN 1999-11-28 21:18:02 +00:00
Bob Halley
82886629c4 dns_message_renderrelease() is now void 1999-11-25 01:58:28 +00:00
Bob Halley
5eb8688b78 fix memory leak; dns_message_renderrelease() is now void 1999-11-25 01:58:16 +00:00
Bob Halley
8cdfd17426 review checkpoint 1999-11-25 01:23:32 +00:00
Bob Halley
c0d5c5dd26 increase number of tasks, make it prime 1999-11-25 00:12:35 +00:00
Bob Halley
e0cda0e4b9 dns_adb_insert() -> _dns_adb_insert() 1999-11-25 00:08:41 +00:00
Bob Halley
2da97701c4 update comments 1999-11-25 00:08:15 +00:00
Bob Halley
65a17ce1f3 eliminate special A6 processing; more comments 1999-11-24 23:24:11 +00:00
Bob Halley
53ad327ef5 avoid possible memory leak 1999-11-24 21:05:45 +00:00
Bob Halley
031614c8da Fix typo that was breaking A6 additional section processing. 1999-11-24 19:54:48 +00:00
Michael Graff
294802790e Fix a lot of negative caching issues. I believe the code will use
ncache responses from fetches and database lookups correctly now, but
there needs to be a little more cleanup here and there.  Bugs exist.
1999-11-24 19:23:27 +00:00
Bob Halley
86a30f8262 don't core dump if we get an upwards referral 1999-11-24 00:34:01 +00:00
Bob Halley
feee451098 log queries at debug level 1 1999-11-23 20:55:33 +00:00
Bob Halley
3f0751e5af move debugging output to level 3 1999-11-23 20:55:02 +00:00
Bob Halley
91d0c4e268 post-review cleanups 1999-11-23 20:54:20 +00:00
Bob Halley
7ab5937e0b turn off AD if we have rendered pending data 1999-11-23 20:53:34 +00:00
Bob Halley
b65c1b247f add DNS_DBFIND_PENDINGOK support 1999-11-23 20:53:17 +00:00
Bob Halley
875e88e734 move some debugging output from level 1 to level 3 1999-11-23 20:52:34 +00:00
Bob Halley
852a7a71c9 first try at comments 1999-11-23 20:45:56 +00:00
Bob Halley
59c049874b revise shutdown process; a6 chain expiration 1999-11-22 19:57:58 +00:00
Bob Halley
502dac3e7f revise shutdown process 1999-11-22 19:57:17 +00:00
Bob Halley
66dfced5d1 keep track of now and the chain expiration time 1999-11-22 19:56:08 +00:00
Bob Halley
b80290952d add shutdown and whenshutdown methods 1999-11-22 19:55:08 +00:00