It uses the same mechanism as all other grammars, but the file is named
differently to distinguish it from named.conf grammars.
doc/misc/*.zoneopt
doc/misc/options
doc/misc/options.active
+ doc/misc/rndc.grammar
tsan-suppressions.txt
Copyright: Internet Systems Consortium, Inc. ("ISC")
License: CC0-1.0
include $(top_srcdir)/Makefile.docs
OPTIONS_FILES = \
+ rndc.grammar \
options \
options.active \
primary.zoneopt \
BUILT_SOURCES = \
$(OPTIONS_FILES)
+rndc.grammar: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --rndc --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
+
options: cfg_test
$(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar | $(PERL) $(srcdir)/sort-options.pl > $@
--- /dev/null
+key <string> {
+ algorithm <string>;
+ secret <string>;
+}; // may occur multiple times
+
+options {
+ default-key <string>;
+ default-port <integer>;
+ default-server <string>;
+ default-source-address ( <ipv4_address> | * );
+ default-source-address-v6 ( <ipv6_address> | * );
+};
+
+server <string> {
+ addresses { ( <quoted_string> [ port <integer> ] [ dscp <integer> ] | <ipv4_address> [ port <integer> ] [ dscp <integer> ] | <ipv6_address> [ port <integer> ] [ dscp <integer> ] ); ... };
+ key <string>;
+ port <integer>;
+ source-address ( <ipv4_address> | * );
+ source-address-v6 ( <ipv6_address> | * );
+}; // may occur multiple times
+