]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
3 years agoMerge branch 'pspacek/arm-tables-parse-short-rst' into 'main'
Petr Špaček [Mon, 4 Jul 2022 13:36:17 +0000 (13:36 +0000)] 
Merge branch 'pspacek/arm-tables-parse-short-rst' into 'main'

Parse and render rst syntax in auto-generated tables

See merge request isc-projects/bind9!6515

3 years agoParse and render rst syntax in :short: statement descriptions in tables
Petr Špaček [Mon, 4 Jul 2022 10:33:04 +0000 (12:33 +0200)] 
Parse and render rst syntax in :short: statement descriptions in tables

Without this change tables generated by .. namedconf:statementlist::
contained raw text and displayed rst syntax to users.

The raw docutil node returned by rst parser can contain unresolved
references (pending_xref nodes). We just store those nodes and let
Sphinx to resolve them later on.

Beware: This would not work if we injected nodes in later stages of
processing. All unresolved references must be in place before
'doctree-resolved' event is emitted (i.e. before resolve_references() is
called inside Sphinx).

3 years agoGenerate tables of statements in doctree-read phase
Petr Špaček [Mon, 4 Jul 2022 09:30:33 +0000 (11:30 +0200)] 
Generate tables of statements in doctree-read phase

This change allows us to generate "unresolved" references and let Sphinx
deal with dereferencing them in later stages. It is not useful by itself
but it serves as preparation for the next commit.

3 years agoOptimize resolve_xref to avoid O(n^2) iteration
Petr Špaček [Mon, 4 Jul 2022 09:01:17 +0000 (11:01 +0200)] 
Optimize resolve_xref to avoid O(n^2) iteration

Formerly resolve_xref() in Sphinx extension called get_objects() from
Sphinx API which subsequently iterated the whole list of objects,
causing single iteration per single reference, which is essentially.
O(n^2). Avoid using get_objects() and access internal dictionary
directly intead.

The docs build time was still dominated by other factors but speedup is
about 10 % on my machine.

3 years agoMerge branch 'marka-cobertura-replaced-by-coverage_report' into 'main'
Petr Špaček [Mon, 4 Jul 2022 05:10:32 +0000 (05:10 +0000)] 
Merge branch 'marka-cobertura-replaced-by-coverage_report' into 'main'

Fix for GitLab 15.0: cobertura replaced by coverage_report

See merge request isc-projects/bind9!6512

3 years agoFix for GitLab 15.0: cobertura replaced by coverage_report
Mark Andrews [Mon, 4 Jul 2022 03:32:01 +0000 (13:32 +1000)] 
Fix for GitLab 15.0: cobertura replaced by coverage_report

   From Gitlab 15.0 release notes:

   artifacts:reports:cobertura keyword

   As of GitLab 15.0, the artifacts:reports:cobertura keyword has
   been replaced by artifacts:reports:coverage_report. Cobertura
   is the only supported report file, but this is the first step
   towards GitLab supporting other report types.

3 years agoMerge branch '3398-placeholder' into 'main'
Arаm Sаrgsyаn [Fri, 1 Jul 2022 08:41:18 +0000 (08:41 +0000)] 
Merge branch '3398-placeholder' into 'main'

