Skip to content
Snippets Groups Projects
Commit 2420e55d authored by Aleš Mrázek's avatar Aleš Mrázek
Browse files

manager: datamodel: stub-zones removed from configuration

parent 532cf20d
Branches
Tags
1 merge request!1313manager: datamodel improvements
......@@ -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]
......
......@@ -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" %}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment