../misc/key.grammar.rst \
../misc/logging.grammar.rst \
../misc/managed-keys.grammar.rst \
- ../misc/master.zoneopt.rst \
+ ../misc/primary.zoneopt.rst \
../misc/mirror.zoneopt.rst \
../misc/options.grammar.rst \
../misc/parental-agents.grammar.rst \
../misc/primaries.grammar.rst \
../misc/redirect.zoneopt.rst \
../misc/server.grammar.rst \
- ../misc/slave.zoneopt.rst \
+ ../misc/secondary.zoneopt.rst \
../misc/static-stub.zoneopt.rst \
../misc/statistics-channels.grammar.rst \
../misc/stub.zoneopt.rst \
``zone`` Statement Grammar
~~~~~~~~~~~~~~~~~~~~~~~~~~
-.. include:: ../misc/master.zoneopt.rst
-.. include:: ../misc/slave.zoneopt.rst
+.. include:: ../misc/primary.zoneopt.rst
+.. include:: ../misc/secondary.zoneopt.rst
.. include:: ../misc/mirror.zoneopt.rst
.. include:: ../misc/hint.zoneopt.rst
.. include:: ../misc/stub.zoneopt.rst
OPTIONS_FILES = \
options \
options.active \
- master.zoneopt \
- slave.zoneopt \
+ primary.zoneopt \
+ secondary.zoneopt \
mirror.zoneopt \
forward.zoneopt \
hint.zoneopt \
delegation-only.zoneopt \
in-view.zoneopt \
../../bin/named/named.conf.rst \
- master.zoneopt.rst \
- slave.zoneopt.rst \
+ primary.zoneopt.rst \
+ secondary.zoneopt.rst \
mirror.zoneopt.rst \
forward.zoneopt.rst \
hint.zoneopt.rst \
options.active: cfg_test
$(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar --active | $(PERL) $(srcdir)/sort-options.pl | $(PERL) $(srcdir)/format-options.pl --strip-not-configured > $@
-master.zoneopt: cfg_test
- $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar master --active > $@
+primary.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar primary --active > $@
-slave.zoneopt: cfg_test
- $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar slave --active > $@
+secondary.zoneopt: cfg_test
+ $(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar secondary --active > $@
mirror.zoneopt: cfg_test
$(AM_V_CFG_TEST)$(builddir)/cfg_test --zonegrammar mirror --active > $@
../../bin/named/named.conf.rst: options.active rst-options.pl
$(AM_V_RST_OPTIONS)$(PERL) $(srcdir)/rst-options.pl options.active > $@
-master.zoneopt.rst: master.zoneopt rst-zoneopt.pl
- $(AM_V_RST_ZONEOPT)$(PERL) $(srcdir)/rst-zoneopt.pl master.zoneopt > $@
+primary.zoneopt.rst: primary.zoneopt rst-zoneopt.pl
+ $(AM_V_RST_ZONEOPT)$(PERL) $(srcdir)/rst-zoneopt.pl primary.zoneopt > $@
-slave.zoneopt.rst: slave.zoneopt rst-zoneopt.pl
- $(AM_V_RST_ZONEOPT)$(PERL) $(srcdir)/rst-zoneopt.pl slave.zoneopt > $@
+secondary.zoneopt.rst: secondary.zoneopt rst-zoneopt.pl
+ $(AM_V_RST_ZONEOPT)$(PERL) $(srcdir)/rst-zoneopt.pl secondary.zoneopt > $@
mirror.zoneopt.rst: mirror.zoneopt rst-zoneopt.pl
$(AM_V_RST_ZONEOPT)$(PERL) $(srcdir)/rst-zoneopt.pl mirror.zoneopt > $@
zone <string> [ <class> ] {
- type ( master | primary );
+ type primary;
allow-query { <address_match_element>; ... };
allow-query-on { <address_match_element>; ... };
allow-transfer [ port <integer> ] [ transport <string> ] { <address_match_element>; ... };
::
zone <string> [ <class> ] {
- type ( master | primary );
+ type primary;
allow-query { <address_match_element>; ... };
allow-query-on { <address_match_element>; ... };
allow-transfer [ port <integer> ] [ transport <string> ] { <address_match_element>; ... };
zone <string> [ <class> ] {
- type ( slave | secondary );
+ type secondary;
allow-notify { <address_match_element>; ... };
allow-query { <address_match_element>; ... };
allow-query-on { <address_match_element>; ... };
::
zone <string> [ <class> ] {
- type ( slave | secondary );
+ type secondary;
allow-notify { <address_match_element>; ... };
allow-query { <address_match_element>; ... };
allow-query-on { <address_match_element>; ... };
switch (zonetype) {
case CFG_ZONE_PRIMARY:
cfg_print_indent(&pctx);
- cfg_print_cstr(&pctx, "type ( master | primary );\n");
+ cfg_print_cstr(&pctx, "type primary;\n");
break;
case CFG_ZONE_SECONDARY:
cfg_print_indent(&pctx);
- cfg_print_cstr(&pctx, "type ( slave | secondary );\n");
+ cfg_print_cstr(&pctx, "type secondary;\n");
break;
case CFG_ZONE_MIRROR:
cfg_print_indent(&pctx);