Add placeholder for [GL #3398]

See merge request isc-projects/bind9!6508

3 years agoAdd placeholder for [GL #3398]
Aram Sargsyan [Fri, 1 Jul 2022 08:36:51 +0000 (08:36 +0000)] 
Add placeholder for [GL #3398]

3 years agoMerge branch 'pspacek/arm-grammar-render' into 'main'
Petr Špaček [Fri, 1 Jul 2022 07:25:48 +0000 (07:25 +0000)] 
Merge branch 'pspacek/arm-grammar-render' into 'main'

Render grammar snippets in the ARM

See merge request isc-projects/bind9!6491

3 years agoAdd note that named.conf man page is not a complete manual
Petr Špaček [Thu, 30 Jun 2022 15:35:06 +0000 (17:35 +0200)] 
Add note that named.conf man page is not a complete manual

We cannot simply do URL because it would make our lives more complicated
with -S edition.

3 years agoCleanup tag filtering code for statementlist:: RST directive
Petr Špaček [Thu, 30 Jun 2022 15:29:18 +0000 (17:29 +0200)] 
Cleanup tag filtering code for statementlist:: RST directive

Technically this is fixup for
33931c97faaa0f728b4194b8077825e75c351e12
but that commit is already merged.

3 years agoAdd link anchor and hyperlinks to keys statement
Petr Špaček [Thu, 30 Jun 2022 12:20:17 +0000 (14:20 +0200)] 
Add link anchor and hyperlinks to keys statement

This is super confusing because statement "keys" exists in context
controls and server blocks where it refers to symmetric TSIG key, and it
_also_ exists in dnssec-policy block where it specifies public-private
key pair parameters.

In an (unsuccessful) attempt to disambiguate these two I added bunch of
hyperlinks and a warning.

3 years agoDescribe rndc server block using .. rndcconf syntax
Petr Špaček [Thu, 30 Jun 2022 12:09:36 +0000 (14:09 +0200)] 
Describe rndc server block using .. rndcconf syntax

We need to split the description to silence warnings about undescribed
statements.

3 years agoDefine default-source-address, default-source-address-v6 for rndc
Petr Špaček [Thu, 30 Jun 2022 11:58:03 +0000 (13:58 +0200)] 
Define default-source-address, default-source-address-v6 for rndc

3 years agoDocument ipv4only-* options in the ARM
Petr Špaček [Thu, 30 Jun 2022 11:37:57 +0000 (13:37 +0200)] 
Document ipv4only-* options in the ARM

Statements ipv4only-contact, ipv4only-enable, ipv4only-server did not
have their own section in the ARM. Now they have.

3 years agoAdd missing link anchor for dlz search statement
Petr Špaček [Thu, 30 Jun 2022 11:28:09 +0000 (13:28 +0200)] 
Add missing link anchor for dlz search statement

3 years agoSpecial-case zone in-view
Petr Špaček [Thu, 30 Jun 2022 09:48:16 +0000 (11:48 +0200)] 
Special-case zone in-view

It is not really a zone type, so let's not generate "type in-view"
anchor for it.

3 years agoRemove extra whitespace in grammar for null statement
Petr Špaček [Thu, 30 Jun 2022 08:03:38 +0000 (10:03 +0200)] 
Remove extra whitespace in grammar for null statement

3 years agoAdd ability to filter tables using blocks
Petr Špaček [Mon, 27 Jun 2022 16:19:25 +0000 (18:19 +0200)] 
Add ability to filter tables using blocks

A new syntax
.. namedconf:statementlist::
   :filter_blocks: type secondary
allows to generate tables with statements allowed within specified
blocks.

3 years agoSort grammar map keys while pretty printing them
Petr Špaček [Fri, 24 Jun 2022 13:17:22 +0000 (15:17 +0200)] 
Sort grammar map keys while pretty printing them

It would be too easy if we could just call sorted(). Thanks to zone
grammar the most important key "type" gets sorted near end, so we pull
it up to the top using a hack.

3 years agoPretty-print grammar for zones
Petr Špaček [Fri, 24 Jun 2022 13:05:02 +0000 (15:05 +0200)] 
Pretty-print grammar for zones

It turns out the tree of dictionaries is not the best structure to
represent our grammar, unfortunatelly. The problem is that "zone" has
several context-dependent variants which change meaning of "zone" based
on inner field "type".

Redesigning the whole structure does not seem to be worth, so I settled
on this terrible hack.

3 years agoAdd zone definitions into the view grammar
Petr Špaček [Fri, 24 Jun 2022 12:06:39 +0000 (14:06 +0200)] 
Add zone definitions into the view grammar

I cannot see a reasonable way to achieve this without the hack in this
commit.

3 years agoAdd option to suppress grammar rendering
Petr Špaček [Fri, 24 Jun 2022 11:30:53 +0000 (13:30 +0200)] 
Add option to suppress grammar rendering

A new flag
.. namedconf:statement::
   :suppress_grammar:
suppresses pretty-printing grammar.

It is useful mostly for zones because each zone has it's own grammar, so
printing all of them at once usually does not make sense.

3 years agoRemove auto-generated rst files in repo in favour of grammar pretty printer
Petr Špaček [Fri, 24 Jun 2022 11:16:53 +0000 (13:16 +0200)] 
Remove auto-generated rst files in repo in favour of grammar pretty printer

3 years agoWarn about experimental and deprecated options
Petr Špaček [Fri, 24 Jun 2022 07:55:01 +0000 (09:55 +0200)] 
Warn about experimental and deprecated options

3 years agoRender statement's grammar
Petr Špaček [Fri, 24 Jun 2022 08:04:48 +0000 (10:04 +0200)] 
Render statement's grammar

This is replacement for auto-generated *.rst files stored in the repo.

3 years agoRender list of blocks accepting a given statement
Petr Špaček [Fri, 24 Jun 2022 08:03:48 +0000 (10:03 +0200)] 
Render list of blocks accepting a given statement

3 years agoDetect unsupported statement:: directives with multiple names
Petr Špaček [Fri, 24 Jun 2022 08:00:59 +0000 (10:00 +0200)] 
Detect unsupported statement:: directives with multiple names

3 years agoWarn about statements not found in the grammar
Petr Špaček [Thu, 12 May 2022 17:33:20 +0000 (19:33 +0200)] 
Warn about statements not found in the grammar

3 years agoWarn about statements in grammar not described in docs
Petr Špaček [Thu, 12 May 2022 17:16:52 +0000 (19:16 +0200)] 
Warn about statements in grammar not described in docs

Skip over obsolete options.

3 years agoGive Sphinx configuration domains access to grammar
Petr Špaček [Wed, 11 May 2022 08:38:05 +0000 (10:38 +0200)] 
Give Sphinx configuration domains access to grammar

3 years agoAdd helper to unify options and zone block grammars
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Add helper to unify options and zone block grammars

A helper is needed to combine cfg_test output for generic options and
all the type-dependent zone block variants.

3 years agoAdd pretty printer for JSON grammar
Petr Špaček [Mon, 9 May 2022 16:25:18 +0000 (18:25 +0200)] 
Add pretty printer for JSON grammar

It produces the same format as cfg_test --grammar. The advantage is that
it allows to print any node in configuration the tree, not just whole
blocks.

3 years agoAdd utility to search for context-dependent configuration statements
Petr Špaček [Mon, 9 May 2022 16:04:40 +0000 (18:04 +0200)] 
Add utility to search for context-dependent configuration statements

The utility detects statements which use the same name (e.g.
max-zone-ttl) but use different grammar in different contexts. These
typically need special case in docs.

3 years agoAdd a new library to parse grammar format produced by cfg_test
Petr Špaček [Tue, 3 May 2022 07:09:16 +0000 (09:09 +0200)] 
Add a new library to parse grammar format produced by cfg_test

It transforms named.conf/rndc.conf grammar from text format into Python
dictionary. This allows granular access to grammar elements.

Beware: It heavity depens on cfg_test output format!

3 years agoAdd rndc.conf grammar into doc/misc
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Add rndc.conf grammar into doc/misc

It uses the same mechanism as all other grammars, but the file is named
differently to distinguish it from named.conf grammars.

3 years agoUn-format grammar files in doc/misc
Petr Špaček [Wed, 11 May 2022 07:20:51 +0000 (09:20 +0200)] 
Un-format grammar files in doc/misc

The next commit is going to add parser for ISC configuration format.
To simplify the parser the grammar files in doc/misc are no longer
line-wrapped as handling it would make the grammar parser unnecessairly
complicated.

This affects visible output in the ARM, but in the end we are going to
replace the auto-generated .rst files with grammar pretty printed, so
formatting of these files does not matter in practical terms.

3 years agoAdd missing comment markers to doc/misc/ grammar files
Petr Špaček [Wed, 11 May 2022 06:03:40 +0000 (08:03 +0200)] 
Add missing comment markers to doc/misc/ grammar files

These files can be consumed by scripts, so obviously missing comment
markers wreak havoc.

3 years agoMerge branch 'sgoldlust/arm-tag-query-transfer' into 'main'
Petr Špaček [Thu, 30 Jun 2022 16:11:30 +0000 (16:11 +0000)] 
Merge branch 'sgoldlust/arm-tag-query-transfer' into 'main'

Add tags and short descriptions for query and transfer statements

See merge request isc-projects/bind9!6502

3 years agoAccept rst syntax in .. statement:: short: text
Petr Špaček [Mon, 27 Jun 2022 15:03:47 +0000 (17:03 +0200)] 
Accept rst syntax in .. statement:: short: text

Nested rst syntax is now parsed and rendered. E.g.:

.. namedconf:statement:: example
   :short: Use ``this`` **cool** syntax!

3 years agoDisambiguate address_match_list link anchor
Petr Špaček [Wed, 29 Jun 2022 08:49:43 +0000 (10:49 +0200)] 
Disambiguate address_match_list link anchor

Let's keep just the :term: produced by grammar glossary.

3 years agoAdd the :tags: and :short: descriptions for the category "transfer"
Suzanne Goldlust [Fri, 24 Jun 2022 20:00:58 +0000 (20:00 +0000)] 
Add the :tags: and :short: descriptions for the category "transfer"

3 years agoAdd the :tags: and :short: descriptions for the category "query"
Suzanne Goldlust [Fri, 24 Jun 2022 17:04:20 +0000 (17:04 +0000)] 
Add the :tags: and :short: descriptions for the category "query"

3 years agoResurrect DNS NOTIFY chapter in the ARM
Petr Špaček [Tue, 28 Jun 2022 15:23:19 +0000 (17:23 +0200)] 
Resurrect DNS NOTIFY chapter in the ARM

It was accidentally removed in the heat of
25eb91d23c5a2056f36902c90dfe8ca69f6a9400.

3 years agoMerge branch '2147-obsolete-the-glue-cache-option' into 'main'
Michał Kępień [Thu, 30 Jun 2022 13:27:54 +0000 (13:27 +0000)] 
Merge branch '2147-obsolete-the-glue-cache-option' into 'main'

Obsolete the "glue-cache" option

Closes #2147

See merge request isc-projects/bind9!6500

3 years agoAdd CHANGES entry and release note for GL #2147
Michał Kępień [Thu, 30 Jun 2022 13:24:08 +0000 (15:24 +0200)] 
Add CHANGES entry and release note for GL #2147

3 years agoObsolete the "glue-cache" option
Michał Kępień [Thu, 30 Jun 2022 13:24:08 +0000 (15:24 +0200)] 
Obsolete the "glue-cache" option

The "glue-cache" option was marked as deprecated by commit
5ae33351f286feb25a965bf3c9e6b122ab495342 (first released in BIND 9.17.6,
back in October 2020), so now obsolete that option, removing all code
and documentation related to it.

Note: this causes the glue cache feature to be permanently enabled, not
disabled.

3 years agoMerge branch '2371-add-stress-testing-with-rpz' into 'main'
Michal Nowak [Tue, 28 Jun 2022 18:36:30 +0000 (18:36 +0000)] 
Merge branch '2371-add-stress-testing-with-rpz' into 'main'

Run the "stress" test in RPZ mode in GitLab CI

Closes #2371

See merge request isc-projects/bind9!4526

3 years agoAdd stress testing with RPZ
Michal Nowak [Tue, 5 Jan 2021 10:53:18 +0000 (11:53 +0100)] 
Add stress testing with RPZ

3 years agoMerge branch '3408-drop-debian-9-stretch' into 'main'
Petr Špaček [Tue, 28 Jun 2022 15:56:06 +0000 (15:56 +0000)] 
Merge branch '3408-drop-debian-9-stretch' into 'main'

Drop support for Debian 9 (Stretch)

See merge request isc-projects/bind9!6486

3 years agoDeclare Debian 9 (Stretch) community-maintained
Petr Špaček [Thu, 23 Jun 2022 16:17:49 +0000 (18:17 +0200)] 
Declare Debian 9 (Stretch) community-maintained

3 years agoDrop Debian 9 (Stretch) from CI
Petr Špaček [Thu, 23 Jun 2022 16:16:28 +0000 (18:16 +0200)] 
Drop Debian 9 (Stretch) from CI

3 years agoMerge branch '3415-update-http-listeners-on-reconfig' into 'main'
Artem Boldariev [Tue, 28 Jun 2022 13:10:20 +0000 (13:10 +0000)] 
Merge branch '3415-update-http-listeners-on-reconfig' into 'main'

Update HTTP listeners settings on reconfiguration

Closes #3415

See merge request isc-projects/bind9!6482

3 years agodoth test: extend with HTTP endpoints reconfiguration check
Artem Boldariev [Mon, 27 Jun 2022 13:23:26 +0000 (16:23 +0300)] 
doth test: extend with HTTP endpoints reconfiguration check

This commit add a check which verifies that HTTP endpoints are being
picked up properly by the BIND instance on a reconfiguration.

3 years agoUpdate CHANGES [GL #3415]
Artem Boldariev [Wed, 22 Jun 2022 18:38:15 +0000 (21:38 +0300)] 
Update CHANGES [GL #3415]

Mention that the settings are now applied properly on reconfiguration.

3 years agoUpdate the set of HTTP endpoints on reconfiguration
Artem Boldariev [Wed, 22 Jun 2022 16:31:18 +0000 (19:31 +0300)] 
Update the set of HTTP endpoints on reconfiguration

This commit ensures that on reconfiguration the set of HTTP
endpoints (=paths) is being updated within HTTP listeners.

3 years agoUpdate max concurrent streams limit in HTTP listeners on reconfig
Artem Boldariev [Wed, 22 Jun 2022 13:45:28 +0000 (16:45 +0300)] 
Update max concurrent streams limit in HTTP listeners on reconfig

This commit ensures that HTTP listeners concurrent streams limit gets
updated properly on reconfiguration.

3 years agoUpdate HTTP listeners quotas on reconfiguration
Artem Boldariev [Wed, 22 Jun 2022 12:28:57 +0000 (15:28 +0300)] 
Update HTTP listeners quotas on reconfiguration

This commit ensures that on reconfiguration a proper value for HTTP
connections limit is picked up.

The commit also refactors how listeners settings are updated so that
there is less code duplication.

3 years agoStore HTTP quota size inside a listenlist instead of the quota
Artem Boldariev [Wed, 22 Jun 2022 11:52:58 +0000 (14:52 +0300)] 
Store HTTP quota size inside a listenlist instead of the quota

This way only quota size is passed to the interface/listener
management code instead of a quota object. Thus, we can implement
updating the quota object size instead of recreating the object.

3 years agoMerge branch 'matthijs-dnssec-policy-defaults-in-config-dot-c' into 'main'
Matthijs Mekking [Tue, 28 Jun 2022 12:35:46 +0000 (12:35 +0000)] 
Merge branch 'matthijs-dnssec-policy-defaults-in-config-dot-c' into 'main'

Move built-in dnssec-policies into defaultconf

See merge request isc-projects/bind9!6467

3 years agoAdd isccfg duration utility functions
Matthijs Mekking [Mon, 27 Jun 2022 14:31:43 +0000 (16:31 +0200)] 
Add isccfg duration utility functions

Add function isccfg_duration_toseconds and isccfg_parse_duration to get
rid of code duplication.

3 years agoFix a bug in the duration_fromtext function
Matthijs Mekking [Fri, 24 Jun 2022 07:58:40 +0000 (09:58 +0200)] 
Fix a bug in the duration_fromtext function

The function actually did not enforce that the duration string starts
with a P (or p), just that there is a P (or p) in the string.

3 years agoAlso inherit from "default" for "insecure" policy
Matthijs Mekking [Fri, 24 Jun 2022 07:22:38 +0000 (09:22 +0200)] 
Also inherit from "default" for "insecure" policy

Remove the duplication from the defaultconf and inherit the values
not set in the "insecure" policy from the "default" policy. Therefore,
we must insist that the first read built-in policy is the default one.

3 years agoAdd change entry for dnssec-policy in defaultconf
Matthijs Mekking [Tue, 21 Jun 2022 12:46:44 +0000 (14:46 +0200)] 
Add change entry for dnssec-policy in defaultconf

3 years agoNit changes in keymgr and kasp
Matthijs Mekking [Tue, 21 Jun 2022 10:45:54 +0000 (12:45 +0200)] 
Nit changes in keymgr and kasp

Use the ISC_MAX define instead of "x = a > b ? a : b" paradigm.

Remove an unneeded include.

3 years agoWhen loading dnssec-policies, inherit from default
Matthijs Mekking [Tue, 21 Jun 2022 10:40:12 +0000 (12:40 +0200)] 
When loading dnssec-policies, inherit from default

Most of the settings (durations) are already inheriting from the default
because they use the constants from lib/dns/kasp.h. We need them as
constants so we can use them in named-checkconf to verify the policy
parameters.

The NSEC(3) parameters and keys should come from the actual default
policy. Change the call to cfg_kasp_fromconfig() to include the default
kasp. We also no longer need to corner case where config is NULL we load
the built-in policy: the built-in policies are now loaded when config is
set to named_g_config.

Finally, add a debug log (it is useful to see which policies are being
loaded).

3 years agoStore built-in dnssec-policies in defaultconf
Matthijs Mekking [Tue, 21 Jun 2022 10:31:05 +0000 (12:31 +0200)] 
Store built-in dnssec-policies in defaultconf

Update the defaultconf with the built-in policies. These will now be
printed with "named -C".

Change the defines in kasp.h to be strings, so they can be concatenated
in the defaultconf. This means when creating a kasp structure, we no
longer initialize the defaults (this is fine because only kaspconf.c
uses dns_kasp_create() and it inherits from the default policy).

In kaspconf.c, the default values now need to be parsed from string.

Introduce some variables so we don't need to do get_duration multiple
times on the same configuration option.

Finally, clang-format-14 decided to do some random formatting changes.

3 years agoMove duration structure to libisccfg/duration
Matthijs Mekking [Tue, 21 Jun 2022 10:22:36 +0000 (12:22 +0200)] 
Move duration structure to libisccfg/duration

Having the duration structure and parsing code here, it becomes
more accessible to be used in other places.

3 years agoMerge branch '3216-run-sslyze-in-gitlab-ci' into 'main'
Michał Kępień [Mon, 27 Jun 2022 21:08:40 +0000 (21:08 +0000)] 
Merge branch '3216-run-sslyze-in-gitlab-ci' into 'main'

[CVE-2022-1183] Run sslyze in GitLab CI

Closes #3216

See merge request isc-projects/bind9!6365

3 years agoAlso test DNS-over-TLS code using sslyze
Michał Kępień [Mon, 27 Jun 2022 20:50:00 +0000 (22:50 +0200)] 
Also test DNS-over-TLS code using sslyze

Since sslyze can test any TLS-enabled server, also use it for exercising
DNS-over-TLS code rather than just DNS-over-HTTPS code.

3 years agoAdd regression test for CVE-2022-1183
Michał Kępień [Mon, 27 Jun 2022 20:50:00 +0000 (22:50 +0200)] 
Add regression test for CVE-2022-1183

If sslyze is available in PATH, run it in a loop as part of the "doth"
system test.

3 years agoMerge branch '3422-dnssec-policy-clarifications' into 'main'
Matthijs Mekking [Mon, 27 Jun 2022 09:03:54 +0000 (09:03 +0000)] 
Merge branch '3422-dnssec-policy-clarifications' into 'main'

Add some clarifications wrt dynamic zones

Closes #3422

See merge request isc-projects/bind9!6487

3 years agoAdd some clarifications wrt dynamic zones
Matthijs Mekking [Fri, 24 Jun 2022 14:36:23 +0000 (16:36 +0200)] 
Add some clarifications wrt dynamic zones

These were suggested by GitLab user @elmaimbo.

3 years agoMerge branch '3169-named-conf-intro-and-links' into 'main'
Petr Špaček [Fri, 24 Jun 2022 14:38:46 +0000 (14:38 +0000)] 
Merge branch '3169-named-conf-intro-and-links' into 'main'

Reworked named.conf introduction and link anchors

See merge request isc-projects/bind9!6459

3 years agoAdded explanations or Argument, Value, and Directive to the ARM
Ron Aitchison [Thu, 23 Jun 2022 16:25:41 +0000 (16:25 +0000)] 
Added explanations or Argument, Value, and Directive to the ARM

3 years agoAdd link to glob definition for include directive
Petr Špaček [Thu, 23 Jun 2022 11:38:58 +0000 (13:38 +0200)] 
Add link to glob definition for include directive

3 years agoMinor text nitpicking around dnssec-policy grammar reference
Suzanne Goldlust [Thu, 23 Jun 2022 11:08:49 +0000 (13:08 +0200)] 
Minor text nitpicking around dnssec-policy grammar reference

3 years agoRemove ambiguous link anchors for logging { file } statement
Petr Špaček [Fri, 17 Jun 2022 12:42:32 +0000 (14:42 +0200)] 
Remove ambiguous link anchors for logging { file } statement

Unfortunatelly logging and zone blocks use file statements with
different semantics but the same name.

There is no sane way to disambiguate them in text, so let's remove the
link anchor from logging so we can link to the file statement in zone.

My assumption is that linking to logging { file } is very unlikely
because logging is self-contained in one block but zone config is all
over the place.

3 years agoRemove ambiguous link anchors for keys statement
Petr Špaček [Fri, 17 Jun 2022 12:33:26 +0000 (14:33 +0200)] 
Remove ambiguous link anchors for keys statement

Unfortunatelly dnssec-policy and servers blocks use keys statements with
a totally different grammar and semantics but the same name.
There is no sane way to disambiguate them in text, so let's remove the
link anchors to prevent errorneous linking.

3 years agoChange statement->argument terminology for control channel
Petr Špaček [Fri, 17 Jun 2022 12:27:16 +0000 (14:27 +0200)] 
Change statement->argument terminology for control channel

control { inet ... allow keys read-only }; are not actual statements
but in fact arguments of a statement. Remove .. namedconf:statement::
syntax to avoid collisions with other statements of the same name.

3 years agoDeduplicate dnssec-policy definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 11:24:37 +0000 (13:24 +0200)] 
Deduplicate dnssec-policy definition in the ARM

3 years agoDeduplicate null definition in the ARM logging section
Petr Špaček [Fri, 17 Jun 2022 10:59:16 +0000 (12:59 +0200)] 
Deduplicate null definition in the ARM logging section

3 years agoDeduplicate {use,avoid}-v{4,6}-udp-ports definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:31:34 +0000 (11:31 +0200)] 
Deduplicate {use,avoid}-v{4,6}-udp-ports definitions in the ARM

Statements affected:
use-v4-udp-ports
use-v6-udp-ports
avoid-v4-udp-ports
avoid-v6-udp-ports

3 years agoDeduplicate request-expire definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:13:52 +0000 (11:13 +0200)] 
Deduplicate request-expire definition in the ARM

3 years agoDeduplicate provide-ixfr definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:10:34 +0000 (11:10 +0200)] 
Deduplicate provide-ixfr definition in the ARM

3 years agoDeduplicate request-ixfr definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:07:38 +0000 (11:07 +0200)] 
Deduplicate request-ixfr definition in the ARM

