Commit Graph

67 Commits

Author SHA1 Message Date
James Brister
d85552c450 global lame-ttl option was not being printed when config structures were
written out.
2000-06-09 15:54:26 +00:00
James Brister
47c196192a Rename cache-size config option to max-cache-size and change argument
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
adf8222185 Rename global option cachesize to cache-size and add corresponding option
to view statement.
2000-06-09 08:48:42 +00:00
Andreas Gustafsson
596089957b cachesize was misspelled as cachezie 2000-06-08 17:26:35 +00:00
James Brister
71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
James Brister
c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +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
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
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
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
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Andreas Gustafsson
272a24cf9c did not compile on HPUX due to mixing of isc_int32_t and
isc_uint32_t pointers
2000-04-19 20:04:49 +00:00
Andreas Gustafsson
7ead3746f8 consistent wording in log messages 2000-04-18 00:25:41 +00:00
Andreas Gustafsson
e0d1050c57 use single quotes consistently in log messages 2000-04-18 00:18:38 +00:00
Bob Halley
b65c8325a7 If the user has specified auth-nxdomain, do not warn about the default
being changed.
Fix typo.
2000-04-12 02:04:03 +00:00
James Brister
6abdc5c090 Changes necessary to support server statements inside a view statement. 2000-04-07 17:40:43 +00:00
James Brister
d6dc9759d2 More logging of unimplemented functions.
Change to ipmatchlist accessors (use attach/detach)
macro-ize ipmatchlist field accessors
2000-04-06 20:10:56 +00:00
James Brister
d85dd9de75 Changed log message format to be clearer.
Add call to new function dns_c_viewtable_checkviews() in config post load
checker.
Added missing treat-cr-as-space, min-roots and serial-queries options.
2000-04-06 09:38:32 +00:00
James Brister
aac49d2786 more code condensing 2000-04-05 15:14:23 +00:00
David Lawrence
aa25a4b357 fixed uninitialized variable warning in dns_c_checkconfig 2000-04-04 20:58:51 +00:00
Brian Wellington
7d1d130f4f Don't do post-load validation of zones if there are no zones. 2000-04-04 20:19:13 +00:00
James Brister
c541ac5d5e - Call zone validation routine in post-load check stage. 2000-03-30 17:23:37 +00:00
James Brister
2d212c707f Fixed possible unitialized variable error. 2000-03-29 19:46:44 +00:00
James Brister
3cfa5fedfe Replace bit-setting method for determining if a config file field was set.
Templatized(?) code with macros.
2000-03-29 15:01:14 +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
5475a2d296 Support request-ixfr and provide-ixfr values in options and server
statements.
2000-03-19 02:58:15 +00:00
James Brister
181316e878 Changed named of peerlist printing routine. 2000-03-02 20:40:33 +00:00
James Brister
43f6bac400 Use strings instead of dns_c_category_t. 2000-03-02 03:54:09 +00:00
Andreas Gustafsson
a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
Andreas Gustafsson
6c4d03a6ab disabled redundant default logging configuration code 2000-03-01 20:41:19 +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
cf8cd3a606 Removed acls that are now handled by ipmatch elements types. 2000-02-15 17:00:33 +00:00
Bob Halley
34bbe03b5c the bit test in dns_c_ctx_getforward() was backwards 2000-02-10 20:38:10 +00:00
James Brister
5e742c46a8 Store query-source address and port together.
Get them out together.
Support query-source-v6 dnd transfer-source-v6
2000-02-09 16:39:50 +00:00
Bob Halley
0fffa9dcca update copyright 2000-02-03 23:17:52 +00:00
Andreas Gustafsson
515277c0e8 function was declared static but defined non-static 2000-01-31 22:06:09 +00:00
James Brister
d2935a05b8 Fixed printing for zones in views vs. zones not in any view.
Forwarders and some other option values were incorrectly
dns_c_ipmatchlist_t and a dns_c_iplist_t.
Implement missing ALSO_NOTIFY and TRANSFER_SOURCE option handling.
Fixed some errors in printing out option fields.
2000-01-28 23:45:27 +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
6ca3b786b4 Support new 'tcp-clients' and 'recursive-clients' statements. 2000-01-17 14:41:24 +00:00
James Brister
4e7f42f159 Issue 'not implemented yet' warning when rfc2308-type-1 is used. 2000-01-12 15:05:03 +00:00
James Brister
ce38a4c8d0 Use in_port_t instead of short. 2000-01-06 16:15:29 +00:00
James Brister
4239a56ab2 Added new function dns_c_checkconfig . 1999-12-17 18:29:38 +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