jpayne@69: /* MIT License jpayne@69: * jpayne@69: * Copyright (c) Massachusetts Institute of Technology jpayne@69: * Copyright (c) Daniel Stenberg jpayne@69: * jpayne@69: * Permission is hereby granted, free of charge, to any person obtaining a copy jpayne@69: * of this software and associated documentation files (the "Software"), to deal jpayne@69: * in the Software without restriction, including without limitation the rights jpayne@69: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell jpayne@69: * copies of the Software, and to permit persons to whom the Software is jpayne@69: * furnished to do so, subject to the following conditions: jpayne@69: * jpayne@69: * The above copyright notice and this permission notice (including the next jpayne@69: * paragraph) shall be included in all copies or substantial portions of the jpayne@69: * Software. jpayne@69: * jpayne@69: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR jpayne@69: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, jpayne@69: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE jpayne@69: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER jpayne@69: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, jpayne@69: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE jpayne@69: * SOFTWARE. jpayne@69: * jpayne@69: * SPDX-License-Identifier: MIT jpayne@69: */ jpayne@69: jpayne@69: #ifndef ARES_NAMESER_H jpayne@69: #define ARES_NAMESER_H jpayne@69: jpayne@69: #include "ares_build.h" jpayne@69: jpayne@69: #ifdef CARES_HAVE_ARPA_NAMESER_H jpayne@69: # include jpayne@69: #endif jpayne@69: #ifdef CARES_HAVE_ARPA_NAMESER_COMPAT_H jpayne@69: # include jpayne@69: #endif jpayne@69: jpayne@69: /* ============================================================================ jpayne@69: * arpa/nameser.h may or may not provide ALL of the below defines, so check jpayne@69: * each one individually and set if not jpayne@69: * ============================================================================ jpayne@69: */ jpayne@69: jpayne@69: #ifndef NS_PACKETSZ jpayne@69: # define NS_PACKETSZ 512 /* maximum packet size */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_MAXDNAME jpayne@69: # define NS_MAXDNAME 256 /* maximum domain name */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_MAXCDNAME jpayne@69: # define NS_MAXCDNAME 255 /* maximum compressed domain name */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_MAXLABEL jpayne@69: # define NS_MAXLABEL 63 jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_HFIXEDSZ jpayne@69: # define NS_HFIXEDSZ 12 /* #/bytes of fixed data in header */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_QFIXEDSZ jpayne@69: # define NS_QFIXEDSZ 4 /* #/bytes of fixed data in query */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_RRFIXEDSZ jpayne@69: # define NS_RRFIXEDSZ 10 /* #/bytes of fixed data in r record */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_INT16SZ jpayne@69: # define NS_INT16SZ 2 jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_INADDRSZ jpayne@69: # define NS_INADDRSZ 4 jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_IN6ADDRSZ jpayne@69: # define NS_IN6ADDRSZ 16 jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_CMPRSFLGS jpayne@69: # define NS_CMPRSFLGS 0xc0 /* Flag bits indicating name compression. */ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NS_DEFAULTPORT jpayne@69: # define NS_DEFAULTPORT 53 /* For both TCP and UDP. */ jpayne@69: #endif jpayne@69: jpayne@69: /* ============================================================================ jpayne@69: * arpa/nameser.h should provide these enumerations always, so if not found, jpayne@69: * provide them jpayne@69: * ============================================================================ jpayne@69: */ jpayne@69: #ifndef CARES_HAVE_ARPA_NAMESER_H jpayne@69: jpayne@69: typedef enum __ns_class { jpayne@69: ns_c_invalid = 0, /* Cookie. */ jpayne@69: ns_c_in = 1, /* Internet. */ jpayne@69: ns_c_2 = 2, /* unallocated/unsupported. */ jpayne@69: ns_c_chaos = 3, /* MIT Chaos-net. */ jpayne@69: ns_c_hs = 4, /* MIT Hesiod. */ jpayne@69: /* Query class values which do not appear in resource records */ jpayne@69: ns_c_none = 254, /* for prereq. sections in update requests */ jpayne@69: ns_c_any = 255, /* Wildcard match. */ jpayne@69: ns_c_max = 65536 jpayne@69: } ns_class; jpayne@69: jpayne@69: typedef enum __ns_type { jpayne@69: ns_t_invalid = 0, /* Cookie. */ jpayne@69: ns_t_a = 1, /* Host address. */ jpayne@69: ns_t_ns = 2, /* Authoritative server. */ jpayne@69: ns_t_md = 3, /* Mail destination. */ jpayne@69: ns_t_mf = 4, /* Mail forwarder. */ jpayne@69: ns_t_cname = 5, /* Canonical name. */ jpayne@69: ns_t_soa = 6, /* Start of authority zone. */ jpayne@69: ns_t_mb = 7, /* Mailbox domain name. */ jpayne@69: ns_t_mg = 8, /* Mail group member. */ jpayne@69: ns_t_mr = 9, /* Mail rename name. */ jpayne@69: ns_t_null = 10, /* Null resource record. */ jpayne@69: ns_t_wks = 11, /* Well known service. */ jpayne@69: ns_t_ptr = 12, /* Domain name pointer. */ jpayne@69: ns_t_hinfo = 13, /* Host information. */ jpayne@69: ns_t_minfo = 14, /* Mailbox information. */ jpayne@69: ns_t_mx = 15, /* Mail routing information. */ jpayne@69: ns_t_txt = 16, /* Text strings. */ jpayne@69: ns_t_rp = 17, /* Responsible person. */ jpayne@69: ns_t_afsdb = 18, /* AFS cell database. */ jpayne@69: ns_t_x25 = 19, /* X_25 calling address. */ jpayne@69: ns_t_isdn = 20, /* ISDN calling address. */ jpayne@69: ns_t_rt = 21, /* Router. */ jpayne@69: ns_t_nsap = 22, /* NSAP address. */ jpayne@69: ns_t_nsap_ptr = 23, /* Reverse NSAP lookup (deprecated). */ jpayne@69: ns_t_sig = 24, /* Security signature. */ jpayne@69: ns_t_key = 25, /* Security key. */ jpayne@69: ns_t_px = 26, /* X.400 mail mapping. */ jpayne@69: ns_t_gpos = 27, /* Geographical position (withdrawn). */ jpayne@69: ns_t_aaaa = 28, /* Ip6 Address. */ jpayne@69: ns_t_loc = 29, /* Location Information. */ jpayne@69: ns_t_nxt = 30, /* Next domain (security). */ jpayne@69: ns_t_eid = 31, /* Endpoint identifier. */ jpayne@69: ns_t_nimloc = 32, /* Nimrod Locator. */ jpayne@69: ns_t_srv = 33, /* Server Selection. */ jpayne@69: ns_t_atma = 34, /* ATM Address */ jpayne@69: ns_t_naptr = 35, /* Naming Authority PoinTeR */ jpayne@69: ns_t_kx = 36, /* Key Exchange */ jpayne@69: ns_t_cert = 37, /* Certification record */ jpayne@69: ns_t_a6 = 38, /* IPv6 address (deprecates AAAA) */ jpayne@69: ns_t_dname = 39, /* Non-terminal DNAME (for IPv6) */ jpayne@69: ns_t_sink = 40, /* Kitchen sink (experimental) */ jpayne@69: ns_t_opt = 41, /* EDNS0 option (meta-RR) */ jpayne@69: ns_t_apl = 42, /* Address prefix list (RFC3123) */ jpayne@69: ns_t_ds = 43, /* Delegation Signer (RFC4034) */ jpayne@69: ns_t_sshfp = 44, /* SSH Key Fingerprint (RFC4255) */ jpayne@69: ns_t_rrsig = 46, /* Resource Record Signature (RFC4034) */ jpayne@69: ns_t_nsec = 47, /* Next Secure (RFC4034) */ jpayne@69: ns_t_dnskey = 48, /* DNS Public Key (RFC4034) */ jpayne@69: ns_t_tkey = 249, /* Transaction key */ jpayne@69: ns_t_tsig = 250, /* Transaction signature. */ jpayne@69: ns_t_ixfr = 251, /* Incremental zone transfer. */ jpayne@69: ns_t_axfr = 252, /* Transfer zone of authority. */ jpayne@69: ns_t_mailb = 253, /* Transfer mailbox records. */ jpayne@69: ns_t_maila = 254, /* Transfer mail agent records. */ jpayne@69: ns_t_any = 255, /* Wildcard match. */ jpayne@69: ns_t_uri = 256, /* Uniform Resource Identifier (RFC7553) */ jpayne@69: ns_t_caa = 257, /* Certification Authority Authorization. */ jpayne@69: ns_t_max = 65536 jpayne@69: } ns_type; jpayne@69: jpayne@69: typedef enum __ns_opcode { jpayne@69: ns_o_query = 0, /* Standard query. */ jpayne@69: ns_o_iquery = 1, /* Inverse query (deprecated/unsupported). */ jpayne@69: ns_o_status = 2, /* Name server status query (unsupported). */ jpayne@69: /* Opcode 3 is undefined/reserved. */ jpayne@69: ns_o_notify = 4, /* Zone change notification. */ jpayne@69: ns_o_update = 5, /* Zone update message. */ jpayne@69: ns_o_max = 6 jpayne@69: } ns_opcode; jpayne@69: jpayne@69: typedef enum __ns_rcode { jpayne@69: ns_r_noerror = 0, /* No error occurred. */ jpayne@69: ns_r_formerr = 1, /* Format error. */ jpayne@69: ns_r_servfail = 2, /* Server failure. */ jpayne@69: ns_r_nxdomain = 3, /* Name error. */ jpayne@69: ns_r_notimpl = 4, /* Unimplemented. */ jpayne@69: ns_r_refused = 5, /* Operation refused. */ jpayne@69: /* these are for BIND_UPDATE */ jpayne@69: ns_r_yxdomain = 6, /* Name exists */ jpayne@69: ns_r_yxrrset = 7, /* RRset exists */ jpayne@69: ns_r_nxrrset = 8, /* RRset does not exist */ jpayne@69: ns_r_notauth = 9, /* Not authoritative for zone */ jpayne@69: ns_r_notzone = 10, /* Zone of record different from zone section */ jpayne@69: ns_r_max = 11, jpayne@69: /* The following are TSIG extended errors */ jpayne@69: ns_r_badsig = 16, jpayne@69: ns_r_badkey = 17, jpayne@69: ns_r_badtime = 18 jpayne@69: } ns_rcode; jpayne@69: jpayne@69: #endif /* CARES_HAVE_ARPA_NAMESER_H */ jpayne@69: jpayne@69: jpayne@69: /* ============================================================================ jpayne@69: * arpa/nameser_compat.h typically sets these. However on some systems jpayne@69: * arpa/nameser.h does, but may not set all of them. Lets conditionally jpayne@69: * define each jpayne@69: * ============================================================================ jpayne@69: */ jpayne@69: jpayne@69: #ifndef PACKETSZ jpayne@69: # define PACKETSZ NS_PACKETSZ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef MAXDNAME jpayne@69: # define MAXDNAME NS_MAXDNAME jpayne@69: #endif jpayne@69: jpayne@69: #ifndef MAXCDNAME jpayne@69: # define MAXCDNAME NS_MAXCDNAME jpayne@69: #endif jpayne@69: jpayne@69: #ifndef MAXLABEL jpayne@69: # define MAXLABEL NS_MAXLABEL jpayne@69: #endif jpayne@69: jpayne@69: #ifndef HFIXEDSZ jpayne@69: # define HFIXEDSZ NS_HFIXEDSZ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef QFIXEDSZ jpayne@69: # define QFIXEDSZ NS_QFIXEDSZ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef RRFIXEDSZ jpayne@69: # define RRFIXEDSZ NS_RRFIXEDSZ jpayne@69: #endif jpayne@69: jpayne@69: #ifndef INDIR_MASK jpayne@69: # define INDIR_MASK NS_CMPRSFLGS jpayne@69: #endif jpayne@69: jpayne@69: #ifndef NAMESERVER_PORT jpayne@69: # define NAMESERVER_PORT NS_DEFAULTPORT jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* opcodes */ jpayne@69: #ifndef O_QUERY jpayne@69: # define O_QUERY 0 /* ns_o_query */ jpayne@69: #endif jpayne@69: #ifndef O_IQUERY jpayne@69: # define O_IQUERY 1 /* ns_o_iquery */ jpayne@69: #endif jpayne@69: #ifndef O_STATUS jpayne@69: # define O_STATUS 2 /* ns_o_status */ jpayne@69: #endif jpayne@69: #ifndef O_NOTIFY jpayne@69: # define O_NOTIFY 4 /* ns_o_notify */ jpayne@69: #endif jpayne@69: #ifndef O_UPDATE jpayne@69: # define O_UPDATE 5 /* ns_o_update */ jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* response codes */ jpayne@69: #ifndef SERVFAIL jpayne@69: # define SERVFAIL ns_r_servfail jpayne@69: #endif jpayne@69: #ifndef NOTIMP jpayne@69: # define NOTIMP ns_r_notimpl jpayne@69: #endif jpayne@69: #ifndef REFUSED jpayne@69: # define REFUSED ns_r_refused jpayne@69: #endif jpayne@69: #if defined(_WIN32) && !defined(HAVE_ARPA_NAMESER_COMPAT_H) && defined(NOERROR) jpayne@69: # undef NOERROR /* it seems this is already defined in winerror.h */ jpayne@69: #endif jpayne@69: #ifndef NOERROR jpayne@69: # define NOERROR ns_r_noerror jpayne@69: #endif jpayne@69: #ifndef FORMERR jpayne@69: # define FORMERR ns_r_formerr jpayne@69: #endif jpayne@69: #ifndef NXDOMAIN jpayne@69: # define NXDOMAIN ns_r_nxdomain jpayne@69: #endif jpayne@69: /* Non-standard response codes, use numeric values */ jpayne@69: #ifndef YXDOMAIN jpayne@69: # define YXDOMAIN 6 /* ns_r_yxdomain */ jpayne@69: #endif jpayne@69: #ifndef YXRRSET jpayne@69: # define YXRRSET 7 /* ns_r_yxrrset */ jpayne@69: #endif jpayne@69: #ifndef NXRRSET jpayne@69: # define NXRRSET 8 /* ns_r_nxrrset */ jpayne@69: #endif jpayne@69: #ifndef NOTAUTH jpayne@69: # define NOTAUTH 9 /* ns_r_notauth */ jpayne@69: #endif jpayne@69: #ifndef NOTZONE jpayne@69: # define NOTZONE 10 /* ns_r_notzone */ jpayne@69: #endif jpayne@69: #ifndef TSIG_BADSIG jpayne@69: # define TSIG_BADSIG 16 /* ns_r_badsig */ jpayne@69: #endif jpayne@69: #ifndef TSIG_BADKEY jpayne@69: # define TSIG_BADKEY 17 /* ns_r_badkey */ jpayne@69: #endif jpayne@69: #ifndef TSIG_BADTIME jpayne@69: # define TSIG_BADTIME 18 /* ns_r_badtime */ jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* classes */ jpayne@69: #ifndef C_IN jpayne@69: # define C_IN 1 /* ns_c_in */ jpayne@69: #endif jpayne@69: #ifndef C_CHAOS jpayne@69: # define C_CHAOS 3 /* ns_c_chaos */ jpayne@69: #endif jpayne@69: #ifndef C_HS jpayne@69: # define C_HS 4 /* ns_c_hs */ jpayne@69: #endif jpayne@69: #ifndef C_NONE jpayne@69: # define C_NONE 254 /* ns_c_none */ jpayne@69: #endif jpayne@69: #ifndef C_ANY jpayne@69: # define C_ANY 255 /* ns_c_any */ jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* types */ jpayne@69: #ifndef T_A jpayne@69: # define T_A 1 /* ns_t_a */ jpayne@69: #endif jpayne@69: #ifndef T_NS jpayne@69: # define T_NS 2 /* ns_t_ns */ jpayne@69: #endif jpayne@69: #ifndef T_MD jpayne@69: # define T_MD 3 /* ns_t_md */ jpayne@69: #endif jpayne@69: #ifndef T_MF jpayne@69: # define T_MF 4 /* ns_t_mf */ jpayne@69: #endif jpayne@69: #ifndef T_CNAME jpayne@69: # define T_CNAME 5 /* ns_t_cname */ jpayne@69: #endif jpayne@69: #ifndef T_SOA jpayne@69: # define T_SOA 6 /* ns_t_soa */ jpayne@69: #endif jpayne@69: #ifndef T_MB jpayne@69: # define T_MB 7 /* ns_t_mb */ jpayne@69: #endif jpayne@69: #ifndef T_MG jpayne@69: # define T_MG 8 /* ns_t_mg */ jpayne@69: #endif jpayne@69: #ifndef T_MR jpayne@69: # define T_MR 9 /* ns_t_mr */ jpayne@69: #endif jpayne@69: #ifndef T_NULL jpayne@69: # define T_NULL 10 /* ns_t_null */ jpayne@69: #endif jpayne@69: #ifndef T_WKS jpayne@69: # define T_WKS 11 /* ns_t_wks */ jpayne@69: #endif jpayne@69: #ifndef T_PTR jpayne@69: # define T_PTR 12 /* ns_t_ptr */ jpayne@69: #endif jpayne@69: #ifndef T_HINFO jpayne@69: # define T_HINFO 13 /* ns_t_hinfo */ jpayne@69: #endif jpayne@69: #ifndef T_MINFO jpayne@69: # define T_MINFO 14 /* ns_t_minfo */ jpayne@69: #endif jpayne@69: #ifndef T_MX jpayne@69: # define T_MX 15 /* ns_t_mx */ jpayne@69: #endif jpayne@69: #ifndef T_TXT jpayne@69: # define T_TXT 16 /* ns_t_txt */ jpayne@69: #endif jpayne@69: #ifndef T_RP jpayne@69: # define T_RP 17 /* ns_t_rp */ jpayne@69: #endif jpayne@69: #ifndef T_AFSDB jpayne@69: # define T_AFSDB 18 /* ns_t_afsdb */ jpayne@69: #endif jpayne@69: #ifndef T_X25 jpayne@69: # define T_X25 19 /* ns_t_x25 */ jpayne@69: #endif jpayne@69: #ifndef T_ISDN jpayne@69: # define T_ISDN 20 /* ns_t_isdn */ jpayne@69: #endif jpayne@69: #ifndef T_RT jpayne@69: # define T_RT 21 /* ns_t_rt */ jpayne@69: #endif jpayne@69: #ifndef T_NSAP jpayne@69: # define T_NSAP 22 /* ns_t_nsap */ jpayne@69: #endif jpayne@69: #ifndef T_NSAP_PTR jpayne@69: # define T_NSAP_PTR 23 /* ns_t_nsap_ptr */ jpayne@69: #endif jpayne@69: #ifndef T_SIG jpayne@69: # define T_SIG 24 /* ns_t_sig */ jpayne@69: #endif jpayne@69: #ifndef T_KEY jpayne@69: # define T_KEY 25 /* ns_t_key */ jpayne@69: #endif jpayne@69: #ifndef T_PX jpayne@69: # define T_PX 26 /* ns_t_px */ jpayne@69: #endif jpayne@69: #ifndef T_GPOS jpayne@69: # define T_GPOS 27 /* ns_t_gpos */ jpayne@69: #endif jpayne@69: #ifndef T_AAAA jpayne@69: # define T_AAAA 28 /* ns_t_aaaa */ jpayne@69: #endif jpayne@69: #ifndef T_LOC jpayne@69: # define T_LOC 29 /* ns_t_loc */ jpayne@69: #endif jpayne@69: #ifndef T_NXT jpayne@69: # define T_NXT 30 /* ns_t_nxt */ jpayne@69: #endif jpayne@69: #ifndef T_EID jpayne@69: # define T_EID 31 /* ns_t_eid */ jpayne@69: #endif jpayne@69: #ifndef T_NIMLOC jpayne@69: # define T_NIMLOC 32 /* ns_t_nimloc */ jpayne@69: #endif jpayne@69: #ifndef T_SRV jpayne@69: # define T_SRV 33 /* ns_t_srv */ jpayne@69: #endif jpayne@69: #ifndef T_ATMA jpayne@69: # define T_ATMA 34 /* ns_t_atma */ jpayne@69: #endif jpayne@69: #ifndef T_NAPTR jpayne@69: # define T_NAPTR 35 /* ns_t_naptr */ jpayne@69: #endif jpayne@69: #ifndef T_KX jpayne@69: # define T_KX 36 /* ns_t_kx */ jpayne@69: #endif jpayne@69: #ifndef T_CERT jpayne@69: # define T_CERT 37 /* ns_t_cert */ jpayne@69: #endif jpayne@69: #ifndef T_A6 jpayne@69: # define T_A6 38 /* ns_t_a6 */ jpayne@69: #endif jpayne@69: #ifndef T_DNAME jpayne@69: # define T_DNAME 39 /* ns_t_dname */ jpayne@69: #endif jpayne@69: #ifndef T_SINK jpayne@69: # define T_SINK 40 /* ns_t_sink */ jpayne@69: #endif jpayne@69: #ifndef T_OPT jpayne@69: # define T_OPT 41 /* ns_t_opt */ jpayne@69: #endif jpayne@69: #ifndef T_APL jpayne@69: # define T_APL 42 /* ns_t_apl */ jpayne@69: #endif jpayne@69: #ifndef T_DS jpayne@69: # define T_DS 43 /* ns_t_ds */ jpayne@69: #endif jpayne@69: #ifndef T_SSHFP jpayne@69: # define T_SSHFP 44 /* ns_t_sshfp */ jpayne@69: #endif jpayne@69: #ifndef T_RRSIG jpayne@69: # define T_RRSIG 46 /* ns_t_rrsig */ jpayne@69: #endif jpayne@69: #ifndef T_NSEC jpayne@69: # define T_NSEC 47 /* ns_t_nsec */ jpayne@69: #endif jpayne@69: #ifndef T_DNSKEY jpayne@69: # define T_DNSKEY 48 /* ns_t_dnskey */ jpayne@69: #endif jpayne@69: #ifndef T_TKEY jpayne@69: # define T_TKEY 249 /* ns_t_tkey */ jpayne@69: #endif jpayne@69: #ifndef T_TSIG jpayne@69: # define T_TSIG 250 /* ns_t_tsig */ jpayne@69: #endif jpayne@69: #ifndef T_IXFR jpayne@69: # define T_IXFR 251 /* ns_t_ixfr */ jpayne@69: #endif jpayne@69: #ifndef T_AXFR jpayne@69: # define T_AXFR 252 /* ns_t_axfr */ jpayne@69: #endif jpayne@69: #ifndef T_MAILB jpayne@69: # define T_MAILB 253 /* ns_t_mailb */ jpayne@69: #endif jpayne@69: #ifndef T_MAILA jpayne@69: # define T_MAILA 254 /* ns_t_maila */ jpayne@69: #endif jpayne@69: #ifndef T_ANY jpayne@69: # define T_ANY 255 /* ns_t_any */ jpayne@69: #endif jpayne@69: #ifndef T_URI jpayne@69: # define T_URI 256 /* ns_t_uri */ jpayne@69: #endif jpayne@69: #ifndef T_CAA jpayne@69: # define T_CAA 257 /* ns_t_caa */ jpayne@69: #endif jpayne@69: #ifndef T_MAX jpayne@69: # define T_MAX 65536 /* ns_t_max */ jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: #endif /* ARES_NAMESER_H */