2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

452 Commits

Author SHA1 Message Date
Brian Wellington
4d56f59ad0 log a message if dns_db_create fails 2000-11-17 02:49:11 +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
c2f4fe7f95 clarified comment; fixed spacing 2000-11-11 01:02:28 +00:00
Andreas Gustafsson
673ce7aebb removed redundant declaration of dns_rdataclass_totext() from rdata.h;
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Brian Wellington
55b085353a error message improvements 2000-11-09 02:35:43 +00:00
Michael Sawyer
a3a11c4f3f Add the ability (via rndc dump-statistics) to dump a file with counters of
various results given to queries.  Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Mark Andrews
4ec1a96d90 542. [func] Add allow-update-forwarding support. 2000-11-06 08:11:11 +00:00
Mark Andrews
0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Mark Andrews
533df4efda 537. [func] Use transfer-source{-v6} when notify messages. 2000-10-31 05:34:18 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
04c22ceaf2 536. [func] Use transfer-source{-v6} when sending refresh queries.
Transfer-source{-v6} now take a optional port
                        parameter for setting the UDP source port.  The port
                        parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Mark Andrews
6ef15459b8 535. [func] Use xfrsource[46] when forwarding update requests. 2000-10-30 05:08:07 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
72fa265baa 529. [bug] 521 contained a bug which caused zones to always
reload.  [RT #410]
2000-10-23 00:31:28 +00:00
Mark Andrews
cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Michael Sawyer
55aed608cc Add counters of incoming queries, server-wide and by zone. There is
currently no way to get these counts back *out* of the server, pending
a command channel.  A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Michael Sawyer
34d2bdadb4 Oops on the last commit. Editor wasn't saved when I did the commit, and
the cvs diff output was very close to the correct one, so I didn't
notice the problem.
2000-10-16 22:26:25 +00:00
Michael Sawyer
ce82008f65 The change made in patch 233 was breaking preventing the server from
being built when sanitized.  Since there is no obvious reason for
notify->flags to be hidden behind sanitize ifdefs, move it public.
(Lots of places which referred to ->flags were not sanitized out.)
2000-10-16 21:14:29 +00:00
Mark Andrews
d39e56173d Old BINDs will return FORMERR if the SOA is included in the NOTIFY.
Detect this and resend w/o SOA.
2000-10-16 04:05:43 +00:00
Mark Andrews
10258f6b3d 515. [bug] The ssu table was not beinge attached / detached
by dns_zone_[sg]etssutable.  [RT#397]
2000-10-13 13:45:45 +00:00
Mark Andrews
b38ebe307c 514. [func] Retry refresh and notify queries if they timeout.
[RT #388]
2000-10-13 13:23:09 +00:00
Michael Sawyer
94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Brian Wellington
e9871cc765 __func__ doesn't seem to exist. 2000-10-10 22:00:12 +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
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
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
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
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
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
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
2bebe117bf 489. [func] The zone manager now has a "i/o" queue. 2000-09-26 05:08:05 +00:00
Andreas Gustafsson
629c6629d0 zone_postload() used variable "new" before setting it [RT #337] 2000-09-23 06:27:12 +00:00
Mark Andrews
0e07026a21 476. [bug] A zone could expire while a zone transfer was in
progress triggering a INSIST failure. [RT #329]
2000-09-20 09:50:34 +00:00
Mark Andrews
b374727d51 456. [bug] Stub zones were not resetting the refresh and expire
counters, loadtime or clearing the DNS_ZONE_REFRESH
                        (refresh in progress) flag upon successful update.
                        [RT #300]
2000-09-14 03:55:38 +00:00
Mark Andrews
f671d6d103 cleanup unncessary dns_zone_{iattach,idetach}(). 2000-09-13 04:50:19 +00:00
Mark Andrews
a506c6f9be cleanup remove some unnecessary dns_zone_{iattach,idetach}() calls.
notify_destroy() now takes a locked arguement.
notify_send() no longer destroys its arguement.
2000-09-13 04:12:42 +00:00
Mark Andrews
7a21d6207f attach/detach tracing at ISC_LOG_DEBUG(10).
style fix (foo -> foo != NULL).
remove potential REQUIRE failure.
2000-09-13 01:00:39 +00:00
Mark Andrews
91ac60fe11 446. [bug] Confusing notify log message. [RT #298] 2000-09-12 22:50:52 +00:00
Mark Andrews
694d98c143 cleanup notify_log & zone_log to reduce common code. 2000-09-12 01:22:12 +00:00
Andreas Gustafsson
400f5eeb2c spelling 2000-09-11 20:51:47 +00:00
Mark Andrews
b9dead30b1 440. [func] New function dns_zone_forwardupdate(). 2000-09-11 13:26:22 +00:00
Mark Andrews
668278867b 437. [func] Log NOTIFY activity to the notify channel. 2000-09-11 04:37:52 +00:00
Andreas Gustafsson
b7e031d517 435. [bug] dns_zone_dump() overwrote existing zone files
rather than writing to a temporary file and
                        renaming.  This could lead to empty or partial
                        zone files being left around in certain error
                        conditions involving the initial transfer of a
                        slave zone, interfering with subsequent server
                        startup. [RT #282]
2000-09-08 21:47:03 +00:00
Michael Graff
4e8518aa8f add up to 10 minutes of jitter for refresh/retry, clammed as: RETRYTIME >= actual_retry >= RETRYTIME * .80 2000-09-08 00:07:44 +00:00
Mark Andrews
50bea34058 more notify_createmessage() cleanup. 2000-09-07 04:20:52 +00:00