Commit Graph

57 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
07f69609fc log messages should start with lower case letter 2000-08-14 21:59:57 +00:00
Andreas Gustafsson
7e6d32fdba #endif /* NOMINUM_PUBLIC */ was missing the magic comment 2000-08-11 21:51:04 +00:00
James Brister
385a9cb48a 369. [func] Support new named.conf options, view and zone
statements:

				max-retry-time, min-retry-time,
				max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +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
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
James Brister
07919f7bb8 Do a dns_c_iplist_attach first when returning the iplist from also-notify. 2000-07-25 20:16:00 +00:00
Michael Graff
ef653fbdb1 implement 'notify [ yes | no | explicit ]' 2000-07-24 22:59:44 +00:00
James Brister
c35f1e5937 341. [func] Support 'key' clause in named.conf zone masters
statement:

                                masters {
                                        10.0.0.1 port 666 key "foo";
                                        10.0.0.2 ;
                                };
2000-07-21 21:25:01 +00:00
James Brister
029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
James Brister
69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +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
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
James Brister
8977ab7ca0 Zone configuration validation is now done at end of config file parsing,
and before loading callbacks.
2000-05-18 23:20:21 +00:00
James Brister
4932a54ed6 - options named.conf statement *must* now come before any zone or view
statements.

- Post-load of named.conf check verifies a slave zone has non-empty list
  of masters defined.

- New per-zone boolean:

	enable-zone yes | no ;

- intended to let a zone be disabled without having to comment out the
  entire zone statement.

- New global and per-view option:

	max-cache-ttl number

- New global and per-view option:

	addition-data internal | minimal | maximal;
2000-05-15 12:36:33 +00:00
David Lawrence
605c03155a Silence IRIX warning:
"confzone.c", line 445: remark(1552): variable "res" was set but never used

Made *_zone_init functions return void since they all always returned
ISC_R_SUCCESS.
2000-05-13 19:46:26 +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
James Brister
65c9645ca7 Support new 'database' statement in zone.
database "quoted-string";
2000-05-06 10:18:48 +00:00
James Brister
e2cf9c2db3 support 'disabled' statement in zone config (causes
zone to be parsed and then ignored). Currently must
come after the 'type' clause.

support optional ports in masters and also-notify
statements:

	masters [ port xxx ] { y.y.y.y [ port zzz ] ; }

removed some unused arguments.

stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Mark Andrews
716cb5acca notify would only be returned from named.conf if dialup was also set. 2000-04-20 12:43:05 +00:00
James Brister
212cbe386c Fixed case of checking for allow-update and update-policy together.
log message change
2000-04-05 15:21:07 +00:00
James Brister
f2af22c3e0 - Provide routine to check all zone definitions. Currently just looking
for allow-update and update-policy being used together. allow-update
  definition is removed in this case.
- Provide zonelist iterator functions.
2000-03-30 17:21:16 +00:00
James Brister
da47a1b896 Removed listen-on from views.
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.

quote rr types when printing grant/deny statements as they can
clash with config file keywords.

Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
James Brister
0e858455d8 Make sure ssuauth table only goes in master zones. 2000-03-07 21:16:38 +00:00
Brian Wellington
6fcfd0c35d ssutables are now attached/detached; zones get ssutables from config structs 2000-03-06 19:06:07 +00:00
James Brister
017e3665ee Handle new ssutable data in a zone structure. 2000-03-02 20:42:00 +00:00
James Brister
e323a667e0 Replace use of private config type user for server statement with new
dns_peer_t.
Support two forms of server key statement:

	keys "blah";
	keys { "foo" ; };

Non longer build confserv.c
2000-02-24 14:48:30 +00:00
James Brister
d47b32d4b9 Add allow-update-forwarding support to zones. 2000-02-14 17:18:40 +00:00
James Brister
0b73e4eb53 Corrected names of master zone bits checked in
dns_c_zone_getmaxtranstimeout() and dns_c_zone_getmaxtransidleout().
2000-02-12 09:38:08 +00:00
James Brister
e02c75a5b2 Fixed some incorrect error messages.
Support transfer-source-v6 and query-source-v6
2000-02-09 16:50:21 +00:00
Bob Halley
0fffa9dcca update copyright 2000-02-03 23:17:52 +00:00
Mark Andrews
be54c486fa remove unnecessary break 2000-02-02 05:59:59 +00:00
James Brister
f53365b930 Fixed printing of zones so they show up properly when nested inside a
view.
Fixed some typos that were causing incorrect bit-twiddeling.
2000-01-28 23:59:28 +00:00
James Brister
c71fc7ffdd Remove definition and use of dns_c_severity_t and replace with dns_severity_t. 2000-01-28 19:56:25 +00:00
James Brister
6623fba695 Fixed error in printing max_transfer_* values in zones. 2000-01-17 14:46:20 +00:00
Mark Andrews
e7340552be missed a master xfer out change 1999-12-16 01:24:27 +00:00
Mark Andrews
2ea83bcfe5 Stub zones do not transfer out.
Master zones do transfer out.
1999-12-13 05:24:13 +00:00
James Brister
0b8e472452 Support new max-transfer-time-out, max-transfer-idle-in and
max-transfer-idle-out statements in options block and zone statements.
1999-12-11 13:44:46 +00:00
James Brister
0e0be28c8b Added some extra REQUIREs and fixed up some magic number handling. 1999-12-06 18:25:40 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
James Brister
29bf8316a3 - Hold list of pubkeys instead of a single pubkey in zones.
- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
1999-12-01 16:29:00 +00:00
James Brister
17c551bed1 Attach (instead of straight pointer copy) a returned dns_c_ipmatchlist
when pulled from a zone.
1999-11-17 22:28:52 +00:00
James Brister
292031c9fc - Removed config *_delete functions on structures that use reference
counting and replaced with *_detach.
- Changed config *_attach functions to return the new attached value through
  the paramater list rather than as a return value.
- Changed config *_delete functions to no longer allow deletion of a null
  pointer
- Changed calls to the config *_delete functions to make sure no null
  pointers were passed in.
- Changed use of the config *_attach function to match new signature.
1999-11-17 21:52:32 +00:00
James Brister
e42197260c Support forward and forwarders values inside master, slave and stub zones. 1999-11-02 15:49:44 +00:00
James Brister
1a9dbcf032 Save port numbers in host-byte order.
memset unused areas of isc_sockaddr_t
1999-10-28 17:53:16 +00:00
Bob Halley
c03e11d62f eliminate \n in calls to isc_log_write() 1999-10-25 18:51:54 +00:00
James Brister
285ae3ab80 Minor changes to config file generators.
Added a lookup function for server lists.
1999-10-25 09:52:42 +00:00
James Brister
0a3e4adbbc Don't bump reference count when putting a zone in a zonelist. 1999-10-13 17:58:36 +00:00