Commit graph

2254 commits

Author SHA1 Message Date
James Brister
0b73e4eb53 Corrected names of master zone bits checked in
dns_c_zone_getmaxtranstimeout() and dns_c_zone_getmaxtransidleout().
2000-02-12 09:38:08 +00:00
Bob Halley
eafe61bee8 The DNS_ADBFIND_STARTATROOT wasn't working. 2000-02-12 02:19:53 +00:00
Bob Halley
0485fcadd3 dns_view_simplefind() no longer binds the rdatasets if the result is NXDOMAIN. 2000-02-12 02:19:20 +00:00
Bob Halley
cec8578e67 The fctx lifetime timer was not running a certain times. In particular, it
was not running for fctxs in the addrwait state.  If the underlying ADB finds
never timed out (which is possible since they generate fetches), the fctx
would exist until the server was shutdown.
2000-02-11 21:10:40 +00:00
Bob Halley
b599cfd793 RTT penalization was not happening for the nonresponding servers in
the very common case where some server responded with the answer.
This would prevent avoidance of the nonresponding servers,
significantly increasing latency.
2000-02-11 19:58:11 +00:00
Andreas Gustafsson
6f6eeb26e4 prepare for introducing dns_c_ipmatch_any 2000-02-11 18:26:09 +00:00
Bob Halley
3f101f4e70 bad server support 2000-02-11 03:06:56 +00:00
Bob Halley
9e89140c97 fix clamping problem for maximally bad goodness 2000-02-11 02:58:44 +00:00
Bob Halley
73016bd7ef In the case where an rdataset subtraction resulted in the nonexistence
of the rrset, the subtraction code created a nonexistent rdataset
entry with an incorrect type (the "covers" part of the type was not
set).
2000-02-11 02:17:56 +00:00
Bob Halley
535f453de3 The zone node cleaner did least serial number cleaning too soon, which
could result in the incorrect deletion of the most recent version of a
node when a rollback occurred.
2000-02-11 01:51:33 +00:00
Brian Wellington
fd4d722665 missing initialization 2000-02-10 23:00:48 +00:00
Andreas Gustafsson
cae053a51f INSIST that no quota is in use when the quota object is
destroyed
2000-02-10 22:17:54 +00:00
Bob Halley
34bbe03b5c the bit test in dns_c_ctx_getforward() was backwards 2000-02-10 20:38:10 +00:00
James Brister
269d5ca1c7 Example usage of ondestroy notification for databases. Is ifdef'd out. 2000-02-10 16:13:12 +00:00
James Brister
80d19f3523 Support ondestroy notification for isc_mem_t. 2000-02-10 16:10:41 +00:00
James Brister
71a1b26df0 Build ondestroy.c now too. 2000-02-10 16:09:44 +00:00
James Brister
d549c37348 Support ondestroy notfication of databases. 2000-02-10 16:09:01 +00:00
James Brister
e32ccd2b77 Supporting type and routines for ondestroy event notifcation. 2000-02-10 16:05:13 +00:00
Andreas Gustafsson
da0ecdd70c zone shutdown rewritten to use separate internal/
external refcount and control event instead of onshutdown,
to fix bug where zone could be freed before being shut down
(RT #28)
2000-02-10 01:12:15 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Andreas Gustafsson
5d82424f5d New source file netaddr.c; new functions isc_netaddr_eqprefix(),
isc_netaddr_masktoprefixlen(), isc_netaddr_fromsockaddr(),
isc_netaddr_fromin(), isc_netaddr_fromin6(), isc_sockaddr_fromnetaddr();
new result code ISC_R_MASKNONCONTIG
2000-02-09 22:52:37 +00:00
Andreas Gustafsson
a7e803adb0 obey the new transfer-source-v6 config options 2000-02-09 19:04:26 +00:00
Andreas Gustafsson
4d5520682b support IPv6 masters in zone transfers 2000-02-09 19:04:04 +00:00
Andreas Gustafsson
427c9218c2 isc_socket_connect() leaked memory when connect() returned
EHOSTUNREACH
2000-02-09 19:02:40 +00:00
James Brister
e1eebec93e Support query-source-v6 and transfer-source-v6 2000-02-09 16:51:34 +00:00
James Brister
e02c75a5b2 Fixed some incorrect error messages.
Support transfer-source-v6 and query-source-v6
2000-02-09 16:50:21 +00:00
James Brister
06d958edb3 Put quotes around ordering name on output. 2000-02-09 16:48:04 +00:00
James Brister
51c7627c91 Support queyer-source-v6 and transfer-source-v6
Is now an error if a IPv6 address is used in a transfer-source or
query-source statement.
Ditto for an IPv4 address in *-v6 statement.
Cleaned up error messages.
2000-02-09 16:45:52 +00:00
James Brister
5e742c46a8 Store query-source address and port together.
Get them out together.
Support query-source-v6 dnd transfer-source-v6
2000-02-09 16:39:50 +00:00
Bob Halley
a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Bob Halley
429bc0239f do not install openssl .h files 2000-02-08 21:49:26 +00:00
Bob Halley
d01ac47e73 move up some forward declarations 2000-02-08 20:44:53 +00:00
Brian Wellington
6cac2e0f7a dns_db_deleterdataset can now delete SIG sets. 2000-02-08 19:25:37 +00:00
Brian Wellington
ca5af3ab78 dns_buildnxt takes a ttl as a parameter, instead of using 3600. 2000-02-08 19:02:24 +00:00
Andreas Gustafsson
9e565c950b clean up security roots if TSIG key ring creation fails 2000-02-08 18:08:58 +00:00
Bob Halley
0dc24b49b8 ensure we have size_t defined. 2000-02-07 22:35:31 +00:00
Bob Halley
8f0c8ee6c6 If a referral doesn't make progress, don't follow it. 2000-02-07 22:25:04 +00:00
Andreas Gustafsson
cd3674b4b2 don't configure the zone's query ACL twice 2000-02-07 22:01:05 +00:00
Bob Halley
927aa19430 fix incorrect memcpy() in resize [RT 15] 2000-02-07 19:11:59 +00:00
Andreas Gustafsson
e46ff30aec ignore IPv6 interfaces before attempting to get their flags;
they are ignored by named anyway, and getting their flags seems to fail on
Solaris 8ea (RT #16)
2000-02-07 18:59:39 +00:00
Andreas Gustafsson
461a00bbde ignore any ioctl() errors that may occur during interface
iteration (after reporting them); in particular, do not INSIST() that
no such errors occur.  Clarify the way this works by using the new
ISC_R_IGNORE result code.
2000-02-07 18:39:20 +00:00
Andreas Gustafsson
3a2487c9e3 added new result code ISC_R_IGNORE, to be used
by the interface iterator internals to indicate that an
interface is to be ignored.  Previously ISC_R_FAILURE was
used for this purpose.
2000-02-07 18:35:37 +00:00
James Brister
8561310bf9 Removed extraneous semi-colon. 2000-02-06 15:07:03 +00:00
James Brister
8e28ef828d Use yacc (or bison) binary found by configure. 2000-02-06 15:06:21 +00:00
Andreas Gustafsson
02b6658a6c report use of the unsupported 'localhost' and 'localnets'
ACLs early instead of getting an assertion failure later when
trying to use them (RT #8)
2000-02-05 22:12:45 +00:00
Brian Wellington
882945a30c dns_dnssec_findzonekeys should ignore keys with the noauth flag set 2000-02-04 18:19:48 +00:00
Bob Halley
7eab320180 include <stddef.h> so we have NULL. Ugh. 2000-02-04 06:50:06 +00:00
Bob Halley
5b64759e40 deal with strsep portability. grr. 2000-02-04 06:17:22 +00:00
Bob Halley
35c842e05d deal with lwres portability issues 2000-02-04 06:04:16 +00:00
Bob Halley
2ba9ea4e1e add lwinetaton.c lwinetpton.c lwinetntop.c 2000-02-04 06:02:51 +00:00