]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager: datamodel: options: 'qname_minimisation' renamed to 'minimize'
authorAleš Mrázek <ales.mrazek@nic.cz>
Fri, 24 Mar 2023 14:37:01 +0000 (15:37 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 9 Jun 2023 11:54:07 +0000 (11:54 +0000)
manager/knot_resolver_manager/datamodel/options_schema.py
manager/knot_resolver_manager/datamodel/templates/options.lua.j2

index cee709a2fdb03b9ca260ec97af4fbc196122a985..e95e5f88b4e5d36f8399a583ef6c63d95ae75b44 100644 (file)
@@ -28,7 +28,7 @@ class OptionsSchema(ConfigSchema):
 
         ---
         glue_checking: Glue records scrictness checking level.
-        qname_minimisation: Send minimum amount of information in recursive queries to enhance privacy.
+        minimize: Send minimum amount of information in recursive queries to enhance privacy.
         query_loopback: Permits queries to loopback addresses.
         reorder_rrset: Controls whether resource records within a RRSet are reordered each time it is served from the cache.
         query_case_randomization: Randomize Query Character Case.
@@ -42,7 +42,7 @@ class OptionsSchema(ConfigSchema):
         """
 
         glue_checking: GlueCheckingEnum = "normal"
-        qname_minimisation: bool = True
+        minimize: bool = True
         query_loopback: bool = False
         reorder_rrset: bool = True
         query_case_randomization: bool = True
@@ -57,7 +57,7 @@ class OptionsSchema(ConfigSchema):
     _LAYER = Raw
 
     glue_checking: GlueCheckingEnum
-    qname_minimisation: bool
+    minimize: bool
     query_loopback: bool
     reorder_rrset: bool
     query_case_randomization: bool
index 4abe977bb0d74fc9f31f2706e55c06ed2557789e..513f1e2667c271252182016178281214feb9929a 100644 (file)
@@ -38,7 +38,7 @@ modules.unload('refuse_nord')
 {% endif %}
 
 -- options.qname-minimisation
-option('NO_MINIMIZE', {{ 'false' if cfg.options.qname_minimisation else 'true' }})
+option('NO_MINIMIZE', {{ 'false' if cfg.options.minimize else 'true' }})
 
 -- options.query-loopback
 option('ALLOW_LOCAL', {{ 'true' if cfg.options.query_loopback else 'false' }})