Commit Graph
2935 Commits
Author SHA1 Message Date
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
Brian Wellington 4d56f59ad0 log a message if dns_db_create fails 2000-11-17 02:49:11 +00:00
Brian Wellington 34f9910283 the removal of "simple" left an off by one error. 2000-11-17 01:27:34 +00:00
Brian Wellington a1014b72b0 the static initializer wasn't always called. 2000-11-17 01:06:37 +00:00
Andreas Gustafsson 26e801318b clarified 2000-11-16 23:10:19 +00:00
Brian Wellington 77ac297199 Database and simple database implementations (except rbt and rbt64) are
registered dynamically.  Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Andreas Gustafsson 6cc385f78b you can't just undefine L_SEARCH, because yacc will
insert its definition before the #undef, not after it.  Instead, rename
L_SEARCH to L_SEARCHLIST
2000-11-16 22:18:46 +00:00
Mark Andrews bba79bc76f remove NOMINUM_PUBLIC_DELETE 2000-11-16 21:58:09 +00:00
David Lawrence 859e2ee593 AIX defines L_SEARCH in <sys/lkup.h>; undefine it. 2000-11-16 20:44:53 +00:00
Brian Wellington 3cd88f71b0 oops, an extra file snuck in. 2000-11-16 02:05:54 +00:00
Brian Wellington 341629dbc2 sdb should not be sanitized away anymore. 2000-11-16 01:41:02 +00:00
David Lawrence 4a590cf385 Following revision 1.124, 'count' was no longer needed by bind_rdataset(). 2000-11-15 23:51:13 +00:00
David Lawrence 99f627f2a9 In dns_opt_attrtotext(), declare and set omit_final_dot only when
DNS_OPT_NEWCODES is defined.  In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
David Lawrence 2197bdf6b1 fixed prototype for static build_SYS_str_reasons() 2000-11-15 23:19:05 +00:00
David Lawrence f604b5ab0b A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence e7b6119384 removed extraneous semicolon 2000-11-15 23:12:27 +00:00
David Lawrence 9bcf5e9a14 assign the result of copy_ptr_targets to the event result in lookup_done() 2000-11-15 23:07:58 +00:00
David Lawrence ba7ea2326d dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned.  Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence 5ed0ffc1f7 clean up const warnings 2000-11-15 22:38:51 +00:00
Andreas Gustafsson 8c962eba3d I really shouldn't commit stuff until it at least compiles 2000-11-15 19:11:36 +00:00
Andreas Gustafsson ab889e996d use dns_rdataclass_format() 2000-11-15 19:06:04 +00:00
Andreas Gustafsson d3a86da2e8 563. [func] New public functions dns_rdatatype_format() and
dns_rdataclass_format(), for convenient formatting
                        of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00
Mark Andrews 3fdad8e3bb adjust is_lame test for same level. 2000-11-15 04:53:06 +00:00
Andreas Gustafsson 88658c1300 fetch-glue, min-roots, and max-ixfr-log size are now considered
obsolete
2000-11-15 01:30:12 +00:00
Andreas Gustafsson 7863e6bd43 provide a more detailed error message when configuring
a TSIG key fails [RT #461]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson 6a56be50dd new result code DNS_R_BADALG 2000-11-15 00:51:17 +00:00
Andreas Gustafsson 850d708185 562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong. 2000-11-15 00:36:42 +00:00
David Lawrence e94e2fe29d cope with the possibility that the prefix of a name
split within a bitstring label might have been compacted to have fewer
labels than what was expected
2000-11-14 23:51:24 +00:00
David Lawrence e28b5084ec Bitstring labels *still* suck. They didn't somehow magically get less
sucky in the past couple of months.  The nerve.

Anyway, dns_name_split now correctly compacts the preceding bitstring label
(if any) when a maximal bitstring is split.

It also correctly creates the suffix when a maximal bitstring is split.
It was doing this incorrectly before, independent of the compaction issue.
2000-11-14 23:48:02 +00:00
Brian Wellington 942d1a339b Decompression contexts now take a type instead of the "strict" boolean
value - the type can be "any", "strict", or "none".  This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson 4301257d29 the 'dialup' access functions operate on dns_dialuptypt_t, not boolean 2000-11-14 20:14:17 +00:00
Andreas Gustafsson daf99720c9 the existence of a dynamically allocated array for the NXT
bits should not depend on its length
2000-11-14 18:14:44 +00:00
Brian Wellington 78d78f05d9 556. [func] The DNSSEC OK bit in the EDNS extended flags
is now implemented.  Responses to queries without
                        this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Andreas Gustafsson 5afc10d6d8 554. [bug] Slave server attempting zone transfer could crash
with an assertion failure on certain malformed
                        responses from the master. [RT #457]
2000-11-13 20:12:29 +00:00
Brian Wellington 47fa8b4c8f fix outdated comments 2000-11-13 20:12:03 +00:00
Andreas Gustafsson 626b221f71 553. [bug] Incoming zone transfers deferred due to quota
were not started when quota was increased but
                        only when a transfer in progress finished. [RT #456]
2000-11-13 18:19:27 +00:00
Andreas Gustafsson ae7e8784aa log messages should not be capitalized 2000-11-11 02:14:50 +00:00
Andreas Gustafsson f58cfa95f7 comment formatting 2000-11-11 02:14:25 +00:00
Andreas Gustafsson c2a94d89f9 clarified comments 2000-11-11 01:15:33 +00:00
Andreas Gustafsson 244e29639a our coding standards say:
Source which becomes obsolete should be removed, not just disabled with
#if 0 ... #endif.
2000-11-11 01:07:32 +00:00
Andreas Gustafsson dcd12febbd dns_zone_configure() does not need to special-case hint zones,
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson c2f4fe7f95 clarified comment; fixed spacing 2000-11-11 01:02:28 +00:00
Andreas Gustafsson 84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00