Commit Graph
390 Commits
Author SHA1 Message Date
Mark Andrews 73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Andreas Gustafsson d8f67a1d88 pullup:
Fix RT #2309 differently, allowing rather than rejecting empty
 also-notify clauses
2002-01-23 02:05:42 +00:00
Andreas Gustafsson 63d380e078 pullup:
1116.   [bug]           Setting transfers in a server clause, transfers-in,
                        or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
(Technically, this is an API change, but since it only changes the signedness of some
function parameters, it is still binary compatible in practice and I'll let it slip
by without bumping the major library version number)
2001-11-13 18:57:14 +00:00
Mark Andrews 3a0f5543c9 pullup:
some variables that should have been static weren't
2001-10-23 02:42:00 +00:00
Andreas Gustafsson 7779b6cbf6 pullup:
1045.   [bug]           It was possible to skip saving glue for a nameserver
                        for a stub zone.
2001-10-11 17:20:40 +00:00
Andreas Gustafsson 7ee450d5f6 pullup:
972.   [bug]           The file modification time code in zone.c was using the
                        wrong epoch.  [RT #1667]
(This pullup includes not only the changes to zone.c, but all the
recent epoch-related fixes)
2001-09-05 00:38:13 +00:00
Andreas Gustafsson 89227c76be pullup:
977.   [bug]           Improve "not at top of zone" error message.
2001-09-04 22:51:41 +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
Andreas Gustafsson 9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Mark Andrews ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +00:00
Andreas Gustafsson cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +00:00
Brian Wellington 8865eeaf14 Don't log a generic "sending notifies" message if there are no servers to
be notified.
2001-04-10 19:19:49 +00:00
Mark Andrews 86529bb697 806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Brian Wellington ec56b96c79 log sending of notifies at info level, and include the serial number. Also
clean up some weird code. [RT #1088]
2001-03-28 23:36:53 +00:00
Brian Wellington 6eccf5bd07 788. [feature] Add the "match-mapped-addresses" options, which
causes IPv6 v4mapped addresses to be treated as
			IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington 0a10d7722e remove comment referring to dead code. 2001-03-26 21:11:33 +00:00
Andreas Gustafsson c52683ae45 'serial-query-rate 1;' caused an assertion failure 2001-03-23 00:33:28 +00:00
Brian Wellington 54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Brian Wellington ae00b82d93 spelling 2001-03-01 17:46:59 +00:00
Mark Andrews a93cf7e83b 756. [bug] dns_zone_load() could "return" success when no master
file was configured.

 755.   [bug]           Fix format bugs in zone.c (non-exploitable).
2001-02-26 01:45:57 +00:00
Brian Wellington 6fd0827482 Remove notify forwarding. 2001-02-24 00:59:00 +00:00
Mark Andrews 903e9d41ef 751. [func] Log successful zone loads / transfers. 2001-02-23 22:32:07 +00:00
Andreas Gustafsson 65a66336a6 redid configuration locking using isc_task_beginexclusive()
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Mark Andrews 9b6398efdf re-do #734 2001-02-12 03:03:40 +00:00
Mark Andrews 4dc2987f47 used the wrong xfr in #734 2001-02-11 02:23:12 +00:00
Mark Andrews 80aba3d49a 734. [bug] An attempt to re-lock the zone lock could occur if
the zone was shutdown during a zone tranfer. [RT #830]
2001-02-09 06:04:55 +00:00
Mark Andrews 8e68489885 722. [func] Allow n/named/server.cincrememtal loads to be canceled.
721.   [cleanup]       Load manager and dns_master_loadfilequota() are no
                        more.
2001-02-01 21:29:41 +00:00
Mark Andrews ec4f7c6d0f 719. [bug] Rapid reloads could trigger an assertion failure.
[RT #743]
2001-01-31 05:22:55 +00:00
Brian Wellington 63ca494e7e Added the isc_refcount_t type, which is a generic locked reference counter,
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock.  In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews 1a2b3fbeb1 don't attempt to refresh while loading. 2001-01-25 02:30:21 +00:00
Andreas Gustafsson c271488682 706. [bug] Zones with an explicit "allow-update { none; };"
were considered dynamic and therefore not reloaded
                        on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Andreas Gustafsson d36250a1b2 include zone.c function names in debug log messages only;
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Andreas Gustafsson 6c90ca893c quote substituted parts of log messages with single quotes,
not double quotes
2001-01-17 00:16:20 +00:00
Andreas Gustafsson 8116149a05 if the adb had ever returned addresses of a family
other than AF_INET or AF_INET6, there would have been a memory leak
2001-01-11 20:31:31 +00:00
Brian Wellington a83405a85f zone_idetach() should be static. 2001-01-11 08:10:47 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Michael Sawyer bff300be6b Check that zone->zmgr is non-null before dereferencing 2001-01-09 00:51:53 +00:00
Mark Andrews 5bb4ceb2a6 668. [func] named-checkzone now reports multiple errors in master
files.
2001-01-09 00:43:24 +00:00
Andreas Gustafsson ca247cd9af indentation 2001-01-05 22:09:02 +00:00