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
Mark Andrews
05fff5d905
424 [bug] notify_createmessage could trigger a REQUIRE failure
...
w/ two SOA records for the zone (illegal). [RT #279 ]
2000-09-07 01:06:45 +00:00
Mark Andrews
d22b4de3f1
Throttled answer while loading support (still needs config file hooks).
2000-09-05 03:35:24 +00:00
Mark Andrews
a21fbfdd30
413. [bug] notify could attempt to use the zone database after
...
it had been unloaded. (RT#267)
2000-08-31 06:16:42 +00:00
Mark Andrews
5ebcf506a1
remove unneccessary call to notify_createmessage()
2000-08-31 00:31:38 +00:00
Mark Andrews
f3788d318d
Do not forward notifies if they fail to pass the SOA serial check.
2000-08-29 03:45:48 +00:00
Brian Wellington
5e387b9ce6
and more calls to DESTROYLOCK
2000-08-26 01:37:00 +00:00
Mark Andrews
ec4060d310
408. [bug] stub zones could leak memory and refernce counts if
...
all the masters were unreachable.
2000-08-25 04:42:49 +00:00
Andreas Gustafsson
ce2d576f3c
another missing /* NOMINUM_PUBLIC */ comment
2000-08-22 19:32:47 +00:00
Andreas Gustafsson
f0bdf4aa8b
#endif /* NOMINUM_PUBLIC */ was missing the required comment
2000-08-22 17:36:31 +00:00
Mark Andrews
8249eee42a
notify-any to allow-notify conversion.
...
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Brian Wellington
ea18740a0a
Only call dns_db_load if the zone is not persistent. dns_db_ispersistent()
...
should be called in more places, but this is the only one absolutely
necesaary for simple databases to work.
2000-08-21 22:20:32 +00:00
Andreas Gustafsson
2d1bc69493
#endif missing required /* NOMINUM_PUBLIC */ comment
2000-08-19 00:47:57 +00:00
Andreas Gustafsson
a7705f38e9
399. [bug] When reloading the server with a config file
...
containing a syntax error, it could catch an
assertion failure trying to perform zone
maintenance on, or sending notifies from,
tentatively created zones whose views were
never fully configured and lacked an address
database and request manager.
2000-08-18 22:51:36 +00:00
Brian Wellington
f7fe55549d
The error message 'has 0 SOA records' incorrectly failed to pluralize
...
record.
2000-08-18 02:34:29 +00:00
Andreas Gustafsson
f6094e763b
minor simplification
2000-08-17 16:15:02 +00:00
Mark Andrews
769dd27de8
add notify-any & notify-relay
...
added missing / corrected comment spelling of NOMINUM_PUBLIC
added REQUIRE(ISLOCKED(????)); to zone.c
2000-08-17 13:13:37 +00:00
Andreas Gustafsson
e1368a7770
397. [func] Added utility functions dns_view_gettsig() and
...
dns_view_getpeertsig().
2000-08-17 00:18:12 +00:00
David Lawrence
b41fa90be0
tabify
2000-08-16 02:41:08 +00:00
Mark Andrews
c05eb51a1b
388. [cleanup] dns_zone_setdbtype now has const char **dbargv.
...
397. [bug] result was not being set in notify_send_toaddr().
RT#238
2000-08-16 02:16:49 +00:00
Andreas Gustafsson
ff59f0e4fe
removed dns_zt_print(), dns_zone_print(), dns_zone_tostr(),
...
PRINT_ZONE_REF; these were only used by the zone2_test program which
has now been removed
2000-08-13 23:51:55 +00:00
Andreas Gustafsson
562cc4924b
when sending notifies is suppressed due to the zone being
...
unloaded, clear the NEEDNOTIFY flag so that we don't reschedule the
notify every second
2000-08-10 19:50:02 +00:00
Brian Wellington
c758ad35e7
Check that the zone is still loaded in the notify event handler.
2000-08-10 19:34:49 +00:00
Andreas Gustafsson
eea2865fec
385. [cleanup] Removed function dns_zone_equal().
2000-08-10 18:35:46 +00:00
Brian Wellington
147b0c9ba7
The server would crash trying to unload an unloaded zone if the initial
...
AXFR had more than maxnames records.
2000-08-10 17:11:23 +00:00
Andreas Gustafsson
886b96ebfd
382. [func] The function dns_zone_setdbtype() now takes
...
an argc/argv style vector of words and sets
both the zone database type and its arguments,
making the functions dns_zone_adddbarg()
and dns_zone_cleardbargs() unnecessary.
2000-08-10 00:53:36 +00:00
Brian Wellington
e1818a34f7
Handle DNS_R_ZONETOOLARGE by unloading the zone and deleting the on-disk
...
database and journal.
2000-08-09 00:17:20 +00:00
Andreas Gustafsson
7048bc2b71
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:14:29 +00:00
Michael Graff
3d9892109d
print out (debug level 2) the number of nodes in the zone on axfr, ixfr, and load
2000-08-04 13:26:48 +00:00
Mark Andrews
512661edd7
370. [bug] The error message for roll forward failures was
...
overly terse.
2000-08-03 21:24:49 +00:00
Michael Graff
cb9aa603ab
wire up the {min,max}-{refresh,retry}-time stuff
2000-08-02 22:29:16 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00