]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager: datamodel: stub-zones removed from configuration
authorAleš Mrázek <ales.mrazek@nic.cz>
Wed, 1 Mar 2023 13:07:14 +0000 (14:07 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 9 Jun 2023 11:54:07 +0000 (11:54 +0000)
manager/knot_resolver_manager/datamodel/config_schema.py
manager/knot_resolver_manager/datamodel/templates/config.lua.j2

index fed9b2c48291abbdd775f47fa0e958f261712686..a510c45d81f5b989f7afcec489f72ae34837dd7d 100644 (file)
@@ -22,7 +22,6 @@ from knot_resolver_manager.datamodel.options_schema import OptionsSchema
 from knot_resolver_manager.datamodel.policy_schema import PolicySchema
 from knot_resolver_manager.datamodel.rpz_schema import RPZSchema
 from knot_resolver_manager.datamodel.slice_schema import SliceSchema
-from knot_resolver_manager.datamodel.stub_zone_schema import StubZoneSchema
 from knot_resolver_manager.datamodel.types import IntPositive
 from knot_resolver_manager.datamodel.types.files import UncheckedPath
 from knot_resolver_manager.datamodel.view_schema import ViewSchema
@@ -101,7 +100,6 @@ class KresConfig(ConfigSchema):
         slices: Split the entire DNS namespace into distinct slices.
         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: List of Forward Zones and its configuration.
         cache: DNS resolver cache configuration.
         dnssec: Disable DNSSEC, enable with defaults or set new configuration.
@@ -126,7 +124,6 @@ class KresConfig(ConfigSchema):
         slices: Optional[List[SliceSchema]] = None
         policy: Optional[List[PolicySchema]] = None
         rpz: Optional[List[RPZSchema]] = None
-        stub_zones: Optional[List[StubZoneSchema]] = None
         forward: Optional[List[ForwardSchema]] = None
         cache: CacheSchema = CacheSchema()
         dnssec: Union[bool, DnssecSchema] = True
@@ -151,7 +148,6 @@ class KresConfig(ConfigSchema):
     slices: Optional[List[SliceSchema]]
     policy: Optional[List[PolicySchema]]
     rpz: Optional[List[RPZSchema]]
-    stub_zones: Optional[List[StubZoneSchema]]
     forward: Optional[List[ForwardSchema]]
     cache: CacheSchema
     dnssec: Union[Literal[False], DnssecSchema]
index 9dc7ef21445329dc324ce9d200e52d71b39e982e..8d72c624dadcbf8b698c9c8d4e4608600845889b 100644 (file)
@@ -36,9 +36,6 @@ nsid.name('{{ cfg.nsid }}_' .. worker.id)
 -- RPZ section --------------------------------------
 {% include "rpz.lua.j2" %}
 
--- STUB-ZONES section -------------------------------
-{% include "stub_zones.lua.j2" %}
-
 -- FORWARD section ----------------------------
 {% include "forward.lua.j2" %}