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

471 Commits

Author SHA1 Message Date
Mark Andrews
5758e9adfb 1329. [func] Log that a zone transfer was covered by a TSIG. 2002-06-19 06:47:25 +00:00
Mark Andrews
5991ce4236 remove change #1284 2002-06-13 07:25:25 +00:00
Mark Andrews
7d389c324c 1324. [func] New function: dns_zone_name(). 2002-06-13 07:05:47 +00:00
Mark Andrews
29f5bb81e2 1284. [bug] Memory leak if dns_db_beginload() failed. 2002-05-08 06:51:52 +00:00
Mark Andrews
2eeaed2812 missed one change 2002-04-02 08:04:42 +00:00
Mark Andrews
7791dd06ea 1242. [bug] named-checkzone failed if a journal existed. [RT #2657] 2002-04-02 06:54:07 +00:00
Mark Andrews
f0ffc28f61 1238. [bug] It is possible to lockup the server when shutting down
if a notifies were being processed. [RT #2591]
2002-03-27 04:48:21 +00:00
Mark Andrews
ad611e746d 1226. [func] Use EDNS for zone refresh queries. [RT #2551] 2002-03-11 04:41:53 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Mark Andrews
db18d1997e DNS_ZONEFLG_FLUSH was not being cleared.
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Andreas Gustafsson
b6e20238b6 Fix RT #2309 differently, allowing rather than rejecting empty
also-notify clauses
2002-01-23 02:03:05 +00:00
Brian Wellington
cde7dfea4c 1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
[RT #2394]

Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal.  This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic.  "unfreeze" re-enables dynamic
updates to a zone.

So, instead of the old:
	rndc stop
	edit master file
	remove journal
	restart server
you can now do:
	rndc freeze zone
	edit master file
	rndc reload zone
	rndc unfreeze zone
which doesn't require stopping the server.

About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Brian Wellington
a5c077e40c 1181. [func] Add the "key-directory" configuration statement,
which allows the server to look for online signing
			keys in alternate directories.
2002-01-21 11:00:25 +00:00
Mark Andrews
b7064914ca 1177. [func] Report view when loading zones if it is not a
standard view (_default or _bind). [RT #2270]
2002-01-15 06:42:15 +00:00
Mark Andrews
5af6873693 tag slave zones when loading 2001-12-11 20:52:41 +00:00
Mark Andrews
e23cb8a303 RUNTIME_CHECK(dns_rdata_tostruct())
if isc_time_add() fails, issue warning message and retry with a half interval,
this should only happen if we are approaching time wrap around (2038 for UNIX
systems).
2001-12-05 03:21:23 +00:00
Mark Andrews
fefbb64a75 1155. [func] Recover from master files being removed from under
us.
2001-12-04 05:17:53 +00:00
Andreas Gustafsson
1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Mark Andrews
3e42bdfdc9 1116. [bug] Setting transfers in a server clause, transfers-in,
or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
2001-11-09 04:21:58 +00:00
Andreas Gustafsson
1ae369c9d2 some variables that should have been static weren't 2001-10-23 01:49:35 +00:00
Mark Andrews
07eaf0b8d0 1060. [func] Move UDP retry processing into dns_request. 2001-10-18 06:12:04 +00:00
Mark Andrews
ada9b8ab20 1045. [bug] It was possible to skip saving glue for a nameserver
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
36a91ab163 Don't send notifies to mapped addresses. 2001-09-17 14:04:32 +00:00
Andreas Gustafsson
115019ee2c replay the journal on the initial load only,
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4 991. [func] Lower UDP refresh timeout messages to DEBUG(1). 2001-09-12 03:46:32 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Mark Andrews
e6e233e73f remove extranous debugging 2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade Call dns_master_dumpinc() for "regular" dumps. 2001-09-05 14:13:29 +00:00
Mark Andrews
c6b5faa001 remove extraneous UNUSED(). 2001-09-04 14:27:42 +00:00
Mark Andrews
bae5d9fcb4 977. [bug] Improve "not at top of zone" error message. 2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96 zone_settimer() nolonger needs to calculate the interval between two times.
[RT #1691]
2001-09-03 01:21:19 +00:00
Andreas Gustafsson
0674850fcb in dns_zone_notifyreceive(), the variable 'now' was
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648 in zone_settimer(), it seems cleaner to check whether
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews
cfa3ab7f89 Timers now use isc_time_t rather than isc_stdtime_t.
zone->expiretime now has a consistant epoch [RT #1686]
2001-08-31 02:01:56 +00:00
Mark Andrews
6668eca26b 972. [bug] The file modification time code in zone.c was using the
wrong epoch.  [RT #1667]
2001-08-30 06:48:43 +00:00
Mark Andrews
bd3091eb7d compact journals on succesful dumps to the zone file. 2001-08-30 05:24:44 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Mark Andrews
2033e30585 940. [bug] Double zone locking failure on error path. [RT #1510] 2001-07-19 05:08:03 +00:00
Mark Andrews
0176adc7c5 937. [bug] A race when shutting down a zone could trigger a
INSIST() failure. [RT #1034]
2001-07-17 02:49:44 +00:00
Mark Andrews
39ebcd5955 #927
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Brian Wellington
b6d7e96688 LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK 2001-07-11 19:12:53 +00:00
Mark Andrews
e9596e1fb3 927. [bug] Don't hold the zone lock for the entire dump to disk.
[RT #1423]
2001-07-11 05:20:26 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
50097b38c0 830. [func] Implement 'rndc status'. 2001-05-14 20:44:16 +00:00
Brian Wellington
ecf4962155 more of 'rndc status' 2001-05-14 19:06:47 +00:00
Andreas Gustafsson
a9ef485446 If IXFR fails, fall back to AXFR 2001-05-10 17:51:49 +00:00
Mark Andrews
69d44b2f5a 825. [bug] zone.c:ns_query() detached from the wrong zone
reference.  [RT #1263]
2001-05-09 05:20:28 +00:00