Andreas Gustafsson
fe5146716e
host-statistics is not implemented,
...
maintain-ixfr-base is obsolete [RT #1717 ]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
2c141ce0fb
pullup:
...
975. [bug] "max-cache-size default;" as a view option
caused an assertion failure.
974. [bug] "max-cahe-size unlimited;" as a global option
was not accepted.
2001-09-04 19:15:36 +00:00
Andreas Gustafsson
847ed3fccf
new configuration data type cfg_type_sizenodefault,
...
which can be a size or the string 'unlimited' but not the string
'default'. This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f
allow setting a default max-journal-size in the options or view
2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe
call the new option for setting the maximum journal
...
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
cc0a5f7142
journal-size can now be set from named.conf
2001-08-30 05:23:00 +00:00
cvs2git
92e662f530
This commit was manufactured by cvs2git to create branch 'v9_3'.
2001-08-30 04:33:22 +00:00
Andreas Gustafsson
b21320abb5
brace style
2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05
Added support for key for win32
2001-08-06 05:34:26 +00:00
Andreas Gustafsson
66ff5b7d78
cut-and-paste-o
2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c
the server would catch an assertion failure if the key statement in rndc.key
...
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2
rndc.key support
2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d
mark rrset-order as unimplemented [RT #1561 ]
2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a
Updated .mak files to remove dependancies
2001-08-02 07:05:43 +00:00
Andreas Gustafsson
ab54086529
print detailed description of grammar of socket addresses instead
...
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
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
Andreas Gustafsson
2fa436a15c
80 columns
2001-07-23 16:58:18 +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
Danny Mayer
1186577d90
Updated scripts and added make file
2001-07-22 06:28:49 +00:00
Brian Wellington
1cb6e8cbe4
941. [bug] The configuration checker crashed if a slave
...
zone didn't contain a masters statement. [RT #1514 ]
2001-07-19 16:29:14 +00:00
Andreas Gustafsson
07dcadc6e2
update_copyrights
2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531
coding style
2001-07-17 19:17:02 +00:00
Danny Mayer
1336066b63
Added support for Win32
2001-07-16 05:48:16 +00:00
Andreas Gustafsson
a8f94d29b3
compile the version number into the isccfg and isccc libraries,
...
like we do with all other libraries
2001-07-09 22:25:29 +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
7d8c3693d0
914. [bug] Gobal 'server' statements were rejected when
...
using views, even though they were accepted
in 9.1. [RT #1368 ]
2001-06-28 21:58:54 +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
Brian Wellington
17dba29ba5
854. [bug] The config parser didn't properly handle config
...
options that were specified in units of time other
than seconds. [RT #1372 ]
2001-06-04 21:51:27 +00:00
Brian Wellington
deb588e256
typo that caused an assertion failure [RT #1368 ]
2001-06-03 23:53:50 +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
Andreas Gustafsson
15254d5865
note that parsers are not reusable
2001-04-19 23:28:17 +00:00
Andreas Gustafsson
2901eed986
cfg_type_rndcconf was declared twice
2001-04-04 01:41:06 +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
2999a3a988
remove erroneously added copyright
2001-03-27 02:25:34 +00:00
Brian Wellington
022d19c138
copyright updates
2001-03-27 02:06:13 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +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
e608c9829f
- Detect selective forwarding errors in the configuration checker.
...
- Clean up selective forwarding configuration.
- Fixed a few minor unrelated bugs in the configuration checker.
2001-03-09 19:07:30 +00:00
Brian Wellington
8b9b498009
Check for duplicate zone and key statements. Note that duplicate server
...
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
Brian Wellington
0783aab720
allow-update-forwarding is not allowed in stub zones.
2001-03-07 23:36:26 +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
Brian Wellington
6893a1ee93
fix more bugs
2001-03-04 21:18:30 +00:00
Brian Wellington
e1fc1c580b
consolidate duplicated code
2001-03-03 23:09:23 +00:00
Brian Wellington
dd741aefc3
check that 'max-cache-size' is not 'default'
2001-03-03 23:05:23 +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
Brian Wellington
0ca1225ee6
more bugs
2001-03-02 03:09:27 +00:00
Brian Wellington
18b492aed1
bugs
2001-03-02 01:30:32 +00:00
Andreas Gustafsson
58fd5050ce
check enumerated values
2001-03-02 01:10:51 +00:00
Brian Wellington
94030c4654
remove 'static'
2001-03-02 00:49:31 +00:00
Brian Wellington
12f4f02695
Add code to syntactically check a named.conf file.
2001-03-01 23:46:49 +00:00
Brian Wellington
3e72dc6534
DNS_CFG_H -> ISCCFG_CFG_H
2001-03-01 23:03:43 +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
Brian Wellington
0dea013c25
add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log().
2001-02-28 20:54:03 +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
106ff3bc09
more typos
2001-02-23 01:00:58 +00:00
Brian Wellington
d5573eb8a9
typos
2001-02-23 00:24:34 +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
Andreas Gustafsson
5c7f675804
new function cfg_tuple_get()
2001-02-22 04:17:37 +00:00
Andreas Gustafsson
80a1cac849
give names to tuple fields
2001-02-22 03:13:08 +00:00
Brian Wellington
b5e6ee7f74
typo
2001-02-22 02:44:08 +00:00
Andreas Gustafsson
e24349aa27
added isccfg log modules and categories
2001-02-22 02:39:24 +00:00
Brian Wellington
f0751a815e
add cfg_obj_asboolean()
2001-02-22 01:40:53 +00:00
Andreas Gustafsson
c396dc6551
added cfg_obj_log()
2001-02-22 00:36:26 +00:00
Andreas Gustafsson
1b0fca7957
added cfg_parser_setcallback(); minor cleanup
2001-02-22 00:23:31 +00:00
Andreas Gustafsson
dec0721d45
eliminate compiler warning; need <isc/print.h>
2001-02-17 00:46:58 +00:00
Andreas Gustafsson
4a4c888759
eliminate compiler warnings (hopefully)
2001-02-17 00:22:40 +00:00
Andreas Gustafsson
b8d0eef0fc
new function cfg_parse_buffer()
2001-02-17 00:15:22 +00:00
Andreas Gustafsson
be7c0682f7
rrset-order wants braces around its list
2001-02-16 02:57:40 +00:00
Andreas Gustafsson
d0749d582e
fix query source parsing
2001-02-16 02:43:30 +00:00
Brian Wellington
9697d96db3
max-names no longer exists
2001-02-16 02:34:33 +00:00
Brian Wellington
06b678ec4a
Add const in a few places.
2001-02-15 23:22:27 +00:00
Andreas Gustafsson
bd4b8fe050
provide functions to access map names and lists
2001-02-15 18:53:03 +00:00
Andreas Gustafsson
4e7a39d617
added syntax tables for the rndc.conf file format
2001-02-15 05:14:16 +00:00
Andreas Gustafsson
2b23de3783
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:21:17 +00:00
Andreas Gustafsson
be7f273043
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:14:15 +00:00