mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '2802-fix-missed-occurrences-of-renaming-masters-to-primaries' into 'main'
Resolve "Fix missed occurrences of renaming masters to primaries" Closes #2802 See merge request isc-projects/bind9!5860
This commit is contained in:
commit
5e4580d479
21 changed files with 97 additions and 186 deletions
|
|
@ -152,17 +152,6 @@ See DNSSEC-KEYS.
|
|||
initial-ds ) integer integer
|
||||
integer quoted_string; ... };, deprecated
|
||||
|
||||
MASTERS
|
||||
^^^^^^^
|
||||
|
||||
::
|
||||
|
||||
masters string [ port integer ] [ dscp
|
||||
integer ] { ( remote-servers |
|
||||
ipv4_address [ port integer ] |
|
||||
ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... };
|
||||
|
||||
OPTIONS
|
||||
^^^^^^^
|
||||
|
||||
|
|
@ -198,15 +187,12 @@ OPTIONS
|
|||
avoid-v6-udp-ports { portrange; ... };
|
||||
bindkeys-file quoted_string;
|
||||
blackhole { address_match_element; ... };
|
||||
catalog-zones { zone string [ default-masters [ port integer ]
|
||||
[ dscp integer ] { ( remote-servers | ipv4_address [ port
|
||||
integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ default-primaries [ port
|
||||
integer ] [ dscp integer ] { ( remote-servers |
|
||||
ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... } ] [
|
||||
zone-directory quoted_string ] [ in-memory boolean ] [
|
||||
min-update-interval duration ]; ... };
|
||||
catalog-zones { zone string [ default-primaries [ port integer
|
||||
] [ dscp integer ] { ( remote-servers | ipv4_address [
|
||||
port integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ zone-directory
|
||||
quoted_string ] [ in-memory boolean ] [ min-update-interval
|
||||
duration ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity boolean;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -631,15 +617,12 @@ VIEW
|
|||
attach-cache string;
|
||||
auth-nxdomain boolean;
|
||||
auto-dnssec ( allow | maintain | off );
|
||||
catalog-zones { zone string [ default-masters [ port integer ]
|
||||
[ dscp integer ] { ( remote-servers | ipv4_address [ port
|
||||
integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ default-primaries [ port
|
||||
integer ] [ dscp integer ] { ( remote-servers |
|
||||
ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... } ] [
|
||||
zone-directory quoted_string ] [ in-memory boolean ] [
|
||||
min-update-interval duration ]; ... };
|
||||
catalog-zones { zone string [ default-primaries [ port integer
|
||||
] [ dscp integer ] { ( remote-servers | ipv4_address [
|
||||
port integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ zone-directory
|
||||
quoted_string ] [ in-memory boolean ] [ min-update-interval
|
||||
duration ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity boolean;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -946,10 +929,6 @@ VIEW
|
|||
key-directory quoted_string;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port integer ] [ dscp integer ] { (
|
||||
remote-servers | ipv4_address [ port integer ] |
|
||||
ipv6_address [ port integer ] ) [ key string ] [
|
||||
tls string ]; ... };
|
||||
max-ixfr-ratio ( unlimited | percentage );
|
||||
max-journal-size ( default | unlimited | sizeval );
|
||||
max-records integer;
|
||||
|
|
@ -1065,9 +1044,6 @@ ZONE
|
|||
key-directory quoted_string;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port integer ] [ dscp integer ] { ( remote-servers
|
||||
| ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... };
|
||||
max-ixfr-ratio ( unlimited | percentage );
|
||||
max-journal-size ( default | unlimited | sizeval );
|
||||
max-records integer;
|
||||
|
|
|
|||
|
|
@ -37,14 +37,14 @@ EXTRA_DIST = \
|
|||
../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 \
|
||||
|
|
|
|||
|
|
@ -5454,8 +5454,8 @@ Here is an example of a typical split DNS setup implemented using
|
|||
``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
|
||||
|
|
|
|||
|
|
@ -203,21 +203,6 @@ managed\-keys { string ( static\-key
|
|||
.fi
|
||||
.UNINDENT
|
||||
.UNINDENT
|
||||
.SS MASTERS
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
.sp
|
||||
.nf
|
||||
.ft C
|
||||
masters string [ port integer ] [ dscp
|
||||
integer ] { ( remote\-servers |
|
||||
ipv4_address [ port integer ] |
|
||||
ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... };
|
||||
.ft P
|
||||
.fi
|
||||
.UNINDENT
|
||||
.UNINDENT
|
||||
.SS OPTIONS
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
|
|
@ -254,15 +239,12 @@ options {
|
|||
avoid\-v6\-udp\-ports { portrange; ... };
|
||||
bindkeys\-file quoted_string;
|
||||
blackhole { address_match_element; ... };
|
||||
catalog\-zones { zone string [ default\-masters [ port integer ]
|
||||
[ dscp integer ] { ( remote\-servers | ipv4_address [ port
|
||||
integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ default\-primaries [ port
|
||||
integer ] [ dscp integer ] { ( remote\-servers |
|
||||
ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... } ] [
|
||||
zone\-directory quoted_string ] [ in\-memory boolean ] [
|
||||
min\-update\-interval duration ]; ... };
|
||||
catalog\-zones { zone string [ default\-primaries [ port integer
|
||||
] [ dscp integer ] { ( remote\-servers | ipv4_address [
|
||||
port integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ zone\-directory
|
||||
quoted_string ] [ in\-memory boolean ] [ min\-update\-interval
|
||||
duration ]; ... };
|
||||
check\-dup\-records ( fail | warn | ignore );
|
||||
check\-integrity boolean;
|
||||
check\-mx ( fail | warn | ignore );
|
||||
|
|
@ -723,15 +705,12 @@ view string [ class ] {
|
|||
attach\-cache string;
|
||||
auth\-nxdomain boolean;
|
||||
auto\-dnssec ( allow | maintain | off );
|
||||
catalog\-zones { zone string [ default\-masters [ port integer ]
|
||||
[ dscp integer ] { ( remote\-servers | ipv4_address [ port
|
||||
integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ default\-primaries [ port
|
||||
integer ] [ dscp integer ] { ( remote\-servers |
|
||||
ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... } ] [
|
||||
zone\-directory quoted_string ] [ in\-memory boolean ] [
|
||||
min\-update\-interval duration ]; ... };
|
||||
catalog\-zones { zone string [ default\-primaries [ port integer
|
||||
] [ dscp integer ] { ( remote\-servers | ipv4_address [
|
||||
port integer ] | ipv6_address [ port integer ] ) [ key
|
||||
string ] [ tls string ]; ... } ] [ zone\-directory
|
||||
quoted_string ] [ in\-memory boolean ] [ min\-update\-interval
|
||||
duration ]; ... };
|
||||
check\-dup\-records ( fail | warn | ignore );
|
||||
check\-integrity boolean;
|
||||
check\-mx ( fail | warn | ignore );
|
||||
|
|
@ -1038,10 +1017,6 @@ view string [ class ] {
|
|||
key\-directory quoted_string;
|
||||
masterfile\-format ( raw | text );
|
||||
masterfile\-style ( full | relative );
|
||||
masters [ port integer ] [ dscp integer ] { (
|
||||
remote\-servers | ipv4_address [ port integer ] |
|
||||
ipv6_address [ port integer ] ) [ key string ] [
|
||||
tls string ]; ... };
|
||||
max\-ixfr\-ratio ( unlimited | percentage );
|
||||
max\-journal\-size ( default | unlimited | sizeval );
|
||||
max\-records integer;
|
||||
|
|
@ -1161,9 +1136,6 @@ zone string [ class ] {
|
|||
key\-directory quoted_string;
|
||||
masterfile\-format ( raw | text );
|
||||
masterfile\-style ( full | relative );
|
||||
masters [ port integer ] [ dscp integer ] { ( remote\-servers
|
||||
| ipv4_address [ port integer ] | ipv6_address [ port
|
||||
integer ] ) [ key string ] [ tls string ]; ... };
|
||||
max\-ixfr\-ratio ( unlimited | percentage );
|
||||
max\-journal\-size ( default | unlimited | sizeval );
|
||||
max\-records integer;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ include $(top_srcdir)/Makefile.docs
|
|||
OPTIONS_FILES = \
|
||||
options \
|
||||
options.active \
|
||||
master.zoneopt \
|
||||
slave.zoneopt \
|
||||
primary.zoneopt \
|
||||
secondary.zoneopt \
|
||||
mirror.zoneopt \
|
||||
forward.zoneopt \
|
||||
hint.zoneopt \
|
||||
|
|
@ -15,8 +15,8 @@ OPTIONS_FILES = \
|
|||
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 \
|
||||
|
|
@ -75,11 +75,11 @@ options: cfg_test
|
|||
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 > $@
|
||||
|
|
@ -108,11 +108,11 @@ in-view.zoneopt: cfg_test
|
|||
../../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 > $@
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ zone <string> [ <class> ] {
|
|||
journal <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
journal <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
|
|||
|
|
@ -75,12 +75,6 @@ managed-keys { <string> ( static-key
|
|||
initial-ds ) <integer> <integer>
|
||||
<integer> <quoted_string>; ... }; // may occur multiple times, deprecated
|
||||
|
||||
masters <string> [ port <integer> ] [ dscp
|
||||
<integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] |
|
||||
<ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... }; // may occur multiple times
|
||||
|
||||
options {
|
||||
allow-new-zones <boolean>;
|
||||
allow-notify { <address_match_element>; ... };
|
||||
|
|
@ -111,15 +105,12 @@ options {
|
|||
avoid-v6-udp-ports { <portrange>; ... };
|
||||
bindkeys-file <quoted_string>;
|
||||
blackhole { <address_match_element>; ... };
|
||||
catalog-zones { zone <string> [ default-masters [ port <integer> ]
|
||||
[ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port
|
||||
<integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ default-primaries [ port
|
||||
<integer> ] [ dscp <integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... } ] [
|
||||
zone-directory <quoted_string> ] [ in-memory <boolean> ] [
|
||||
min-update-interval <duration> ]; ... };
|
||||
catalog-zones { zone <string> [ default-primaries [ port <integer>
|
||||
] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
|
||||
port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ zone-directory
|
||||
<quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
|
||||
<duration> ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity <boolean>;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -500,15 +491,12 @@ view <string> [ <class> ] {
|
|||
attach-cache <string>;
|
||||
auth-nxdomain <boolean>;
|
||||
auto-dnssec ( allow | maintain | off );
|
||||
catalog-zones { zone <string> [ default-masters [ port <integer> ]
|
||||
[ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port
|
||||
<integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ default-primaries [ port
|
||||
<integer> ] [ dscp <integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... } ] [
|
||||
zone-directory <quoted_string> ] [ in-memory <boolean> ] [
|
||||
min-update-interval <duration> ]; ... };
|
||||
catalog-zones { zone <string> [ default-primaries [ port <integer>
|
||||
] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
|
||||
port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ zone-directory
|
||||
<quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
|
||||
<duration> ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity <boolean>;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -817,10 +805,6 @@ view <string> [ <class> ] {
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { (
|
||||
<remote-servers> | <ipv4_address> [ port <integer> ] |
|
||||
<ipv6_address> [ port <integer> ] ) [ key <string> ] [
|
||||
tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
@ -932,9 +916,6 @@ zone <string> [ <class> ] {
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers>
|
||||
| <ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
|
|||
|
|
@ -74,12 +74,6 @@ managed-keys { <string> ( static-key
|
|||
initial-ds ) <integer> <integer>
|
||||
<integer> <quoted_string>; ... }; // may occur multiple times, deprecated
|
||||
|
||||
masters <string> [ port <integer> ] [ dscp
|
||||
<integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] |
|
||||
<ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... }; // may occur multiple times
|
||||
|
||||
options {
|
||||
allow-new-zones <boolean>;
|
||||
allow-notify { <address_match_element>; ... };
|
||||
|
|
@ -110,15 +104,12 @@ options {
|
|||
avoid-v6-udp-ports { <portrange>; ... };
|
||||
bindkeys-file <quoted_string>;
|
||||
blackhole { <address_match_element>; ... };
|
||||
catalog-zones { zone <string> [ default-masters [ port <integer> ]
|
||||
[ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port
|
||||
<integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ default-primaries [ port
|
||||
<integer> ] [ dscp <integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... } ] [
|
||||
zone-directory <quoted_string> ] [ in-memory <boolean> ] [
|
||||
min-update-interval <duration> ]; ... };
|
||||
catalog-zones { zone <string> [ default-primaries [ port <integer>
|
||||
] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
|
||||
port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ zone-directory
|
||||
<quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
|
||||
<duration> ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity <boolean>;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -496,15 +487,12 @@ view <string> [ <class> ] {
|
|||
attach-cache <string>;
|
||||
auth-nxdomain <boolean>;
|
||||
auto-dnssec ( allow | maintain | off );
|
||||
catalog-zones { zone <string> [ default-masters [ port <integer> ]
|
||||
[ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port
|
||||
<integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ default-primaries [ port
|
||||
<integer> ] [ dscp <integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... } ] [
|
||||
zone-directory <quoted_string> ] [ in-memory <boolean> ] [
|
||||
min-update-interval <duration> ]; ... };
|
||||
catalog-zones { zone <string> [ default-primaries [ port <integer>
|
||||
] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
|
||||
port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ zone-directory
|
||||
<quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
|
||||
<duration> ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity <boolean>;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
@ -811,10 +799,6 @@ view <string> [ <class> ] {
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { (
|
||||
<remote-servers> | <ipv4_address> [ port <integer> ] |
|
||||
<ipv6_address> [ port <integer> ] ) [ key <string> ] [
|
||||
tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
@ -925,9 +909,6 @@ zone <string> [ <class> ] {
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers>
|
||||
| <ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
|
|||
|
|
@ -41,15 +41,12 @@
|
|||
avoid-v6-udp-ports { <portrange>; ... };
|
||||
bindkeys-file <quoted_string>;
|
||||
blackhole { <address_match_element>; ... };
|
||||
catalog-zones { zone <string> [ default-masters [ port <integer> ]
|
||||
[ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port
|
||||
<integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ default-primaries [ port
|
||||
<integer> ] [ dscp <integer> ] { ( <remote-servers> |
|
||||
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
|
||||
<integer> ] ) [ key <string> ] [ tls <string> ]; ... } ] [
|
||||
zone-directory <quoted_string> ] [ in-memory <boolean> ] [
|
||||
min-update-interval <duration> ]; ... };
|
||||
catalog-zones { zone <string> [ default-primaries [ port <integer>
|
||||
] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
|
||||
port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
|
||||
<string> ] [ tls <string> ]; ... } ] [ zone-directory
|
||||
<quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
|
||||
<duration> ]; ... };
|
||||
check-dup-records ( fail | warn | ignore );
|
||||
check-integrity <boolean>;
|
||||
check-mx ( fail | warn | ignore );
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
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>; ... };
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
::
|
||||
|
||||
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>; ... };
|
||||
|
|
@ -6,7 +6,6 @@ zone <string> [ <class> ] {
|
|||
file <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-records <integer>;
|
||||
max-zone-ttl ( unlimited | <duration> );
|
||||
primaries [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
file <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-records <integer>;
|
||||
max-zone-ttl ( unlimited | <duration> );
|
||||
primaries [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
zone <string> [ <class> ] {
|
||||
type ( slave | secondary );
|
||||
type secondary;
|
||||
allow-notify { <address_match_element>; ... };
|
||||
allow-query { <address_match_element>; ... };
|
||||
allow-query-on { <address_match_element>; ... };
|
||||
|
|
@ -27,7 +27,6 @@ zone <string> [ <class> ] {
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
::
|
||||
|
||||
zone <string> [ <class> ] {
|
||||
type ( slave | secondary );
|
||||
type secondary;
|
||||
allow-notify { <address_match_element>; ... };
|
||||
allow-query { <address_match_element>; ... };
|
||||
allow-query-on { <address_match_element>; ... };
|
||||
|
|
@ -40,7 +40,6 @@
|
|||
key-directory <quoted_string>;
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-ixfr-ratio ( unlimited | <percentage> );
|
||||
max-journal-size ( default | unlimited | <sizeval> );
|
||||
max-records <integer>;
|
||||
|
|
@ -11,7 +11,6 @@ zone <string> [ <class> ] {
|
|||
forwarders [ port <integer> ] [ dscp <integer> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ dscp <integer> ]; ... };
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-records <integer>;
|
||||
max-refresh-time <integer>;
|
||||
max-retry-time <integer>;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
forwarders [ port <integer> ] [ dscp <integer> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ dscp <integer> ]; ... };
|
||||
masterfile-format ( raw | text );
|
||||
masterfile-style ( full | relative );
|
||||
masters [ port <integer> ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... };
|
||||
max-records <integer>;
|
||||
max-refresh-time <integer>;
|
||||
max-retry-time <integer>;
|
||||
|
|
|
|||
|
|
@ -44,13 +44,14 @@
|
|||
* "directory" option.
|
||||
*/
|
||||
#define CFG_CLAUSEFLAG_CALLBACK 0x00000020
|
||||
/*% A option that is only used in testing. */
|
||||
/*% An option that is only used in testing. */
|
||||
#define CFG_CLAUSEFLAG_TESTONLY 0x00000040
|
||||
/*% A configuration option that was not configured at compile time. */
|
||||
#define CFG_CLAUSEFLAG_NOTCONFIGURED 0x00000080
|
||||
/*% A option for a experimental feature. */
|
||||
/*% An option for an experimental feature. */
|
||||
#define CFG_CLAUSEFLAG_EXPERIMENTAL 0x00000100
|
||||
/* obsolete: #define CFG_CLAUSEFLAG_NOOP 0x00000200 */
|
||||
/*% An option that should be omited from the documentation */
|
||||
#define CFG_CLAUSEFLAG_NODOC 0x00000200
|
||||
/*% Clause will be obsolete in a future release (logs a warning) */
|
||||
#define CFG_CLAUSEFLAG_DEPRECATED 0x00000400
|
||||
/*% Clause has been obsolete so long that it's now a fatal error */
|
||||
|
|
|
|||
|
|
@ -1157,7 +1157,8 @@ static cfg_clausedef_t namedconf_clauses[] = {
|
|||
#endif
|
||||
{ "logging", &cfg_type_logging, 0 },
|
||||
{ "lwres", NULL, CFG_CLAUSEFLAG_MULTI | CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "masters", &cfg_type_remoteservers, CFG_CLAUSEFLAG_MULTI },
|
||||
{ "masters", &cfg_type_remoteservers,
|
||||
CFG_CLAUSEFLAG_MULTI | CFG_CLAUSEFLAG_NODOC },
|
||||
{ "options", &cfg_type_options, 0 },
|
||||
{ "parental-agents", &cfg_type_remoteservers, CFG_CLAUSEFLAG_MULTI },
|
||||
{ "primaries", &cfg_type_remoteservers, CFG_CLAUSEFLAG_MULTI },
|
||||
|
|
@ -1777,6 +1778,9 @@ cfg_doc_kv_tuple(cfg_printer_t *pctx, const cfg_type_t *type) {
|
|||
|
||||
fields = type->of;
|
||||
for (f = fields; f->name != NULL; f++) {
|
||||
if ((f->flags & CFG_CLAUSEFLAG_NODOC) != 0) {
|
||||
continue;
|
||||
}
|
||||
if (f != fields) {
|
||||
cfg_print_cstr(pctx, " [ ");
|
||||
cfg_print_cstr(pctx, f->name);
|
||||
|
|
@ -1878,7 +1882,8 @@ static cfg_type_t cfg_type_catz_zone = { "zone", parse_keyvalue,
|
|||
|
||||
static cfg_tuplefielddef_t catz_zone_fields[] = {
|
||||
{ "zone name", &cfg_type_catz_zone, 0 },
|
||||
{ "default-masters", &cfg_type_namesockaddrkeylist, 0 },
|
||||
{ "default-masters", &cfg_type_namesockaddrkeylist,
|
||||
CFG_CLAUSEFLAG_NODOC },
|
||||
{ "default-primaries", &cfg_type_namesockaddrkeylist, 0 },
|
||||
{ "zone-directory", &cfg_type_qstring, 0 },
|
||||
{ "in-memory", &cfg_type_boolean, 0 },
|
||||
|
|
@ -2389,7 +2394,7 @@ static cfg_clausedef_t zone_only_clauses[] = {
|
|||
CFG_ZONE_PRIMARY | CFG_ZONE_SECONDARY | CFG_ZONE_MIRROR },
|
||||
{ "masters", &cfg_type_namesockaddrkeylist,
|
||||
CFG_ZONE_SECONDARY | CFG_ZONE_MIRROR | CFG_ZONE_STUB |
|
||||
CFG_ZONE_REDIRECT },
|
||||
CFG_ZONE_REDIRECT | CFG_CLAUSEFLAG_NODOC },
|
||||
{ "parental-agents", &cfg_type_namesockaddrkeylist,
|
||||
CFG_ZONE_PRIMARY | CFG_ZONE_SECONDARY },
|
||||
{ "primaries", &cfg_type_namesockaddrkeylist,
|
||||
|
|
@ -3850,11 +3855,11 @@ cfg_print_zonegrammar(const unsigned int zonetype, unsigned int flags,
|
|||
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);
|
||||
|
|
@ -3899,7 +3904,9 @@ cfg_print_zonegrammar(const unsigned int zonetype, unsigned int flags,
|
|||
{
|
||||
continue;
|
||||
}
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0) {
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0 ||
|
||||
(clause->flags & CFG_CLAUSEFLAG_NODOC) != 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2731,7 +2731,9 @@ cfg_doc_mapbody(cfg_printer_t *pctx, const cfg_type_t *type) {
|
|||
{
|
||||
continue;
|
||||
}
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0) {
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0 ||
|
||||
(clause->flags & CFG_CLAUSEFLAG_NODOC) != 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
cfg_print_cstr(pctx, clause->name);
|
||||
|
|
@ -2787,7 +2789,9 @@ cfg_doc_map(cfg_printer_t *pctx, const cfg_type_t *type) {
|
|||
{
|
||||
continue;
|
||||
}
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0) {
|
||||
if ((clause->flags & CFG_CLAUSEFLAG_ANCIENT) != 0 ||
|
||||
(clause->flags & CFG_CLAUSEFLAG_NODOC) != 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
cfg_print_indent(pctx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue