]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Update rdatatype.py
authorDNS-Leo <48684914+DNS-Leo@users.noreply.github.com>
Mon, 18 Mar 2019 17:36:36 +0000 (18:36 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2019 17:36:36 +0000 (18:36 +0100)
Added NINFO (identical to TXT), assigned as type 56 by IANA.
See:
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4
https://www.iana.org/assignments/dns-parameters/NINFO/ninfo-completed-template
https://tools.ietf.org/html/draft-reid-dnsext-zs-01

dns/rdatatype.py

index e2a0dd689a0553874dd785f4464b713f90de7e7e..63c8b5307d702bf517499563ae178f47e2f1f8e7 100644 (file)
@@ -71,6 +71,7 @@ NSEC3 = 50
 NSEC3PARAM = 51
 TLSA = 52
 HIP = 55
+NINFO = 56
 CDS = 59
 CDNSKEY = 60
 OPENPGPKEY = 61
@@ -143,6 +144,7 @@ _by_text = {
     'NSEC3PARAM': NSEC3PARAM,
     'TLSA': TLSA,
     'HIP': HIP,
+    'NINFO': NINFO,
     'CDS': CDS,
     'CDNSKEY': CDNSKEY,
     'OPENPGPKEY': OPENPGPKEY,