Changeset 1148

Show
Ignore:
Timestamp:
03/01/08 23:44:03 (2 years ago)
Author:
ahu
Message:

add more record types to the enum, plus fix up the ns_t_kx/ns_t_mx confusion

Location:
trunk/pdns/pdns
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnsrecords.cc

    r1144 r1148  
    216216                 ) 
    217217 
    218 boilerplate_conv(KX, ns_t_mx,  
     218boilerplate_conv(KX, ns_t_kx,  
    219219                 conv.xfr16BitInt(d_preference); 
    220220                 conv.xfrLabel(d_exchanger, false); 
  • trunk/pdns/pdns/qtype.hh

    r1137 r1148  
    7373  static int chartocode(const char *p); //!< convert a character string to a code 
    7474   
    75   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, OPT=41, 
     75  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,  
     76                 CERT=37,OPT=41, DS=43, SSHDP=44, IPSECKEY=45, RRSIG=46, NSEC=47, DNSKEY=48, DHCID=49,  
    7677                 SPF=99, AXFR=252, IXFR=251, ANY=255, URL=256, MBOXFW=257, CURL=258, ADDR=259} types; 
    7778private: