Commit Graph

1307 Commits

Author SHA1 Message Date
Andreas Gustafsson
c398950a42 fixed memory leak introduced by previous change 2000-01-12 00:59:08 +00:00
Andreas Gustafsson
2bbbbfaeb8 warn if SOA RR is unexpectedly missing from a zone 2000-01-11 21:21:07 +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
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
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
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
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
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
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
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
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Mark Andrews
e7340552be missed a master xfer out change 1999-12-16 01:24:27 +00:00
Mark Andrews
f6a9dd2c61 complete slave side of notify 1999-12-16 01:23:17 +00:00
Michael Graff
b8ef99c3a7 make the lfsr's real lfsr's, and use two of them to generate random-looking IDs 1999-12-16 00:07:21 +00:00
Michael Graff
607dc8013a make dispatcher hash sizes be primes, and provide an increment to help
resolve hash collisions
1999-12-15 17:14:52 +00:00
Mark Andrews
271154eafd dns_message_reply(): copy the question section of notify messages. 1999-12-15 07:28:51 +00:00
Michael Graff
0a9fedafec Use an LFSR to generate unpredictable IDs. 1999-12-15 03:11:00 +00:00
Mark Andrews
8b791b4ee8 'covers' was not being set when extracting questions from a incoming message,
set covers to zero.
1999-12-15 02:25:35 +00:00
Andreas Gustafsson
016191545a removed unused variable and unnecessary #includes 1999-12-14 23:43:03 +00:00
James Brister
b9dc54b8dd - Fixed transfer/idle times in zones that were being lef as minutes.
- Added checking for minutes that are too big to be converted to seconds.
1999-12-14 10:28:00 +00:00
Andreas Gustafsson
8146ee1fac make an unexpectedly empty journal file cause a DNS_R_UNEXPECTED return,
like other forms of journal corruption do.
1999-12-14 01:26:03 +00:00
Bob Halley
4a3ad0da97 IPv6 query flood suppression 1999-12-14 00:10:06 +00:00
Bob Halley
525cdd36b3 exponential backoff on retransmission 1999-12-13 22:30:55 +00:00
Mark Andrews
4bb1729d24 dns_zone_getxfrtime -> dns_zone_getmaxxfrin 1999-12-13 07:57:36 +00:00
Mark Andrews
24b22ddce7 typo's 1999-12-13 07:56:26 +00:00