Commit Graph

573 Commits

Author SHA1 Message Date
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