Andreas Gustafsson
6c29053a20
614. [bug] Checks for uninitialized link fields were prone
...
to false positives, causing assertion failures.
The checks are now disabled by default and may
be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Mark Andrews
43b8fb7570
dns_rdata_init > dns_rdata_reset
2000-12-14 22:10:37 +00:00
Mark Andrews
5d2026ea7b
relax initalied checks
2000-12-14 22:09:51 +00:00
Brian Wellington
ee10d3de18
#include <stdio.h>
2000-12-13 21:28:38 +00:00
David Lawrence
3d509f54ac
613. [bug] "rndc reload zone" now reloads primary zones.
...
It previously only updated slave and stub zones,
if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6
make dns_zone_load work w/o being managed.
...
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a
oops, an ifdef should have been an ifndef
2000-12-13 01:42:23 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94
Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
...
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
Brian Wellington
f8246fc026
alphabetize tokens
2000-12-11 23:38:25 +00:00
Mark Andrews
88a6fef494
init dns_rdata_t's
2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e
more locking
2000-12-11 19:21:15 +00:00
Brian Wellington
7d43914b55
remove unused includes
2000-12-09 03:09:20 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
James Brister
106125b0a8
backout last change.
2000-12-09 02:14:53 +00:00
James Brister
59bffa5d85
Initialize link field
2000-12-09 02:05:51 +00:00
Mark Andrews
10f89d2f83
additional comments
2000-12-08 19:34:06 +00:00
Brian Wellington
6734ac097f
#include <isc/print.h>
2000-12-08 03:10:32 +00:00
Mark Andrews
d30c18b17a
set ttl of subtration header
2000-12-07 23:37:52 +00:00
David Lawrence
71c68c49db
prototype for dns_c_nameprint()
2000-12-07 22:42:22 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
Brian Wellington
020ebf1190
log the reasons for various verify failures.
2000-12-07 20:13:29 +00:00
Mark Andrews
168ec3b800
Check ttl when adding/subtracting.
...
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
Brian Wellington
cff0491bed
The TKEYTRACE macro was never used, and wasn't correct.
2000-12-07 19:13:05 +00:00
Mark Andrews
a009a2da12
use ISC_LIST_APPENDUNSAFE
2000-12-07 17:52:37 +00:00
Brian Wellington
6fb2566107
uninitialized link field
2000-12-07 06:07:12 +00:00
Mark Andrews
a31ede78c8
Added locking check + some additional locks.
2000-12-07 03:13:01 +00:00
James Brister
bdd6599e12
Fix printing of sig-validity-interval.
...
No longer print final dot of server key value.
2000-12-07 01:45:57 +00:00
David Lawrence
d9135464f2
Stop multiple warnings on IRIX about some bitfiddling being done on
...
a long integer to stuff it into a four byte character array big endianwise.
2000-12-06 23:12:10 +00:00
David Lawrence
e086935752
isc_hex_tobuffer() third argument is unsigned int, not unsigned long
2000-12-06 22:33:39 +00:00
Brian Wellington
6dbf9cbe6a
596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
...
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Andreas Gustafsson
ff74ba926b
when printing the view notify value, the traling semicolon
...
and newline were missing
2000-12-06 20:37:01 +00:00
Andreas Gustafsson
03c106341c
PRINT_IF_EQUAL() printed even if not equal
2000-12-06 20:36:26 +00:00
Andreas Gustafsson
21010d8842
missing ISC_LINK_INIT()
2000-12-06 20:36:00 +00:00
David Lawrence
68076411d5
DNS_ZONE_FLAG() was used as a boolean macro, so make it really return
...
ISC_TRUE/ISC_FALSE
2000-12-06 01:45:59 +00:00
David Lawrence
e694d4e201
quiet gcc 2.7.2.3 (specifically, the one on trantor) about a cast discarding
...
const in dump_order_compare()
2000-12-06 01:36:36 +00:00
Brian Wellington
23f64ea0dc
594. [func] sdb drivers are now assumed to not be thread-safe
...
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
Brian Wellington
5f515f43b0
spacing
2000-12-05 23:28:30 +00:00
Brian Wellington
a1d41dd820
quote more tokens in token_to_text, and don't quote the result from
...
token_to_text in the caller.
2000-12-05 23:27:38 +00:00
Brian Wellington
9c5b8b206a
removed code and output duplication
2000-12-05 22:42:23 +00:00
Brian Wellington
ff1db3c6df
Make sig-validity-interval a number of days, like the documentation says.
2000-12-05 22:19:35 +00:00
Olafur Gudmundsson
09ceae8853
keygen coredumps if rsa key is not generated due to lack of randomness
2000-12-05 21:11:18 +00:00
Brian Wellington
a7f3d1e811
The exiting test in zone_settimer was reversed. Oops.
2000-12-05 20:02:34 +00:00
Brian Wellington
c70908209e
replace some INSISTs that theoretically could occur with normal failures
2000-12-05 18:53:43 +00:00
Brian Wellington
1fe2d5bb6e
zone_settimer now logs an error if isc_timer_reset fails, instead of returning
...
a result which all callers ignored.
2000-12-05 00:47:42 +00:00
Brian Wellington
99b39b3bb4
zone_settimer should do nothing if the zone is exiting. Previously, some of
...
the callers checked this, but not all of them.
2000-12-05 00:36:44 +00:00
Andreas Gustafsson
2c826ed1cf
don't flood logs with lots of notify-related log messages at
...
level info; minor changes to log messages
2000-12-04 23:58:27 +00:00
Brian Wellington
425c9c3720
remove unused variable warnings
2000-12-04 23:39:05 +00:00
Brian Wellington
5af0b591fd
lib/dns/sec/openssl/th-lock.c was useless.
2000-12-04 23:21:42 +00:00