Commit Graph
2572 Commits
Author SHA1 Message Date
Andreas Gustafsson 024eb50b65 must not include <config.h> in installed headers 2000-04-05 17:36:36 +00:00
Andreas Gustafsson f79476e131 need <dns/confzone.h> 2000-04-05 17:35:56 +00:00
Andreas Gustafsson 8293999117 HEADERS contained obsolete header confserv.h and was missing
peer.h
2000-04-05 17:30:02 +00:00
James Brister 300115d413 Replaced with peer.c and peer.h 2000-04-05 17:20:45 +00:00
Brian Wellington d554d4d109 Actually free the dst keys & keynodes when the keytable is destroyed. 2000-04-05 17:19:43 +00:00
James Brister 97645c1347 Removed superfluous incloude of config.h 2000-04-05 16:39:24 +00:00
James Brister 14256bd72e Removed include of config.h (illegal and unnecessary). 2000-04-05 16:38:01 +00:00
James Brister ebafb8a02a match-clients support 2000-04-05 15:29:53 +00:00
James Brister 64da53037f Added misc 'unset' functions 2000-04-05 15:22:51 +00:00
James Brister 212cbe386c Fixed case of checking for allow-update and update-policy together.
log message change
2000-04-05 15:21:07 +00:00
James Brister ce8c050e8f Support new match-clients statement. 2000-04-05 15:18:42 +00:00
James Brister f211bb7bb6 Support new match-clients view option. 2000-04-05 15:16:49 +00:00
James Brister aac49d2786 more code condensing 2000-04-05 15:14:23 +00:00
Andreas Gustafsson 26dc2e1958 need <dns/types.h> to define dns_rdatatype_t 2000-04-04 23:10:53 +00:00
Andreas Gustafsson dc46294525 added log.h and ondestroy.h to HEADERS 2000-04-04 23:04:30 +00:00
Andreas Gustafsson e247a05711 need <sys/types.h> 2000-04-04 23:03:44 +00:00
Andreas Gustafsson 421f476fe8 requires <isc/stdtime.h> 2000-04-04 22:38:26 +00:00
Andreas Gustafsson 20abf4f676 ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS were
used needlessly and without including <isc/lang.h>
2000-04-04 21:25:36 +00:00
Brian Wellington 404e3e4738 SIGs weren't returned in the answer section when the query resulted in a fetch. 2000-04-04 21:13:45 +00:00
David Lawrence aa25a4b357 fixed uninitialized variable warning in dns_c_checkconfig 2000-04-04 20:58:51 +00:00
Brian Wellington 7d1d130f4f Don't do post-load validation of zones if there are no zones. 2000-04-04 20:19:13 +00:00
Andreas Gustafsson c36e9ea3cd no need to #include <isc/buffer.h> 2000-04-04 20:11:54 +00:00
Andreas Gustafsson 9991038366 need <isc/mem.h> 2000-04-04 20:10:57 +00:00
Andreas Gustafsson ddfe394c06 need <isc/buffer.h> 2000-04-04 20:10:29 +00:00
Andreas Gustafsson 8f804834e2 moved logging typedefs from <isc/log.h> to <isc/types.h> 2000-04-04 20:09:05 +00:00
Andreas Gustafsson e6e674f6a5 no need to include <isc/ondestroy.h> from <isc/mem.h> 2000-04-04 20:06:29 +00:00
Andreas Gustafsson b7bd8a11e4 headers should not #include themselves 2000-04-04 19:25:33 +00:00
Andreas Gustafsson ced0a4548a quote zone name in log messages to be consistent with
outgoing transfers
2000-04-04 19:22:07 +00:00
Bob Halley 0218c433f6 dns_zone_notifyreceive() failed to unlock the zone lock in certain
error cases.
2000-04-04 19:21:23 +00:00
James Brister 1386f1f53e - Unconditionally quote key names on output to avoid potential
keyword clashes.
2000-03-30 17:25:14 +00:00
James Brister c541ac5d5e - Call zone validation routine in post-load check stage. 2000-03-30 17:23:37 +00:00
James Brister f2af22c3e0 - Provide routine to check all zone definitions. Currently just looking
for allow-update and update-policy being used together. allow-update
  definition is removed in this case.
- Provide zonelist iterator functions.
2000-03-30 17:21:16 +00:00
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