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
Mark Andrews
6f80859318 1530. [bug] It was possible to trigger a INSIST() failure if a
slave master file was removed a just the correct
                        moment. [RT #9462]
2003-11-04 05:23:31 +00:00
Mark Andrews
2eb9c41504 1529. [bug] "notify explict;" failed to log that NOTIFY messages
were being sent for the zone. [RT# 9442]
2003-11-03 23:40:24 +00:00
Mark Andrews
fcb54ce0a4 whitespace / layout 2003-10-17 03:46:46 +00:00
Tatuya JINMEI 神明達哉
600cbd1fce 1515. [func] Allow transfer source to be set in a server statement.
[RT #6496]

implemented by marka, reviewed and documented by jinmei.
Notes:
  lib/dns/zone.c had to be modified manually.
  ARM html files were not regenerated (yet).
2003-09-25 18:16:50 +00:00
Mark Andrews
fbc27dfec6 don't fallback to tcp on refused for stub zones. [rt#8945] 2003-09-24 01:03:37 +00:00
Mark Andrews
cc083bb703 sizeof style 2003-09-11 01:49:18 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews
afbb7b15ae Only fall back to TCP for slave zones if UDP refresh queries fail.
[RT #8253]
2003-07-21 01:11:29 +00:00
Mark Andrews
c676c1b497 1487. [bug] A REQUIRE() failure could be triggered if a zone was
queued for transfer and the zone was then removed.
                        [RT #6189]
2003-07-18 02:54:23 +00:00
Mark Andrews
3ca4b8062f 1481. [bug] Refresh and stub queries failed to use masters keys
if specified. [RT #7391]
2003-07-17 07:05:12 +00:00
Mark Andrews
9c1eb2279d 1477. [bug] memory leak using stub zones and TSIG. 2003-07-01 03:51:30 +00:00
Mark Andrews
c8af2c78dd Use LOCK_ZONE/UNLOCK_ZONE. 2003-06-06 06:09:39 +00:00
Mark Andrews
7767c2a7aa try tcp axfr/ixfr even if refresh fails/refused. 2003-05-21 14:15:32 +00:00
Mark Andrews
ceb514ea0c zone->masterscnt was being zero'd rather than zone->curmaster = 0 2003-05-14 02:41:17 +00:00
Mark Andrews
64655588e7 use-alt-transfer-source when the master refused soa queries. [RT #5528] 2003-04-22 04:03:25 +00:00
Mark Andrews
1a4d687359 1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
2003-04-17 12:11:39 +00:00
Tatuya JINMEI 神明達哉
c596c075f9 rt #5222: useing a wrong return type for isc_file_exists().
developer: marka
reviewer: jinmei
2003-03-23 13:18:53 +00:00
Mark Andrews
476386968b 1446. [func] Implemented undocumented alternate transfer sources
from BIND 8.  See use-alt-transfer-source,
                        alt-transfer-source-v4 and alt-transfer-source-v6.

                        SECURITY: use-alt-transfer-source is ENABLED unless
                        you are using views.  This may caues a security risk
                        resulting in accidental disclosure of wrong zone
                        content if the master supplying different source
                        content based on IP address.  If you are not certian
                        ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
c3ea698877 1436. [func] dns_zonemgr_resumexfrs() can be used to restart
stalled transfers.

1435.   [bug]           zmgr_resume_xfrs() was being called read locked
                        rather than write locked.  zmgr_resume_xfrs()
                        was not being called if the zone was being
                        shutdown.

1434.   [bug]           "rndc reconfig" failed to initiate the initial
                        zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
9368d7df83 1433. [bug] named could trigger a REQUIRE failure if it could
not get a file descriptor when attempting to write
                        a master file. [RT #4347]
developer: marka
reviewer: explorer
2003-02-26 03:06:46 +00:00
Mark Andrews
e70b069e38 spelling 2003-02-07 01:54:56 +00:00
Mark Andrews
a1301ef891 undo (wrong branch) 2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504 checkpoint 2003-02-04 05:44:32 +00:00
Mark Andrews
49a940dc68 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Mark Andrews
2945ac15af 1385. [bug] Setting serial-query-rate to 10 would trigger a
REQUIRE failure.
2002-09-30 06:37:49 +00:00
Mark Andrews
75ace6601e 1379. [func] 'rndc stats' now reports tcp and recursion quota
states.

1378.   [func]          Improved positive feedback for 'rndc {reload|refresh}.

1377.   [func]          dns_zone_load{new}() now reports if the zone was
                        loaded, queued for loading to up to date.

1376.   [func]          New function dns_zone_logc() to log to specified
                        category.
2002-09-10 02:23:46 +00:00
Michael Graff
c68b63e0be change many debug(3) to debug(1), and several debug(*) to info 2002-09-08 18:37:47 +00:00
Mark Andrews
1feb76edcb 1355. [tuning] Reduce the number events / quantum for zone tasks. 2002-08-06 02:16:09 +00:00
Mark Andrews
87f4715d6c 1344. [func] Log if the serial number on the master has gone backwards.
If you have multiple machines specified in the masters
                        clause you may want to set 'multi-master yes;' to suppress
                        this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
f6ff008101 1340. [bug] Delay and spread out the startup refresh load. 2002-07-26 06:27:31 +00:00
Mark Andrews
4d9f3f00d9 1249. [func] named-checkzone will now check if nameservers that
appear to be IP addresses.  Available modes "fail",
                        "warn" (default) and "ignore" the results of the
                        check.
2002-07-19 02:34:58 +00:00
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