Commit graph

1865 commits

Author SHA1 Message Date
Andreas Gustafsson
2bbbbfaeb8 warn if SOA RR is unexpectedly missing from a zone 2000-01-11 21:21:07 +00:00
Andreas Gustafsson
5f2d1b96ac new type isc_quota_t, for client (and other) quotas 2000-01-11 21:08:13 +00:00
David Lawrence
c5f15d214f REQUIRE isc_condition_waituntil args all non-NULL 2000-01-11 02:58:46 +00:00
David Lawrence
b6f101e314 removed duplicate #define of isc_mutex_lock 2000-01-11 02:56:15 +00:00
David Lawrence
0b87ef9d0b checkpoint 2000-01-11 01:49:24 +00:00
Andreas Gustafsson
c12e9c47b3 changed comments for isc_socket_detach() to reflect reality 2000-01-10 22:22:53 +00:00
Mark Andrews
757a38d502 Set address family. 2000-01-10 06:16:08 +00:00
Andreas Gustafsson
a243aeb92b always log both 'begin cache cleaning' and 'end cache cleaning',
or neither one, but never one without the other
2000-01-08 02:12:57 +00:00
David Lawrence
73a1e6a5d1 include netinet6/in6.h if present 2000-01-07 02:48:00 +00:00
Bob Halley
1871fef050 implement NAPTR additional data 2000-01-07 02:44:27 +00:00
Michael Graff
0941f35ad9 Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff. 2000-01-07 01:17:47 +00:00
David Lawrence
904f1ab394 checkpoint 2000-01-06 23:56:51 +00:00
Bob Halley
c1b5b02f55 settimer logging tweaks 2000-01-06 23:33:20 +00:00
Michael Graff
0fd03d2a66 fix up comments 2000-01-06 23:07:21 +00:00
Michael Graff
04458c8b5d fix a bug pointed out by Andreas -- don't detach from socket then use it. 2000-01-06 23:01:07 +00:00
James Brister
ce38a4c8d0 Use in_port_t instead of short. 2000-01-06 16:15:29 +00:00
David Lawrence
0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
David Lawrence
3eab41102f checkpoint 2000-01-06 03:36:32 +00:00
Andreas Gustafsson
a928d61917 fixed a race condition where a cache cleaning cycle could
be started when one was already in progress; restructured to destroy and recreate
the cache database iterator between cleaning cycles instead of just pausing it
2000-01-06 01:12:20 +00:00
Bob Halley
24a2d84aed add DNS_ADBFIND_STARTATROOT 2000-01-06 00:56:37 +00:00
Bob Halley
35b89fca89 If we're looking up the address of a nameserver who's name is a
subdomain of the query domain, tell the ADB to start looking at "." if
it doesn't know the address.  This keeps us from getting stuck if the
nameserver is beneath the zone cut and we don't know its address
(e.g. because the A record has expired).  By restarting from ".", we
ensure that any missing glue will be reestablished.

Misc. DNSSEC validation groundwork.
2000-01-06 00:56:18 +00:00
Andreas Gustafsson
ed04318ef6 timer event could arrive after cache cleaner was destroyed;
use the new <isc/util.h>
2000-01-04 23:24:13 +00:00
Andreas Gustafsson
ffa15cef7f document the fact that dns_acl_match now always succeeds 2000-01-04 21:45:08 +00:00
David Lawrence
b11bb1dae5 standard lib api file 2000-01-04 20:26:33 +00:00
David Lawrence
bd3195dcec lint 2000-01-04 20:21:03 +00:00
David Lawrence
d49df8f0d3 renamed from omapip_p.h 2000-01-04 20:19:11 +00:00
David Lawrence
dcf8825fd7 BSD/OS 4.01 returns EPROTONOSUPPORT for failure in try_proto() 2000-01-04 20:15:53 +00:00
David Lawrence
686320ef6e checkpoint 2000-01-04 20:04:42 +00:00
Mark Andrews
9fd735a3d9 xfrin_start_temporary_kludge() was called when the zone was already locked.
DNS_ZONE_F_REFRESH needs to be set when we call xfrin_start_temporary_kludge()
from xfrdone().
1999-12-31 00:20:47 +00:00
Michael Graff
43ea6a67a2 check in preliminary lw packet format. The names may change, but I don't
want to lose this while on vacation.
1999-12-24 01:11:51 +00:00
Mark Andrews
60f0c36b17 Reposition call back to capture both successful IXFR's as well as AXFR's. 1999-12-24 00:44:59 +00:00
Mark Andrews
f6c1a76e91 Cached NXDOMAIN for type ANY queries should be bound to a rdataset. 1999-12-23 06:50:51 +00:00
Mark Andrews
1205f38a4c max_token is now a hint as to largest token. 1999-12-23 05:24:12 +00:00
Mark Andrews
202e42a230 Print lock tracing to stderr.
Decrement granted read lock when releasing a read lock if there are no
pending write locks.  This still allows fair queuing between read and
write locks but does not block on aquiring a new read relock if we are
below quota of active locks and there are no pending writes.
1999-12-23 05:05:04 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson
542189f21b dns_result_torcode() now converts ISC_R_SUCCESS into
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Andreas Gustafsson
fba6d4604d do not log "zone serial has gone backwards" when the
serial remains unchanged on zone reload
1999-12-22 20:52:32 +00:00
Andreas Gustafsson
d6f5fc7911 handle null pubkeys and ACLs in dns_zone_compare() 1999-12-22 19:09:29 +00:00
Andreas Gustafsson
9b0e18da3d dns_result_t/isc_result_t unification 1999-12-22 17:37:31 +00:00
Mark Andrews
4d22a83c38 RWLOCK/RWUNLOCK to return __FILE__ and __LINE__.
Use #ifdef ISC_UTIL_TRACEON so that tracing can be turned on per file.
e.g.
	#define ISC_UTIL_TRACEON
	#include <isc/util.h>
1999-12-22 06:14:59 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Mark Andrews
491319c34c dbiterator_pause (dns_dbiterator_pause) can now pause a interator after
hitting end of chain.  If we have a node increase its reference count
and set paused flag.
1999-12-22 03:01:02 +00:00
Mark Andrews
9ac1456101 A fix comments to match reality. 1999-12-21 00:34:44 +00:00
Brian Wellington
d84ce5d5c6 plug a memory leak on failure 1999-12-17 21:09:34 +00:00
James Brister
e0c873ebc7 Declare new function dns_c_checkconfig that's used in main parsing routine. 1999-12-17 18:34:16 +00:00
James Brister
ad62ba2e70 Do checks on some integers for size limits. 1999-12-17 18:32:38 +00:00
James Brister
4239a56ab2 Added new function dns_c_checkconfig . 1999-12-17 18:29:38 +00:00
Andreas Gustafsson
8f79820c69 wired up the 'cleaning-interval' config option 1999-12-17 01:02:49 +00:00
Michael Graff
59602a4485 set DNS_RDATASETATTR_TTLADJUSTED when the ttl's for rdata don't match 1999-12-17 00:21:38 +00:00