[Pdns-dev] TLSA RR Assigned

James Cloos cloos at jhcloos.com
Sat Apr 14 00:27:54 CEST 2012


IANA has assigned the TLSA RR as 52.  This patch keeps qtype sorted but
leaves the method call in dnsrecords where it was.  Please apply before
the upcoming release.

Index: pdns/pdns/qtype.cc
===================================================================
--- pdns/pdns/qtype.cc	(revision 2566)
+++ pdns/pdns/qtype.cc	(working copy)
@@ -66,6 +66,7 @@
       insert("DNSKEY", 48);
       insert("NSEC3", 50);
       insert("NSEC3PARAM", 51);
+      insert("TLSA",52);
       insert("SPF",99);
       insert("IXFR",251);
       insert("AXFR",252);
@@ -75,7 +76,6 @@
       insert("CURL",258);
       insert("ADDR",259);
       insert("DLV",32769);
-      insert("TLSA",65468);
     }
 }
 
Index: pdns/pdns/dnsrecords.cc
===================================================================
--- pdns/pdns/dnsrecords.cc	(revision 2566)
+++ pdns/pdns/dnsrecords.cc	(working copy)
@@ -223,7 +223,7 @@
         	 conv.xfrBlob(d_certificate);
         	 )
 		 
-boilerplate_conv(TLSA, 65468, 
+boilerplate_conv(TLSA, 52, 
         	 conv.xfr8BitInt(d_certusage); 
         	 conv.xfr8BitInt(d_selector); 
         	 conv.xfr8BitInt(d_matchtype); 


-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the Pdns-dev mailing list