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
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
Mark Andrews
0deebcd15a dns_master_load*() age_ttl -> options word 2001-01-05 03:12:45 +00:00
Mark Andrews
3dbdaa791c don't move expired zones sideways.
use the journal modification time if it is available for for last update time
2001-01-05 00:51:04 +00:00
Brian Wellington
efcd383461 Update forwarding when the message buffer was no longer copied. Fix this
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Mark Andrews
f7e900edbc 652. [bug] zone_saveunique() did not report the new name. 2001-01-04 04:10:59 +00:00
Mark Andrews
55a7fc9d8f When a zone expires move the on disk cache (if any) sideways. 2001-01-02 04:45:24 +00:00
Mark Andrews
02bad0bd51 fix lock heirachy in zone_shutdown() 2000-12-29 13:20:46 +00:00
Mark Andrews
253ab81bf2 642. [bug] Break the exit_check() race in the zone module.
[RT #598]
2000-12-29 01:04:10 +00:00
Mark Andrews
de154f65f6 Ensure that ns_client_*() are only called from the client's task. 2000-12-28 01:29:09 +00:00
Mark Andrews
6cc5eac41b more unlocked calls to cancel_refresh(). 2000-12-22 05:55:20 +00:00
Mark Andrews
bd5f2ac188 630. [bug] locking failure in zone code. [RT #582] 2000-12-22 02:43:42 +00:00
Andreas Gustafsson
91b4560baa zone timer was using the wrong task [RT #571] 2000-12-20 01:27:50 +00:00
David Lawrence
3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6 make dns_zone_load work w/o being managed.
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a oops, an ifdef should have been an ifndef 2000-12-13 01:42:23 +00:00
David Lawrence
10e6498d6d * Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
never returned by any function and was presumably cruft
        related to max-names).
  * Made allow-notify part of the public source and documented it.
  * Made master server TSIG keys part of the public source and documented it.
  * Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
        the approval of Mike.
  * Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
        public source.  After the NOMINUM_PUBLIC cleanup, I'll
        fix the rndc reload issues we've been discussing here at IETF.

I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e more locking 2000-12-11 19:21:15 +00:00
Mark Andrews
10f89d2f83 additional comments 2000-12-08 19:34:06 +00:00
Mark Andrews
a31ede78c8 Added locking check + some additional locks. 2000-12-07 03:13:01 +00:00