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
Brian Wellington
f91e126d21
Allow zones with no NS records to be loaded and/or transferred in. Log
...
an error if the zone is loaded, but continue anyway.
2000-07-28 20:13:47 +00:00
Andreas Gustafsson
7edcf7abdf
added INSISTs and comments to notify code
2000-07-28 19:32:57 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Michael Sawyer
761a1c3761
Add sanitizer and hide per-master key code behind sanitizing #ifdefs
2000-07-26 18:47:43 +00:00
Michael Sawyer
8cfe1a4846
Typo correction in DNS_MAX/MIN_RETRY usage
...
Don't #define mins/maxes if they are already defined. (per MG)
2000-07-25 19:29:00 +00:00
Michael Graff
ef653fbdb1
implement 'notify [ yes | no | explicit ]'
2000-07-24 22:59:44 +00:00
Michael Sawyer
2f0bfccf31
Remove dead REQUIRE
2000-07-22 00:40:39 +00:00
Michael Sawyer
f592550498
Add comments and make a slight REQUIRE change
2000-07-22 00:27:40 +00:00
Michael Sawyer
0371079513
Wire up key option in masters line.
2000-07-21 23:13:59 +00:00
Brian Wellington
c27767a7b9
tsig keys were not properly ref counted
2000-07-21 23:00:31 +00:00
Michael Sawyer
b6e3718b20
Should really allocate memory before trying to use it.
2000-07-21 20:51:44 +00:00
Michael Sawyer
5813d091e9
Spacing changes
...
replace memset with slightly more portable NULL initialization
properly NULL masterkeynames when zone is created
2000-07-21 20:10:03 +00:00
Michael Sawyer
9b72c4648f
Internal code for masters with key entries. Not wired into config yet.
2000-07-21 18:47:23 +00:00
Brian Wellington
d6e6858bb9
If dns_request_getresponse() fails, log it.
2000-07-20 19:34:16 +00:00
Brian Wellington
2e1236ad1e
Call isc_log_wouldlog()
2000-07-13 00:30:58 +00:00
Andreas Gustafsson
403cc93b27
typo in log message
2000-07-11 22:44:33 +00:00
Mark Andrews
3cf456d58e
zone_get_from_db() now does as much as is possible.
2000-07-04 04:21:38 +00:00
Brian Wellington
9e37579870
Check that zone->view is not NULL before checking that zone->view->adb is not
...
NULL. It appears that zone maintenance can occur when the zone is shutting
down and the view pointer is NULL. We don't want to do zone maintenance in
this case.
2000-07-04 01:32:40 +00:00
Andreas Gustafsson
d8560fb7ff
[RT #155 ]
...
305. [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 tentatively created zones whose
views were never fully configured and lacked
an address database.
2000-07-03 20:21:53 +00:00