Commit Graph

4356 Commits

Author SHA1 Message Date
Bob Halley
59e1a928bc do not INSIST when restarting with returnlame 2000-11-27 19:56:16 +00:00
Andreas Gustafsson
41c53e1d11 added comment 2000-11-27 19:45:45 +00:00
Andreas Gustafsson
9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Andreas Gustafsson
d7059b8b7c 80 columns 2000-11-27 19:15:39 +00:00
Andreas Gustafsson
78aa86abc6 typos 2000-11-27 17:49:41 +00:00
Mark Andrews
07892e4443 Memory leak when ISC_MEM_TRACKLINES is defined. 2000-11-25 06:40:54 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
01c161ee2b add DNS_R_SINGLETON 2000-11-25 01:20:47 +00:00
Mark Andrews
19ff7edc1a 577. [func] Log illegal RDATA combinations. e.g. multiple
singlton types, cname and other data.
2000-11-24 01:51:11 +00:00
Mark Andrews
8a0ff6c15c 576. [doc] isc_log_create() description did not match reality.
575.   [bug]           isc_log_create() was not setting internal state
                        correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00
Mark Andrews
0f9bbc9ea2 loop_cnt test was wrong way around. 2000-11-23 05:04:54 +00:00
Andreas Gustafsson
eac8e1d5fc added DNS_LOGMODULE_SDB 2000-11-23 02:25:02 +00:00
Brian Wellington
bfa244d5d4 Mark callback sources as bad if the get() routine returns failure. Also
some other cleanup, and a reversal of the incorrect destroylock patch.
2000-11-23 01:04:00 +00:00
Brian Wellington
a452eb6b5d a mutex wasn't being destroyed 2000-11-23 00:26:11 +00:00
Andreas Gustafsson
20e1ac3376 removed unused variable poke_needed 2000-11-22 23:48:14 +00:00
Brian Wellington
ef6a36d944 tsig signed queries by the resolver both didn't always work and leaked memory. 2000-11-22 23:16:04 +00:00
Andreas Gustafsson
83c45e69f8 Accept any trailing garbage in messages, not just the Microsoft AXFR request
variety, logging a message at debug level 1.  We may or may not add an option to make this
conditional.
2000-11-22 23:09:58 +00:00
Andreas Gustafsson
5404e14bbb eliminated compiler warnings 2000-11-22 23:06:55 +00:00
Andreas Gustafsson
f8032c198b don't needlessly reload slave, stub, and dynamically updated
master zones on server reload [RT #482]
2000-11-22 19:56:18 +00:00
Andreas Gustafsson
73732bf151 don't blow away the journal file after a journal replay,
only after a database dump [RT #482]
2000-11-22 18:58:12 +00:00
Andreas Gustafsson
a6dbd6b660 572. [bug] Quoted strings were not accepted as key names in
address match lists.
2000-11-22 18:20:05 +00:00
Bob Halley
d5c1fec74c do not force replacement mode for singleton types 2000-11-22 01:56:02 +00:00
Bob Halley
bab57cc87f check for singleton rdata type when merging slabs 2000-11-22 01:55:38 +00:00
Michael Sawyer
1697c110c0 zone-statistics was actually a good idea after all. 2000-11-22 00:30:37 +00:00
Bob Halley
383665e42a Do not allow rdatasets of singleton type to have more than one rdata.
Check for CNAME and other data.
[RT #154] [RT #279]
2000-11-22 00:18:34 +00:00
Bob Halley
15af30dfc1 add DNS_R_CNAMEANDOTHER and DNS_R_SINGLETON 2000-11-22 00:16:41 +00:00
Brian Wellington
292ef406c6 Calling RSA_check_key() requires entropy, which may not be present. Remove
the call.
2000-11-22 00:11:30 +00:00
Andreas Gustafsson
7e4cda9965 renamed rdata_valid() to rdata_validate() and commented it 2000-11-20 21:58:01 +00:00
Brian Wellington
f164957327 Allocate a buffer large enough to hold the unknown rr data, not a buffer
with the same amount of free space as the target buffer.
2000-11-20 21:41:53 +00:00
Brian Wellington
93ed317bb4 unknown rr type parsing code deuglification. 2000-11-20 21:29:41 +00:00
Brian Wellington
48b5493b2c types 128 - 255 are meta types 2000-11-20 20:29:00 +00:00
Mark Andrews
25a66b4e41 #include <isc/print.h> 2000-11-20 13:02:18 +00:00
Mark Andrews
da4d6b30cf Unlink before freeing. 2000-11-20 10:20:10 +00:00
Mark Andrews
7d8cdd869e pointer arithmetic on (void*) is a no-no.
use extened buffer api to calculate lengths.
2000-11-20 06:54:40 +00:00
Brian Wellington
b0214977e8 Instead of storing parentheses deltas, just copy lex->paren_count and
restore it on ungettoken().  This is much easier (thanks, Mark).
2000-11-20 00:41:50 +00:00
Brian Wellington
2ea44ff332 Unknown rrs would not be parsed correctly when in an rdataset with known rrs. 2000-11-19 23:19:23 +00:00
Brian Wellington
1275a72e8d Don't allow metatypes to be loaded using the \# format. 2000-11-19 22:12:42 +00:00
Brian Wellington
cfd8d65ec1 #include <ctype.h> 2000-11-19 22:10:03 +00:00
Brian Wellington
fb1ee7bee0 isc_hex_fromtext didn't handle lowercase a-f 2000-11-19 20:58:58 +00:00
Brian Wellington
bea3d187ee fixed another assertion failure. 2000-11-18 21:15:23 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c Don't log ENFILE and EMFILE as unexpected errors 2000-11-18 02:56:48 +00:00
Andreas Gustafsson
2bd70b6822 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Brian Wellington
6fd4ab217e missing "static" keyword. 2000-11-18 01:35:13 +00:00
Brian Wellington
6a9f7f6e51 fix paren handling in quoted strings again. 2000-11-18 01:02:39 +00:00
Andreas Gustafsson
8bba70c48d renamed dns_zone_setdatabase() to dns_zone_setfile(),
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation.  If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
08e57545c2 Allow the hashing code in the rbt to be disabled (to save memory). This
should eventually be configurable at runtime, or at least with a
configure option, but now it's just a #define in rbt.h.
2000-11-18 00:55:25 +00:00
Brian Wellington
66a39bda9c parentheses in strings were handled incorrectly. 2000-11-18 00:54:19 +00:00
Brian Wellington
229ce407c3 Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
stdout.
2000-11-17 23:32:27 +00:00
Andreas Gustafsson
0d8fe6131e treat EHOSTDOWN (if defined) the same as EHOSTUNREACH rather than as an
unexpected error [RT #215]
2000-11-17 21:04:12 +00:00