From: Aleš Date: Wed, 5 Jan 2022 22:38:31 +0000 (+0100) Subject: docs: datamodel: config_schema fields documented X-Git-Tag: v6.0.0a1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246aba4dd6defe00f998243d05737ba277919597;p=thirdparty%2Fknot-resolver.git docs: datamodel: config_schema fields documented --- diff --git a/manager/knot_resolver_manager/datamodel/config_schema.py b/manager/knot_resolver_manager/datamodel/config_schema.py index 368bb24a6..99f763e0f 100644 --- a/manager/knot_resolver_manager/datamodel/config_schema.py +++ b/manager/knot_resolver_manager/datamodel/config_schema.py @@ -53,6 +53,26 @@ _MAIN_TEMPLATE = _import_lua_template() class KresConfig(SchemaNode): + """ + Knot Resolver declarative configuration. + + --- + server: DNS server control and management configuration. + options: Fine-tuning global parameters of DNS resolver operation. + network: Network connections and protocols. + static-hints: Static hints configuration section. + views: List of views and its configuration. + policy: List of policy rules and its configuration. + rpz: List of Response Policy Zones and its configuration. + stub-zones: List of Stub Zones and its configuration. + forward-zones: List of Forward Zones and its configuration. + cache: DNS resolver cache configuration. + dnssec: DNSSEC disabling/enabling and configuration. + dns64: DNS64 disabling/enabling and configuration. + logging: Logging configuration. + lua: Custom Lua configuration. + """ + class Raw(SchemaNode): server: ServerSchema = ServerSchema() options: OptionsSchema = OptionsSchema()