2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-24 11:08:45 +00:00

266 Commits

Author SHA1 Message Date
Andreas Gustafsson
657a6a6f3c some unimplemented options were not marked as such in the grammar summary output 2001-07-26 21:27:51 +00:00
Brian Wellington
ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Danny Mayer
dfca19a1aa Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations 2001-07-23 05:00:44 +00:00
Andreas Gustafsson
33654a83db const correctness [RT #1011] 2001-07-23 00:23:30 +00:00
Andreas Gustafsson
96ed624253 923. [bug] Multiline TSIG secrets (and other multiline strings)
were not accepted in named.conf. [RT #1469]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
37c961df41 extra space in error message string 2001-07-03 17:12:19 +00:00
Mark Andrews
b8c618c852 remove unreachable code.
move&correct error statement.
2001-07-03 07:43:02 +00:00
Andreas Gustafsson
2b8e5a5254 errors were logged as warnings and vice versa 2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3 added ISC_FORMAT_PRINTF checks 2001-07-02 17:05:46 +00:00
Andreas Gustafsson
97e1692460 New function cfg_print_grammar(), which generates a human-readable
summary of the grammar for a given configuration type from its syntax
tables.  Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Andreas Gustafsson
56877490bc 865. [bug] The new configuration parser did not allow
the optional debug level in a "severity debug"
                        clause of a logging channel to be omitted.
                        This is now allowed and treated as "severity
                        debug 1;" like it did in BIND 8.2.4, not as
                        "severity debug 0;" like it did in BIND 9.1.
                        [RT #1367]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
8b9fa5b005 redid RT #1353 fix in 1.53 so that it does not free
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Mark Andrews
989f808405 851. [cleanup] support-ixfr is obsolete, use request-ixfr. 2001-06-01 15:17:19 +00:00
Brian Wellington
cf74d05a50 840. [bug] The config file parser could print the wrong file
name if an error was detected after an included file
			was parsed. [RT #1353]
2001-05-28 06:05:24 +00:00
Andreas Gustafsson
120cf12320 folded lines >80 chars; added comments; removed some unused code 2001-05-09 03:17:02 +00:00
Brian Wellington
d7ba3622ff 794. [func] Implement the "port" and "default-port" statements
in rndc.conf.
2001-03-28 00:16:09 +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
Andreas Gustafsson
1824b43f62 parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
an assertion
2001-03-21 19:01:36 +00:00
Brian Wellington
54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Bob Halley
d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Andreas Gustafsson
52c17deb58 some variables which should have been static weren't 2001-03-14 00:30:06 +00:00
Andreas Gustafsson
b31c8af1d9 name libisccfg logging functions consistently with
other libisccfg functions [RT #1020]
2001-03-13 03:04:09 +00:00
Brian Wellington
d25dd5b056 770. [func] Add the "edns yes_or_no" statement to the server
clause. [RT #524]
2001-03-06 23:54:37 +00:00
Andreas Gustafsson
2c476880d6 parse_sockaddrsub() assumed current token was string
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington
72b7d215f7 The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
callback wasn't executed. [RT #978]
2001-03-06 18:17:52 +00:00
Andreas Gustafsson
3ee9853eb4 return sizes as 64-bit integers, not strings 2001-03-03 02:18:13 +00:00
Andreas Gustafsson
0d453b0ef2 'versions' and 'size' are not log channel clauses 2001-03-03 01:08:02 +00:00
Andreas Gustafsson
d39e9cdfd0 logging statement file clause syntax was still wrong 2001-03-03 00:52:39 +00:00
Andreas Gustafsson
fac0a17b66 fix syntax of the logging statement file clause 2001-03-02 20:00:17 +00:00
Brian Wellington
bdc79a7164 The constants CFG_CLAUSEFLAG_NEWDEFAULT and CFG_CLAUSEFLAG_NYI should have
different values.
2001-03-02 07:03:55 +00:00
Andreas Gustafsson
58fd5050ce check enumerated values 2001-03-02 01:10:51 +00:00
Andreas Gustafsson
37928634f4 don't print extra spaces at omitted optional fields 2001-03-01 03:22:12 +00:00
Andreas Gustafsson
36b810d77a the 'keys' clause of the 'controls' statement is optional 2001-03-01 03:10:08 +00:00
Andreas Gustafsson
478f0ca6b3 revert previous change - it breaks default resolution 2001-03-01 00:08:58 +00:00
Andreas Gustafsson
38c6d5d57b check for attempts to retrieve nonexistent map clauses 2001-03-01 00:01:23 +00:00
Brian Wellington
999c7e9e33 There can be multiple "lwres" statements. 2001-02-28 23:56:08 +00:00
Andreas Gustafsson
088a25086a warn about attempts to configure control channels of the
unimplemented 'unix' type
2001-02-28 20:40:48 +00:00
Andreas Gustafsson
f565623991 parsing the 'controls' statement is now table driven; each
'controls' statement is a map with the clauses 'inet' and 'unix'
2001-02-28 19:54:10 +00:00
Brian Wellington
948113671b cfg_list_first() now returns NULL if the list is NULL. 2001-02-27 01:49:46 +00:00
Andreas Gustafsson
d011c10d8a the name of a 'server' map is now a network address, not a string;
avoid infinite loop when parsing a bad ACL element
2001-02-27 01:31:56 +00:00
Andreas Gustafsson
0b6849487f cfg_type_keyref needs to be public 2001-02-26 22:55:55 +00:00
Andreas Gustafsson
9fa6e90569 new function cfg_obj_istype(); the sole tuple field of negated acls is now
called 'value', not 'acl'; rationalized representation of key references and
debug levels
2001-02-26 22:37:34 +00:00
Andreas Gustafsson
0136b4ef55 new functions cfg_obj_isnetprefix(), cfg_obj_asnetprefix() 2001-02-26 19:15:12 +00:00
Andreas Gustafsson
681780f044 represent negated acls as one-element tuples rather than a special
primitive type
2001-02-26 18:58:36 +00:00
Brian Wellington
6fd0827482 Remove notify forwarding. 2001-02-24 00:59:00 +00:00
David Lawrence
f6d45c9539 missing va_start() in cfg_obj_log() 2001-02-23 04:52:29 +00:00
Andreas Gustafsson
4428702688 the values of the notify and dialup options may now be of either boolean or
string types; added cfg_obj_is*() functions for determining the type of a configuration object;
reordered some functions in parser.c
2001-02-23 00:15:55 +00:00
Brian Wellington
fba7c63ea4 add cfg_obj_assockaddr 2001-02-22 23:59:28 +00:00
Andreas Gustafsson
a9be709e8e cfg_obj_log now takes a log context instead of a parser 2001-02-22 20:41:43 +00:00
Brian Wellington
325b200123 support the cache-file option 2001-02-22 05:45:28 +00:00