#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<string,uint16_t> namenum;
static vector<namenum> names;
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;