Skip to content

Commit

Permalink
Merge pull request #15074 from omoerbeek/rec-docs-lua-vs-catz
Browse files Browse the repository at this point in the history
rec: document that forwarding catalog zones cannot be combined with Lua config.
  • Loading branch information
omoerbeek authored Jan 22, 2025
2 parents 3d4ddfb + 3beaca5 commit f972365
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pdns/recursordist/settings/docs-new-preamble-in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ As of version 5.2.0, a forwarding catalog zone entry is defined as:
recurse: bool, default false
notify_allowed: bool, default false
While this setting has no equivalent old-style Lua configuration, it cannot appear together with :ref:`setting-lua-config-file` being set.
If you want to use catalog zones to define forwards, you need to convert existing Lua configuration to YAML format.

Names instead of IP addresess can be used for ``addresses`` if :ref:`setting-yaml-recursor.system_resolver_ttl` is set.
An example of a :ref:`setting-yaml-recursor.forwarding_catalog_zones` entry, which is a sequence of `ForwardingCatalogZone`_:

Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/settings/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -3577,7 +3577,7 @@
'default' : '',
'help' : 'Sequence of ForwardingCatalogZone',
'doc' : '''
Sequence of ForwardingCatalogZone
Sequence of ForwardingCatalogZone. This setting cannot be combined with :ref:`setting-lua-config-file`.
''',
'skip-old' : 'No equivalent old style setting',
'versionadded': '5.2.0',
Expand Down

0 comments on commit f972365

Please sign in to comment.