Commit Graph
265 Commits
Author SHA1 Message Date
Brian Wellington de58ecaa9c Treat undefined acls as an error, rather than warning and then later
throwing an assertion.
2000-08-11 00:20:59 +00:00
Brian Wellington c18730e2c0 Protect all of the max-names stuff with NOMINUM_PUBLIC 2000-08-08 23:04:55 +00:00
David Lawrence a31bdafd5c Some seds do not support ? in regexps. 2000-08-03 15:29:40 +00:00
David Lawrence 5ba268d2ab Solaris yacc puts "#line" directives as "# line", so remove the latter as the
former already is on other platforms.
Also reduce Solaris const warnings by fixing the structure definition of
yytoktype and the declaration of yyreds.
2000-08-03 14:03:43 +00:00
Andreas Gustafsson 44f1473596 conform to style guide in use of sizeof() 2000-08-02 21:58:19 +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 c037bf9c8e My last change caused new warnings on systems that were already making the
text arrays const.
2000-08-01 19:12:10 +00:00
Michael Graff 5ffd3b6473 rewrite bits of strange code. Now xfer-00 doesn't crash. 2000-08-01 14:48:59 +00:00
David Lawrence 15b196c28e Signficantly reduced the const warnings from confparser.c.
I did not copy this to all platforms to test it everywhere, but I will keep
an eye on the build status page to be sure it did not mess up anything else.
2000-08-01 14:34:11 +00:00
Michael Sawyer a4c4df8be7 Expand out NOMINUM_PUBLIC test-out by one instruction. 2000-08-01 14:12:58 +00:00
Michael Graff 4421383e30 only dereference l->keys if it isn't NULL 2000-08-01 13:53:38 +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 6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
Michael Graff 0eeabc1399 remove trailing blank lines 2000-07-31 19:35:31 +00:00
Andreas Gustafsson 98a5693ce7 removed unused variable debug_lexer 2000-07-28 19:33:29 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Michael Sawyer a53151d995 Fix up some of the sanatize code and make kits correctly 2000-07-26 23:40:22 +00:00
Michael Sawyer 761a1c3761 Add sanitizer and hide per-master key code behind sanitizing #ifdefs 2000-07-26 18:47:43 +00:00
James Brister 6e1de1f55b When unsetting option strings pointer wasn't being NULLed. 2000-07-26 15:21:04 +00:00
Andreas Gustafsson ec34015017 dns_c_view_getalsonotify() should attach the list
like both the global and per-zone counterparts now do
2000-07-25 22:38:29 +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
James Brister d4ab9cd94f 348. [func] New named.conf boolean values 'glue-from-auth' and
'glue-from-cache' now supported in view and global
			options statement.
2000-07-25 17:55:43 +00:00
Andreas Gustafsson 516b9de0d9 eliminated needless code duplication between
the yea_and_nay and notify_setting grammar rules
2000-07-24 23:32:31 +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 4ca8537286 Removed some debugging cruft.
Fixed handling of octal/hexadecimal numbers on input.
2000-07-18 13:19:27 +00:00
Andreas Gustafsson 2c24bbb10b clarified warning messages 2000-07-12 16:17:38 +00:00
James Brister 8af589aea3 It's no longer a fatal error if a keys{} clause is missing on a control
channel definition, nor if the keys{} clause is empty. Warnings are
issued.
2000-07-12 15:36:09 +00:00
James Brister f4d9f465cd 327. [bug] rndc.conf parser wasn't correctly recognising an IP
address where a host specification was required.
2000-07-11 20:13:09 +00:00
James Brister adade77942 326. [func] 'keys' in an 'inet' control statement is now
required and must have at least one item in it.

                        warning is issued if a 'unix' control channel is
                        defined (not supported).
2000-07-11 19:09:10 +00:00
David Lawrence d4868faf3f removed the port member from dns_c_ctrl_t; the port is put in the sockaddr. 2000-07-10 11:28:31 +00:00
David Lawrence 838281ed55 318. [func] dns_c_ndcctx_destroy() could never return anything
except ISC_R_SUCCESS; made it have void return instead.
2000-07-10 11:27:12 +00:00
James Brister 475c936d4c 314. [func] Inet controls named.conf statement can now have
any non-negative number of keys specified.
2000-07-07 23:11:48 +00:00
James Brister b4124351ad typo in printing additional-data definition.. 2000-07-07 22:57:53 +00:00
James Brister 524c8ea0dc typo in print statement. 2000-07-07 14:30:00 +00:00
James Brister 952e9025b0 310. [func] Changes to named.conf "controls" statement (inet
subtype only)

                          - support "keys" clause

                                controls {
                                   inet * port 1024
                                        allow { any; } keys { "foo"; }
                                }

                          - allow "port xxx" to be left out of statement,
                            in which case it defaults to omapi's default port
                            of 953.
2000-07-07 13:56:14 +00:00
David Lawrence c7c2522a32 query-replace-o in error message; no need to pull up since no code in 9.0.0
will use the function in which the error appears
2000-07-04 01:29:48 +00:00
Brian Wellington e405739af2 297. [bug] Specifying a key name that wasn't fully qualified
in certain parts of the config file could cause
                        an assertion.
2000-06-30 15:39:23 +00:00
Andreas Gustafsson c4bf0b3906 don't issue warnings saying max-ncache-ttl and max-cache-ttl are
not yet implemented, because they are
2000-06-27 21:33:20 +00:00
James Brister 406ce0cd96 281. [bug] fixed list of recognised config file category names. 2000-06-23 22:30:02 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 28d9fd5381 update_copyrights 2000-06-21 22:45:24 +00:00
James Brister 58c42ee18c 263. [func] New logging channel type 'stderr'
channel some-name {
                                        stderr;
                                        severity error;
                                }
2000-06-20 21:36:49 +00:00
Brian Wellington 4e3316d1b7 isc_log_write called with extra parameter, typos 2000-06-19 17:41:42 +00:00
James Brister 0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
James Brister bedfa169b4 fixed handling of size+unit when value would be too large for internal
representation.

max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
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