Let's be consistent and put all definitions in the options block.

3 years agoDeduplicate notify-source, notify-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 09:00:21 +0000 (11:00 +0200)] 
Deduplicate notify-source, notify-source-v6 definitions in the ARM

3 years agoDeduplicate request-nsid definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:57:41 +0000 (10:57 +0200)] 
Deduplicate request-nsid definition in the ARM

3 years agoDeduplicate query-source, query-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:54:19 +0000 (10:54 +0200)] 
Deduplicate query-source, query-source-v6 definitions in the ARM

3 years agoDeduplicate transfer-source, transfer-source-v6 definitions in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:21:59 +0000 (10:21 +0200)] 
Deduplicate transfer-source, transfer-source-v6 definitions in the ARM

3 years agoDeduplicate transfer-format definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:18:27 +0000 (10:18 +0200)] 
Deduplicate transfer-format definition in the ARM

3 years agoDeduplicate send-cookie definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:14:49 +0000 (10:14 +0200)] 
Deduplicate send-cookie definition in the ARM

3 years agoDeduplicate max-udp-size definition in the ARM
Petr Špaček [Fri, 17 Jun 2022 08:09:01 +0000 (10:09 +0200)] 
Deduplicate max-udp-size definition in the ARM

3 years agoDeduplicate edns-udp-size definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 15:03:53 +0000 (17:03 +0200)] 
Deduplicate edns-udp-size definition in the ARM

3 years agoDeduplicate max-zone-ttl definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 14:54:12 +0000 (16:54 +0200)] 
Deduplicate max-zone-ttl definition in the ARM

This is confusing as hell, but we cannot fix that in the manual itself.
At least now the user is made aware of two distinct defaults.

3 years agoDeduplicate allow-update definition in the ARM
Petr Špaček [Thu, 16 Jun 2022 14:45:09 +0000 (16:45 +0200)] 
Deduplicate allow-update definition in the ARM

3 years agoReference new named.conf description instead of man page
Ron Aitchison [Wed, 15 Jun 2022 12:06:37 +0000 (14:06 +0200)] 
Reference new named.conf description instead of man page

3 years agoRemove line numbering from config file examples
Ron Aitchison [Wed, 15 Jun 2022 12:04:33 +0000 (14:04 +0200)] 
Remove line numbering from config file examples

3 years agoChanged all references from clause to block
Ron Aitchison [Fri, 10 Jun 2022 14:49:01 +0000 (14:49 +0000)] 
Changed all references from clause to block

3 years agoRestructure introduction to named.conf in the ARM
Ron Aitchison [Fri, 17 Jun 2022 13:33:46 +0000 (15:33 +0200)] 
Restructure introduction to named.conf in the ARM