Commit Graph
33 Commits
Author SHA1 Message Date
Brian Wellington e9a9ae4fc6 Added dns_trust_ultimate for zone data (can be renamed later if necessary). 2000-04-20 18:47:21 +00:00
Michael Graff 4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson ec9f7bd203 report journal file errors using isc_log_write(), not
UNEXPECTED_ERROR()
2000-02-14 19:26:23 +00:00
Bob Halley 7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Bob Halley 08af8bf5ad conform to dns_db_addrdataset() API change 2000-01-25 19:30:51 +00:00
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
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 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
Mark Andrews 33a2ca5a71 dns_journal_print() nor returns DNS_R_NOJOURNAL if the journal does not exist. 1999-12-13 02:58:06 +00:00
Mark Andrews 6cefa82d9a dns_journal_rollforward() now returns DNS_R_JOURNAL if the file does not exist. 1999-12-07 06:26:59 +00:00
Bob Halley 875e88e734 move some debugging output from level 1 to level 3 1999-11-23 20:52:34 +00:00
Andreas Gustafsson e7e74c22de the 'covers' field was not being set in dns_diff_load() 1999-11-03 00:24:47 +00:00
Andreas Gustafsson 1fbb35f902 isc_buffer_putmem() is now in the library 1999-10-29 23:54:37 +00:00
Andreas Gustafsson b84463c2f7 writing multiple transactions to the journal without
closing and reopening it did not work, and IXFR sometimes does that
1999-10-29 18:04:07 +00:00
Andreas Gustafsson 7a15b51ff1 eliminated extra newline at end of RRs being logged 1999-10-29 00:25:54 +00:00
Andreas Gustafsson c0227b1e1f fixed infinite memory allocation loop introduced by previous change 1999-10-27 23:38:54 +00:00
Mark Andrews 412e2345a7 Add a FILE * arguement to dns_journal_print() and dns_diff_print(). 1999-10-27 05:53:59 +00:00
Andreas Gustafsson 9e933a78a3 sorted dns includes;
use the logging library, not printf
(this probably breaks bin/tests/zone2_test.c)
1999-10-27 00:32:50 +00:00
Andreas Gustafsson e1ac02b216 removed trailing comma from enumerator list 1999-10-25 22:17:36 +00:00
David Lawrence f0131db6c3 INSIST rdata.length < 65536 before using it in a call to isc_buffer_putuint16.
I was not entirely sure that all paths to the places where the INSISTS are
would have guaranteed that the unsigned int rdata.length was in the range
of an unsigned short.

Cast bitshifts to isc_uint8_t in encode_win32(); yes, dear compiler, we know
there is a loss of precision.  That's exactly what we want to happen here.
1999-10-17 22:18:45 +00:00
Mark Andrews e26a96b245 add DNS_R_UPTODATE check to roll_forward(). 1999-10-13 22:47:12 +00:00
Andreas Gustafsson 9b0d518110 moved dns_db_diff() from xfrin.c to journal.c; const correctness 1999-09-27 06:30:15 +00:00
Michael Graff 9ec7000a15 Protect magic numbers and validity checks by putting them in our name space.
(Prefixed with DNS_)
1999-09-21 22:45:24 +00:00
Andreas Gustafsson 93bcd26bfa SIGs covering different types are now considered separate rdatasets in dns_diff_apply() 1999-09-09 08:26:17 +00:00
Bob Halley 0b157747b3 findrdataset can now return a sig 1999-09-08 01:10:08 +00:00
Andreas Gustafsson ba2d393cd8 don't ignore updates that change only the TTL 1999-09-07 05:26:26 +00:00
Andreas Gustafsson e5df86c630 initialize covers field in new rrsets 1999-09-01 13:39:46 +00:00
Bob Halley 732e0731de SIG support 1999-08-31 22:14:06 +00:00
Andreas Gustafsson 53d251b1ac 80 columns 1999-08-24 06:45:39 +00:00
Bob Halley 6ee1fca9b2 Add some comments about the type of various offsets.
#include <isc/net.h> to get the prototype for ntohl().
1999-08-20 16:21:00 +00:00
Andreas Gustafsson 271fa93020 added sanity check of journal RR size 1999-08-20 12:31:27 +00:00
Andreas Gustafsson 3532ed3bbd initial checkin 1999-08-20 05:26:49 +00:00