1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Files
github-octodns/octodns/record/aaaa.py
2023-01-02 14:58:03 -05:00

27 lines
423 B
Python

#
#
#
from ipaddress import IPv6Address as _IPv6Address
from .base import Record
from .dynamic import _DynamicMixin
from .geo import _GeoMixin
from .ip import _IpValue
class Ipv6Value(_IpValue):
_address_type = _IPv6Address
_address_name = 'IPv6'
Ipv6Address = Ipv6Value
class AaaaRecord(_DynamicMixin, _GeoMixin, Record):
_type = 'AAAA'
_value_type = Ipv6Address
Record.register_type(AaaaRecord)