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
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.
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
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]