From: Bert Hubert Date: Sat, 14 Apr 2012 09:06:03 +0000 (+0000) Subject: James Cloos was the first to submit a patch with the IANA assigned code for TLSA! X-Git-Tag: auth-3.1-rc3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a4e06e975b051aa7e7dc3e1fdd86d93bbe54509;p=pdns James Cloos was the first to submit a patch with the IANA assigned code for TLSA! git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2567 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index bc2d0ba3c..748672a1f 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -223,7 +223,7 @@ boilerplate_conv(CERT, 37, conv.xfrBlob(d_certificate); ) -boilerplate_conv(TLSA, 65468, +boilerplate_conv(TLSA, 52, conv.xfr8BitInt(d_certusage); conv.xfr8BitInt(d_selector); conv.xfr8BitInt(d_matchtype); diff --git a/pdns/qtype.cc b/pdns/qtype.cc index b5b308730..8a40e4054 100644 --- a/pdns/qtype.cc +++ b/pdns/qtype.cc @@ -66,6 +66,7 @@ QType::QType() 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 @@ QType::QType() insert("CURL",258); insert("ADDR",259); insert("DLV",32769); - insert("TLSA",65468); } } diff --git a/pdns/qtype.hh b/pdns/qtype.hh index 85b6cf676..b596ce188 100644 --- a/pdns/qtype.hh +++ b/pdns/qtype.hh @@ -79,7 +79,7 @@ public: #undef DS enum typeenum {A=1,NS=2,CNAME=5,SOA=6, MR=9, PTR=12,HINFO=13,MX=15,TXT=16,RP=17,AFSDB=18,KEY=25,AAAA=28,LOC=29,SRV=33,NAPTR=35, KX=36, CERT=37,OPT=41, DS=43, SSHFP=44, IPSECKEY=45, RRSIG=46, NSEC=47, DNSKEY=48, DHCID=49, NSEC3=50, NSEC3PARAM=51, - SPF=99, TSIG=250, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259, DLV=32769} types; + TLSA=52, SPF=99, TSIG=250, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259, DLV=32769} types; typedef pair namenum; static vector names; private: