From: Pieter Lexis Date: Tue, 1 Dec 2015 13:04:34 +0000 (+0100) Subject: Move internal QTypes to the private range X-Git-Tag: dnsdist-1.0.0-alpha1~140^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff1cd0d7e88c6c5e98fa1029d958f163bd39a969;p=pdns Move internal QTypes to the private range Closes #2924 --- diff --git a/pdns/qtype.hh b/pdns/qtype.hh index bdd9cc271..615848fc5 100644 --- a/pdns/qtype.hh +++ b/pdns/qtype.hh @@ -81,8 +81,8 @@ public: #undef DS enum typeenum : uint16_t {A=1, NS=2, CNAME=5, SOA=6, MR=9, WKS=11, PTR=12, HINFO=13, MINFO=14, MX=15, TXT=16, RP=17, AFSDB=18, SIG=24, KEY=25, AAAA=28, LOC=29, SRV=33, NAPTR=35, KX=36, CERT=37, A6=38, DNAME=39, OPT=41, DS=43, SSHFP=44, IPSECKEY=45, RRSIG=46, NSEC=47, DNSKEY=48, DHCID=49, NSEC3=50, NSEC3PARAM=51, - TLSA=52, RKEY=57, CDS=59, CDNSKEY=60, OPENPGPKEY=61, SPF=99, EUI48=108, EUI64=109, TKEY=249, TSIG=250, IXFR=251, AXFR=252, MAILB=253, MAILA=254, ANY=255, ADDR=259, - ALIAS=260, DLV=32769}; + TLSA=52, RKEY=57, CDS=59, CDNSKEY=60, OPENPGPKEY=61, SPF=99, EUI48=108, EUI64=109, TKEY=249, TSIG=250, IXFR=251, AXFR=252, MAILB=253, MAILA=254, ANY=255, + DLV=32769, ADDR=65400, ALIAS=65401 }; typedef pair namenum; static vector names; @@ -167,9 +167,9 @@ private: qtype_insert("MAILB", 253); qtype_insert("MAILA", 254); qtype_insert("ANY", 255); - qtype_insert("ADDR", 259); - qtype_insert("ALIAS", 260); qtype_insert("DLV", 32769); + qtype_insert("ADDR", 65400); + qtype_insert("ALIAS", 65401); } } initializer;