diff options
Diffstat (limited to 'manager/knot_resolver_manager/datamodel/dns64_schema.py')
-rw-r--r-- | manager/knot_resolver_manager/datamodel/dns64_schema.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manager/knot_resolver_manager/datamodel/dns64_schema.py b/manager/knot_resolver_manager/datamodel/dns64_schema.py new file mode 100644 index 00000000..55d3200a --- /dev/null +++ b/manager/knot_resolver_manager/datamodel/dns64_schema.py @@ -0,0 +1,13 @@ +from knot_resolver_manager.datamodel.types import IPv6Network96 +from knot_resolver_manager.utils.modeling import ConfigSchema + + +class Dns64Schema(ConfigSchema): + """ + DNS64 (RFC 6147) configuration. + + --- + prefix: IPv6 prefix to be used for synthesizing AAAA records. + """ + + prefix: IPv6Network96 = IPv6Network96("64:ff9b::/96") |