Commit Graph

110 Commits

Author SHA1 Message Date
Mark Andrews
8249eee42a notify-any to allow-notify conversion.
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +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
59d1ce0b01 don't try to configure a max-names option for stub zones 2000-08-14 21:47:42 +00:00
Andreas Gustafsson
d5e72d5dba signed/unsigned mismatch 2000-08-14 03:50:59 +00:00
Brian Wellington
64fa945ab6 The default value of zone->maxnames should be 0, not DNS_ZONE_MINRETRY (?) 2000-08-10 16:57:25 +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
Andreas Gustafsson
7048bc2b71 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:14:29 +00:00
Michael Graff
dd7682a5de only check in the view if it isn't NULL 2000-08-03 00:41:26 +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
Michael Graff
b4dfb47474 whitespace police 2000-07-31 19:36:48 +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
Brian Wellington
7e0d7323d7 Detach from the iplist obtained from *_getalsonotify. 2000-07-25 20:26:11 +00:00
Michael Graff
ef653fbdb1 implement 'notify [ yes | no | explicit ]' 2000-07-24 22:59:44 +00:00
Michael Sawyer
0371079513 Wire up key option in masters line. 2000-07-21 23:13:59 +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
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Mark Andrews
0791b485bf DNS_ZONE_F_???? -> DNS_ZONEFLG_????
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
James Brister
029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
Mark Andrews
ac3b769801 232. [bug] Allow slave zones to not have a file. 2000-06-05 03:44:17 +00:00
Andreas Gustafsson
11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
Andreas Gustafsson
b3352f568a removed outdated comment 2000-06-01 22:34:03 +00:00
Andreas Gustafsson
92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Brian Wellington
5f80c1428b Don't leak memory when reloading the zone if an update-policy clause was
present in the old zone.
2000-05-26 00:48:59 +00:00
Andreas Gustafsson
1adb2e87a2 Cleaned up dns_zone_configure():
- Eliminated massive code duplication

 - Eliminated code for configuring forward and hint "zones",
   as those no longer have zone objects.  Left stub zones in
   because those probably will have zone objects associated
   with them.

 - Fixed several bugs:
   + 'allow-transfer' was not obeyed for slave zones or stub zones
   + 'dialup' was not obeyed for stub zones
   + 'transfers-per-ns' was not obeyed for any zones
2000-05-25 19:27:48 +00:00
Andreas Gustafsson
c90b021ea3 renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
Andreas Gustafsson
f1248b6383 use isc_sockaddr_any(), isc_sockaddr_any6() 2000-05-25 05:13:19 +00:00
David Lawrence
6028d1ce03 Needs string.h for function prototypes. For some reason gcc and other
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Mark Andrews
37cf280f49 port is no longer used 2000-04-28 17:50:56 +00:00
Mark Andrews
598b67856b dns_zone_{set,get}masterport() is gone. 2000-04-28 17:18:23 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Mark Andrews
6c7e680943 115. [cleanup] libdns.a changes:
dns_zone_clearnotify() and dns_zone_addnotify()
                        are replaced by dns_zone_setnotifyalso().
                        dns_zone_clearmasters() and dns_zone_addmaster()
                        are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +00:00
Mark Andrews
4035d33250 apply #69 to just committed also-notify 2000-04-21 02:17:55 +00:00
Mark Andrews
3e8a8028a4 dialup and notify apply to slave zones as well. 2000-04-21 02:14:33 +00:00
Andreas Gustafsson
b78f21115c apply view and global defaults for 'max-transfer-idle-out' option
in the correct order
2000-04-21 00:20:22 +00:00
Andreas Gustafsson
ade06bd257 support view and global defaults for 'notify' option 2000-04-21 00:18:23 +00:00
Andreas Gustafsson
e4e183af57 the zone object's master and also-notify lists grew longer with each reload 2000-04-20 20:58:50 +00:00
Mark Andrews
9e53cbca72 Add UDP refresh queries.
Generate NOTIFY messages.
2000-04-18 11:43:46 +00:00
Andreas Gustafsson
e82d19b0c7 wired up view options: max-transfer-time-out, max-transfer-idle-out 2000-04-07 18:16:02 +00:00
Andreas Gustafsson
cb284e7bd4 wired up view options: transfer-source, transfer-source-v6 2000-04-07 17:27:22 +00:00
Andreas Gustafsson
2e91b1f3d4 configuring zone acl from default view caused assertion failure 2000-04-07 00:51:32 +00:00
Andreas Gustafsson
a672bfbee4 wired up view options: allow-query, allow-recursion, allow-transfer 2000-04-06 23:59:19 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
James Brister
c47baa985c Name change to two config file functions. 2000-04-06 20:08:34 +00:00
Brian Wellington
6fcfd0c35d ssutables are now attached/detached; zones get ssutables from config structs 2000-03-06 19:06:07 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
a7e803adb0 obey the new transfer-source-v6 config options 2000-02-09 19:04:26 +00:00
Andreas Gustafsson
cd3674b4b2 don't configure the zone's query ACL twice 2000-02-07 22:01:05 +00:00