Commit Graph
4117 Commits
Author SHA1 Message Date
Brian Wellington d77d087809 uninitialized variables. oops. 2000-10-06 22:02:02 +00:00
Brian Wellington f4b4e7c162 #include <string.h> 2000-10-06 21:20:59 +00:00
Brian Wellington 6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington 4ed956c5c0 current snapshot of gss-tsig code. I'd be surprised if this works with
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington 8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Mark Andrews 2a37aa188c 507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
and dns_view_flushanddetach().

 503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington fc5332e1f4 Should compile now. 2000-10-04 20:50:25 +00:00
Brian Wellington 9d794b5203 Added lwres{} statement to named.conf. 2000-10-04 18:47:24 +00:00
Mark Andrews 75545fc8c4 If loading a slave/stub zone fails. Save the master file and journal and
initiate a zone transfer.
2000-10-03 05:47:45 +00:00
Mark Andrews 9282d220f4 New functions isc_file_template(), isc_file_renameunique().
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate().  The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Mark Andrews df1e829dde 504. [bug] The zone was not being marked as dirty when updated via
IXFR.

 503.   [bug]           dumptime was not being set along with
                        DNS_ZONEFLG_NEEDDUMP.
2000-10-02 23:55:44 +00:00
Andreas Gustafsson 6bd179ea9a removed empty line at beginning of file 2000-09-29 23:54:31 +00:00
Andreas Gustafsson f20c9d340a fixed a typo in a comment, expanded another 2000-09-29 23:53:05 +00:00
Michael Sawyer 229c6987e7 Get sanitize working with arbitrary keys 2000-09-29 21:31:02 +00:00
Andreas Gustafsson 23bfeb8bb1 checkpoint 2000-09-28 22:36:33 +00:00
Brian Wellington 2c18231946 The nonthreaded private include files should be deleted by the sanitizer. 2000-09-28 21:32:51 +00:00
Brian Wellington 0d89afffb2 Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such. 2000-09-28 21:31:08 +00:00
Brian Wellington 6b827cb794 typo 2000-09-28 20:29:22 +00:00
Andreas Gustafsson 9a3c31507c removed INSIST(zone->dumptime != 0) until we figure out
what the meaning of zone->dumptime is supposed to be
2000-09-28 18:03:18 +00:00
Mark Andrews e549eb1242 494. [func] Do not cache NXDOMAIN responses for SOA queries. 2000-09-28 06:43:36 +00:00
Mark Andrews cd5475efa4 Describe and enforce the contract for isc_event_allocate().
Silent failure for bad args is not the BIND 9 way.
2000-09-27 22:53:33 +00:00
Andreas Gustafsson dc8a97366a 492. [bug] The error messages printed when an IP match list
contained a network address with a nonzero host
                        part where not sufficiently detailed. [RT #365]
2000-09-27 20:10:39 +00:00
Michael Sawyer 1c66892e02 Fix confparser.y stuff in relation to sanitize. 2000-09-27 18:00:40 +00:00
Mark Andrews fce9a9550e 492. [bug] attempting to reload a zone caused the server fail
to shutdown cleanly. [RT #360]
2000-09-27 13:05:04 +00:00
Brian Wellington 2557aa46f0 Print a warning if check-names is set. Of course, setting check-names
as specified in the ARM causes the parser to die anyway.
2000-09-27 02:04:04 +00:00
Brian Wellington c5c1043a96 print a warning if the dialup, check-names, or pubkey directive is seen 2000-09-27 01:50:01 +00:00
Brian Wellington bda3efe854 reordered include files 2000-09-27 00:06:34 +00:00
Brian Wellington 5a4f9ff34f The makefiles should be sdb-clean now. 2000-09-26 23:25:51 +00:00
Brian Wellington 8614264835 protect the simple database stuff with NOMINUM_PUBLIC 2000-09-26 22:45:59 +00:00
Michael Graff e1db5e817f ask the database for aaaa records too, when an a6 isn't found. 2000-09-26 22:28:55 +00:00
Brian Wellington c76926d714 comment updates 2000-09-26 22:14:35 +00:00
Brian Wellington df03463a37 Allow *_log_setcontext() to be called multiple times, so that *_lctx
can be set to NULL once the log context has been freed.
2000-09-26 22:10:44 +00:00
Brian Wellington 3a62e221b4 locks weren't being destroyed 2000-09-26 22:09:20 +00:00
Andreas Gustafsson 693ddf84da 491. [bug] nsupdate would segfault when sending certain
prerequisites with empty RDATA. [RT #357]
2000-09-26 19:37:06 +00:00
Andreas Gustafsson ff7e6f2791 When lacking user-specified timer values from the SOA,
use a retry time that backs off exponentially from one minute up to
six hours.  This should allow the xferquota test to succeed [RT #337]
by allowing for one or more retries during the test, while keeping the
amount of SOA query traffic to dead masters reasonable for GNS.
2000-09-26 18:17:10 +00:00
Andreas Gustafsson d8d05d04fa the ternary operator ?: does not yield an lvalue 2000-09-26 17:28:13 +00:00
Andreas Gustafsson 3c754b3581 removed function dns_zone_setrefresh() 2000-09-26 17:24:00 +00:00
Andreas Gustafsson 94361d5867 simplified isc_random_jitter() and eliminated floating
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Andreas Gustafsson 61a31f75cd added INSISTs to verify that zone timer intervals
are set before use
2000-09-26 16:32:39 +00:00
Mark Andrews 5a98a57f8f 489. [func] The zone manager now has a "i/o" queue. 2000-09-26 05:16:57 +00:00
Mark Andrews 2bebe117bf 489. [func] The zone manager now has a "i/o" queue. 2000-09-26 05:08:05 +00:00
Brian Wellington a06c40460a fix a potential buffer overflow when writing keys to disk. 2000-09-25 23:19:39 +00:00
Brian Wellington cc8a68d56f minor cleanup 2000-09-25 23:18:54 +00:00
Brian Wellington dd27011f02 locks weren't being destroyed. 2000-09-25 17:46:39 +00:00
Andreas Gustafsson 629c6629d0 zone_postload() used variable "new" before setting it [RT #337] 2000-09-23 06:27:12 +00:00
Brian Wellington 060de372a1 The database now does duplicate suppression, so the master file loader
doesn't need to.
2000-09-23 01:05:35 +00:00
Brian Wellington 4ab4f2d14c do a more thorough job of duplicate suppression in dns_rdataslab_fromrdataset 2000-09-23 01:05:03 +00:00
Brian Wellington 3f123dcc2f 487. [port] flockfile() is not defined on all systems.
Also check for libpthreads, if libpthread isn't found.
2000-09-22 18:52:39 +00:00
Michael Graff 08ad332552 put a break in the switch 2000-09-21 21:40:29 +00:00
Michael Graff e710c2162a check for more expected error values in connect() case 2000-09-21 21:30:27 +00:00