Commit graph

2540 commits

Author SHA1 Message Date
Bob Halley
3e26dd4d1f In free_rbtdb(), only try to put the current version if it has been allocated.
Replace old origin name duplication code with calls to
dns_name_dupwithoffsets() and dns_name_free().
2000-03-30 00:59:24 +00:00
Bob Halley
18a4aa1dc8 Add dns_name_dupwithoffsets(). 2000-03-30 00:57:23 +00:00
Bob Halley
63c8c8f2a1 Add dns_name_dupwithoffsets().
Minor performance enhancement to dns_name_dup() (use the source's offsets table
if it has one).
2000-03-30 00:57:06 +00:00
Bob Halley
f1e96dc67f ignore out-of-zone data 2000-03-29 21:01:30 +00:00
James Brister
2d212c707f Fixed possible unitialized variable error. 2000-03-29 19:46:44 +00:00
Bob Halley
1b4d50a081 When making an OPT RR, initialize rdata's type and rdclass fields to avoid
triggering an assertion.
2000-03-29 18:53:57 +00:00
Bob Halley
a8e4c27d2c get rid of calls to dns_name_countlabels() 2000-03-29 18:49:36 +00:00
James Brister
3cfa5fedfe Replace bit-setting method for determining if a config file field was set.
Templatized(?) code with macros.
2000-03-29 15:01:14 +00:00
Andreas Gustafsson
4c2ed12aaa don't access freed memory when shutting down
zone transfer (RT #82); added magic number (patch by Bob); 80 columns
2000-03-29 05:03:07 +00:00
Brian Wellington
5caab9f99d TSIG and SIG(0) are no longer message pseudosections. 2000-03-29 01:32:22 +00:00
James Brister
da47a1b896 Removed listen-on from views.
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.

quote rr types when printing grant/deny statements as they can
clash with config file keywords.

Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
Brian Wellington
d497aeb8cf The TSIG pseudosection should not be explicitly rendered. 2000-03-28 03:18:02 +00:00
Brian Wellington
43a5758df7 TKEYs go in the answer section of responses. 2000-03-28 03:16:40 +00:00
Brian Wellington
c73aafe601 dst_random_get notices when openssl complains about having no entropy, and
calls isc_random_get to get some.  This should possibly do something
else later.
2000-03-28 03:06:38 +00:00
Brian Wellington
fcdd365bbf Moved isc_buffer_t typedef from buffer.h to types.h 2000-03-28 02:59:46 +00:00
Bob Halley
c653686224 fix typo 2000-03-27 23:46:45 +00:00
Bob Halley
1854401d34 was dereferencing the wrong rdataset 2000-03-23 22:52:22 +00:00
Andreas Gustafsson
1872808932 don't access freed memory 2000-03-23 20:33:15 +00:00
Andreas Gustafsson
62a84c4a27 val->view was not NULL before attach 2000-03-23 20:24:28 +00:00
Bob Halley
dda4bfe649 update copyrights 2000-03-23 19:52:19 +00:00
Bob Halley
77221c2c88 update copyright 2000-03-23 19:35:59 +00:00
Bob Halley
a010b9cb61 update copyrights 2000-03-23 19:30:06 +00:00
David Lawrence
e49d50b443 include config/confndc.o in CONFOBJS for libdns.a 2000-03-23 19:00:15 +00:00
David Lawrence
5090d51c22 review & bind coding style changes 2000-03-23 18:44:20 +00:00
Bob Halley
a0abd77baa dns_name_downcase() was not calling isc_buffer_add(), so buffer would always
be empty.  This would cause name digesting to fail as well.
Remove some unused variables left over from the removal of local compression.
2000-03-23 17:56:24 +00:00
David Lawrence
ecb6c5782e exorcized local compression 2000-03-23 05:18:46 +00:00
Andreas Gustafsson
5fe5a0c026 revised logging categories 2000-03-23 00:55:12 +00:00
Andreas Gustafsson
d132769ee8 the syslog facility for the default_syslog channel is
LOG_DAEMON, not LOG_INFO
2000-03-23 00:49:15 +00:00
Bob Halley
435532822d deal with systems missing in6addr_any 2000-03-22 22:07:17 +00:00
Andreas Gustafsson
64b42acc5f propagate the current and default TTLs into and out of
$INCLUDEd files (RT #69)
2000-03-22 19:27:51 +00:00
Andreas Gustafsson
4cf7efa59d typos 2000-03-22 17:59:13 +00:00
Andreas Gustafsson
4cc66f2516 typo 2000-03-22 17:54:15 +00:00
Andreas Gustafsson
8ba076755d typo 2000-03-22 17:50:34 +00:00
Andreas Gustafsson
0c7a0db602 typo 2000-03-22 17:46:34 +00:00
Andreas Gustafsson
fabbe85253 some newlines were counted twice, causing incorrect
line numbers in error messages
2000-03-22 17:39:48 +00:00
Andreas Gustafsson
636a89a303 removed extraneous newlines from error messages;
replaced double quotes with single quotes for consistency
2000-03-22 17:28:57 +00:00
Mark Andrews
440164d3e3 add request locking.
dns_request_create() failed to detach from requestmgr under certain conditions.
2000-03-22 07:00:39 +00:00
Andreas Gustafsson
71bd2b06d6 use the UNUSED() macro 2000-03-21 23:48:20 +00:00
Andreas Gustafsson
034c7247de %token L_DIRECTORY line was repeated 2000-03-21 21:26:21 +00:00
Andreas Gustafsson
a782776175 do not indent CVS ID comments by one space 2000-03-21 00:37:36 +00:00
Mark Andrews
7201d2e11b Unconditionally set the zone timer in xfrdone. 2000-03-21 00:17:15 +00:00
Andreas Gustafsson
8e191edd65 don't indent comments by one space 2000-03-20 23:08:50 +00:00
Andreas Gustafsson
a7d3e828eb don't indent comments by one space 2000-03-20 22:57:15 +00:00
Andreas Gustafsson
47830e3a58 don't indent comments by one space 2000-03-20 22:48:59 +00:00
Andreas Gustafsson
41aad56b6c avoid calling variables 'result' if they are not of type isc_result_t 2000-03-20 22:44:36 +00:00
Andreas Gustafsson
71181f3e13 make the global option 'maintain-ixfr-base' a synonym
for 'provide-ixfr'; fix typos in previous change
2000-03-20 22:03:13 +00:00
Andreas Gustafsson
a54b377fd3 log a message saying whether an incoming zone transfer is
incremental or not
2000-03-20 21:07:48 +00:00
Andreas Gustafsson
4bc5101166 wired up the new 'request-ixfr' option 2000-03-20 19:42:21 +00:00
Andreas Gustafsson
72166c5cf5 made 'support-ixfr' a synonym for 'request-ixfr' 2000-03-20 19:40:04 +00:00
Andreas Gustafsson
aa8e34546c commented nonobvious INSIST() 2000-03-20 19:33:20 +00:00