]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs: datamodel: config_schema fields documented
authorAleš <ales.mrazek@nic.cz>
Wed, 5 Jan 2022 22:38:31 +0000 (23:38 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:53 +0000 (16:17 +0200)
manager/knot_resolver_manager/datamodel/config_schema.py

index 368bb24a6afb6b34be70aff134206a5d871c1cf7..99f763e0fbf9f1d09fdb1d2145127b09cf4de4a1 100644 (file)
@@ -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()