Skip to content

Commit

Permalink
Merge pull request #4 from jp-coding/patch-1
Browse files Browse the repository at this point in the history
Add DNS record types for OPENPGPKEY and SMIMEA to list of valid record types
  • Loading branch information
nbuchwitz authored Apr 16, 2019
2 parents e3e6a28 + b79f0bf commit 3c5238e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nc_dnsapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __eq__(self, other):


class DNSRecord(object):
__valid_types = ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS']
__valid_types = ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS', 'OPENPGPKEY', 'SMIMEA']

def __init__(self, hostname, type, destination, **kwargs):
self.hostname = hostname
Expand Down

0 comments on commit 3c5238e

Please sign in to comment.