Commit graph

2977 commits

Author SHA1 Message Date
Andreas Gustafsson
37fb395fd7 it makes no sense for a forward zone to have
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
54f6b2cfa8 stacksize, datasize, coresize and files options are now implemented 2000-11-28 21:43:37 +00:00
Andreas Gustafsson
9374f5f62c Do not express intent to implement the check-names option. 2000-11-28 21:20:51 +00:00
Andreas Gustafsson
57aac9d2de removed /* XXX should use temporary file and rename */ comment -
dns_master_dump() now takes care of that
2000-11-28 20:54:37 +00:00
Andreas Gustafsson
5c90fb2361 clarified error messages 2000-11-28 17:34:06 +00:00
Mark Andrews
ae520c2f9f More obsolete filed warnings 2000-11-28 05:24:53 +00:00
Mark Andrews
9b2e198580 Silence compiler 2000-11-28 04:46:00 +00:00
Mark Andrews
70270e02ca Remove max-cache-ttl and max-ncache-ttl unimplemented warnings.
Warn max-cache-size is not implemented.
2000-11-28 04:01:21 +00:00
Mark Andrews
1e9a8d3d39 Warn that max-cache-size is not yet implemented. 2000-11-28 03:57:17 +00:00
Mark Andrews
a7e4b89468 Check stub dialup option values. 2000-11-28 03:22:55 +00:00
Andreas Gustafsson
8a711bcd39 clarified comment 2000-11-28 02:33:58 +00:00
Andreas Gustafsson
0b2d261301 removed sdb NOMINUM_PUBLIC cruft 2000-11-28 02:10:03 +00:00
Michael Sawyer
504b15de12 Use zone lock instead of zmgr lock on counters
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
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
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +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
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
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
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
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +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
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
229ce407c3 Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
stdout.
2000-11-17 23:32:27 +00:00
Andreas Gustafsson
d8f9019647 566. [func] New public function dns_timer_setidle(). 2000-11-17 19:45:36 +00:00
Andreas Gustafsson
ba6fd25808 567. [bug] Setting the zone transfer timeout to zero caused an
assertion failure. [RT #302]

 566.   [func]          New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00