7 def __init__(self, IPv4 = None, IPv6 = None):
12 return Address(IPv4 = self._IPv4)
15 return Address(IPv6 = self._IPv6)
18 def __init__(self, address = None, MX = None, TCP = None, UDP = None):
19 self._address = address
22 def __init__(self, SRV = None, TLSA=None):
27 def __init__(self, name):
31 def __init__(self, NS, DS = None):
35 def __init__(self, name, mail, NS,
36 secondary_refresh, secondary_retry, secondary_discard,
37 NX_TTL = None, A_TTL = None, other_TTL = None,
39 assert other_TTL is not None
40 self._NX_TTL = other_TTL if NX_TTL is None else NX_TTL
41 self._A_TTL = other_TTL if A_TTL is None else A_TTL
42 self._other_TTL = other_TTL