@@ -3578,7 +3578,7 @@ def __init__(self, zone, fqdn=None):
35783578 self .records = {}
35793579
35803580 self .recs = {'A' : ARecord , 'AAAA' : AAAARecord ,
3581- 'ALIAS' : ALIASRecord , 'CDS' : CDSRecord ,
3581+ 'ALIAS' : ALIASRecord , 'CAA' : CAARecord , ' CDS' : CDSRecord ,
35823582 'CDNSKEY' : CDNSKEYRecord , 'CSYNC' : CSYNCRecord ,
35833583 'CERT' : CERTRecord , 'CNAME' : CNAMERecord ,
35843584 'DHCID' : DHCIDRecord , 'DNAME' : DNAMERecord ,
@@ -3597,10 +3597,10 @@ def add_record(self, record_type='A', *args, **kwargs):
35973597 """Adds an a record with the provided data to this :class:`Node`
35983598
35993599 :param record_type: The type of record you would like to add.
3600- Valid record_type arguments are: 'A', 'AAAA', 'CERT ', 'CNAME ',
3601- 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'KX', 'LOC', 'IPSECKEY ',
3602- 'MX', 'NAPTR', 'PTR', 'PX', 'NSAP', 'RP', 'NS', 'SOA', 'SPF ',
3603- 'SRV', and 'TXT'.
3600+ Valid record_type arguments are: 'A', 'AAAA', 'CAA ', 'CERT ',
3601+ 'CNAME', ' DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'KX', 'LOC',
3602+ 'IPSECKEY', ' MX', 'NAPTR', 'PTR', 'PX', 'NSAP', 'RP', 'NS', 'SOA',
3603+ 'SPF', ' SRV', and 'TXT'.
36043604 :param args: Non-keyword arguments to pass to the Record constructor
36053605 :param kwargs: Keyword arguments to pass to the Record constructor
36063606 """
@@ -3650,13 +3650,14 @@ def get_all_records_by_type(self, record_type):
36503650 are owned by this node.
36513651
36523652 :param record_type: The type of :class:`DNSRecord` you wish returned.
3653- Valid record_type arguments are: 'A', 'AAAA', 'CERT ', 'CNAME ',
3654- 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'KX', 'LOC', 'IPSECKEY ',
3655- 'MX', 'NAPTR', 'PTR', 'PX', 'NSAP', 'RP', 'NS', 'SOA', 'SPF ',
3656- 'SRV', and 'TXT'.
3653+ Valid record_type arguments are: 'A', 'AAAA', 'CAA ', 'CERT ',
3654+ 'CNAME', ' DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'KX', 'LOC',
3655+ 'IPSECKEY', ' MX', 'NAPTR', 'PTR', 'PX', 'NSAP', 'RP', 'NS', 'SOA',
3656+ 'SPF', ' SRV', and 'TXT'.
36573657 :return: A list of :class:`DNSRecord`'s
36583658 """
3659- names = {'A' : 'ARecord' , 'AAAA' : 'AAAARecord' , 'CERT' : 'CERTRecord' ,
3659+ names = {'A' : 'ARecord' , 'AAAA' : 'AAAARecord' ,
3660+ 'CAA' : 'CAARecord' , 'CERT' : 'CERTRecord' ,
36603661 'CNAME' : 'CNAMERecord' , 'DHCID' : 'DHCIDRecord' ,
36613662 'DNAME' : 'DNAMERecord' , 'DNSKEY' : 'DNSKEYRecord' ,
36623663 'DS' : 'DSRecord' , 'KEY' : 'KEYRecord' , 'KX' : 'KXRecord' ,
0 commit comments