blob: cc0fa06a5a375341b208bc0df9e003ba1bcdeba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from typing import List, Optional
from knot_resolver.datamodel.types import IPv6Network, IPv6Network96, TimeUnit
from knot_resolver.utils.modeling import ConfigSchema
class Dns64Schema(ConfigSchema):
"""
DNS64 (RFC 6147) configuration.
---
prefix: IPv6 prefix to be used for synthesizing AAAA records.
rev_ttl: TTL in CNAME generated in the reverse 'ip6.arpa.' subtree.
exclude_subnets: IPv6 subnets that are disallowed in answer.
"""
prefix: IPv6Network96 = IPv6Network96("64:ff9b::/96")
rev_ttl: Optional[TimeUnit] = None
exclude_subnets: Optional[List[IPv6Network]] = None
|