jpayne@69
|
1 /* MIT License
|
jpayne@69
|
2 *
|
jpayne@69
|
3 * Copyright (c) Massachusetts Institute of Technology
|
jpayne@69
|
4 * Copyright (c) Daniel Stenberg
|
jpayne@69
|
5 *
|
jpayne@69
|
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
|
jpayne@69
|
7 * of this software and associated documentation files (the "Software"), to deal
|
jpayne@69
|
8 * in the Software without restriction, including without limitation the rights
|
jpayne@69
|
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
jpayne@69
|
10 * copies of the Software, and to permit persons to whom the Software is
|
jpayne@69
|
11 * furnished to do so, subject to the following conditions:
|
jpayne@69
|
12 *
|
jpayne@69
|
13 * The above copyright notice and this permission notice (including the next
|
jpayne@69
|
14 * paragraph) shall be included in all copies or substantial portions of the
|
jpayne@69
|
15 * Software.
|
jpayne@69
|
16 *
|
jpayne@69
|
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
jpayne@69
|
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
jpayne@69
|
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
jpayne@69
|
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
jpayne@69
|
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
jpayne@69
|
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
jpayne@69
|
23 * SOFTWARE.
|
jpayne@69
|
24 *
|
jpayne@69
|
25 * SPDX-License-Identifier: MIT
|
jpayne@69
|
26 */
|
jpayne@69
|
27
|
jpayne@69
|
28 #ifndef ARES_NAMESER_H
|
jpayne@69
|
29 #define ARES_NAMESER_H
|
jpayne@69
|
30
|
jpayne@69
|
31 #include "ares_build.h"
|
jpayne@69
|
32
|
jpayne@69
|
33 #ifdef CARES_HAVE_ARPA_NAMESER_H
|
jpayne@69
|
34 # include <arpa/nameser.h>
|
jpayne@69
|
35 #endif
|
jpayne@69
|
36 #ifdef CARES_HAVE_ARPA_NAMESER_COMPAT_H
|
jpayne@69
|
37 # include <arpa/nameser_compat.h>
|
jpayne@69
|
38 #endif
|
jpayne@69
|
39
|
jpayne@69
|
40 /* ============================================================================
|
jpayne@69
|
41 * arpa/nameser.h may or may not provide ALL of the below defines, so check
|
jpayne@69
|
42 * each one individually and set if not
|
jpayne@69
|
43 * ============================================================================
|
jpayne@69
|
44 */
|
jpayne@69
|
45
|
jpayne@69
|
46 #ifndef NS_PACKETSZ
|
jpayne@69
|
47 # define NS_PACKETSZ 512 /* maximum packet size */
|
jpayne@69
|
48 #endif
|
jpayne@69
|
49
|
jpayne@69
|
50 #ifndef NS_MAXDNAME
|
jpayne@69
|
51 # define NS_MAXDNAME 256 /* maximum domain name */
|
jpayne@69
|
52 #endif
|
jpayne@69
|
53
|
jpayne@69
|
54 #ifndef NS_MAXCDNAME
|
jpayne@69
|
55 # define NS_MAXCDNAME 255 /* maximum compressed domain name */
|
jpayne@69
|
56 #endif
|
jpayne@69
|
57
|
jpayne@69
|
58 #ifndef NS_MAXLABEL
|
jpayne@69
|
59 # define NS_MAXLABEL 63
|
jpayne@69
|
60 #endif
|
jpayne@69
|
61
|
jpayne@69
|
62 #ifndef NS_HFIXEDSZ
|
jpayne@69
|
63 # define NS_HFIXEDSZ 12 /* #/bytes of fixed data in header */
|
jpayne@69
|
64 #endif
|
jpayne@69
|
65
|
jpayne@69
|
66 #ifndef NS_QFIXEDSZ
|
jpayne@69
|
67 # define NS_QFIXEDSZ 4 /* #/bytes of fixed data in query */
|
jpayne@69
|
68 #endif
|
jpayne@69
|
69
|
jpayne@69
|
70 #ifndef NS_RRFIXEDSZ
|
jpayne@69
|
71 # define NS_RRFIXEDSZ 10 /* #/bytes of fixed data in r record */
|
jpayne@69
|
72 #endif
|
jpayne@69
|
73
|
jpayne@69
|
74 #ifndef NS_INT16SZ
|
jpayne@69
|
75 # define NS_INT16SZ 2
|
jpayne@69
|
76 #endif
|
jpayne@69
|
77
|
jpayne@69
|
78 #ifndef NS_INADDRSZ
|
jpayne@69
|
79 # define NS_INADDRSZ 4
|
jpayne@69
|
80 #endif
|
jpayne@69
|
81
|
jpayne@69
|
82 #ifndef NS_IN6ADDRSZ
|
jpayne@69
|
83 # define NS_IN6ADDRSZ 16
|
jpayne@69
|
84 #endif
|
jpayne@69
|
85
|
jpayne@69
|
86 #ifndef NS_CMPRSFLGS
|
jpayne@69
|
87 # define NS_CMPRSFLGS 0xc0 /* Flag bits indicating name compression. */
|
jpayne@69
|
88 #endif
|
jpayne@69
|
89
|
jpayne@69
|
90 #ifndef NS_DEFAULTPORT
|
jpayne@69
|
91 # define NS_DEFAULTPORT 53 /* For both TCP and UDP. */
|
jpayne@69
|
92 #endif
|
jpayne@69
|
93
|
jpayne@69
|
94 /* ============================================================================
|
jpayne@69
|
95 * arpa/nameser.h should provide these enumerations always, so if not found,
|
jpayne@69
|
96 * provide them
|
jpayne@69
|
97 * ============================================================================
|
jpayne@69
|
98 */
|
jpayne@69
|
99 #ifndef CARES_HAVE_ARPA_NAMESER_H
|
jpayne@69
|
100
|
jpayne@69
|
101 typedef enum __ns_class {
|
jpayne@69
|
102 ns_c_invalid = 0, /* Cookie. */
|
jpayne@69
|
103 ns_c_in = 1, /* Internet. */
|
jpayne@69
|
104 ns_c_2 = 2, /* unallocated/unsupported. */
|
jpayne@69
|
105 ns_c_chaos = 3, /* MIT Chaos-net. */
|
jpayne@69
|
106 ns_c_hs = 4, /* MIT Hesiod. */
|
jpayne@69
|
107 /* Query class values which do not appear in resource records */
|
jpayne@69
|
108 ns_c_none = 254, /* for prereq. sections in update requests */
|
jpayne@69
|
109 ns_c_any = 255, /* Wildcard match. */
|
jpayne@69
|
110 ns_c_max = 65536
|
jpayne@69
|
111 } ns_class;
|
jpayne@69
|
112
|
jpayne@69
|
113 typedef enum __ns_type {
|
jpayne@69
|
114 ns_t_invalid = 0, /* Cookie. */
|
jpayne@69
|
115 ns_t_a = 1, /* Host address. */
|
jpayne@69
|
116 ns_t_ns = 2, /* Authoritative server. */
|
jpayne@69
|
117 ns_t_md = 3, /* Mail destination. */
|
jpayne@69
|
118 ns_t_mf = 4, /* Mail forwarder. */
|
jpayne@69
|
119 ns_t_cname = 5, /* Canonical name. */
|
jpayne@69
|
120 ns_t_soa = 6, /* Start of authority zone. */
|
jpayne@69
|
121 ns_t_mb = 7, /* Mailbox domain name. */
|
jpayne@69
|
122 ns_t_mg = 8, /* Mail group member. */
|
jpayne@69
|
123 ns_t_mr = 9, /* Mail rename name. */
|
jpayne@69
|
124 ns_t_null = 10, /* Null resource record. */
|
jpayne@69
|
125 ns_t_wks = 11, /* Well known service. */
|
jpayne@69
|
126 ns_t_ptr = 12, /* Domain name pointer. */
|
jpayne@69
|
127 ns_t_hinfo = 13, /* Host information. */
|
jpayne@69
|
128 ns_t_minfo = 14, /* Mailbox information. */
|
jpayne@69
|
129 ns_t_mx = 15, /* Mail routing information. */
|
jpayne@69
|
130 ns_t_txt = 16, /* Text strings. */
|
jpayne@69
|
131 ns_t_rp = 17, /* Responsible person. */
|
jpayne@69
|
132 ns_t_afsdb = 18, /* AFS cell database. */
|
jpayne@69
|
133 ns_t_x25 = 19, /* X_25 calling address. */
|
jpayne@69
|
134 ns_t_isdn = 20, /* ISDN calling address. */
|
jpayne@69
|
135 ns_t_rt = 21, /* Router. */
|
jpayne@69
|
136 ns_t_nsap = 22, /* NSAP address. */
|
jpayne@69
|
137 ns_t_nsap_ptr = 23, /* Reverse NSAP lookup (deprecated). */
|
jpayne@69
|
138 ns_t_sig = 24, /* Security signature. */
|
jpayne@69
|
139 ns_t_key = 25, /* Security key. */
|
jpayne@69
|
140 ns_t_px = 26, /* X.400 mail mapping. */
|
jpayne@69
|
141 ns_t_gpos = 27, /* Geographical position (withdrawn). */
|
jpayne@69
|
142 ns_t_aaaa = 28, /* Ip6 Address. */
|
jpayne@69
|
143 ns_t_loc = 29, /* Location Information. */
|
jpayne@69
|
144 ns_t_nxt = 30, /* Next domain (security). */
|
jpayne@69
|
145 ns_t_eid = 31, /* Endpoint identifier. */
|
jpayne@69
|
146 ns_t_nimloc = 32, /* Nimrod Locator. */
|
jpayne@69
|
147 ns_t_srv = 33, /* Server Selection. */
|
jpayne@69
|
148 ns_t_atma = 34, /* ATM Address */
|
jpayne@69
|
149 ns_t_naptr = 35, /* Naming Authority PoinTeR */
|
jpayne@69
|
150 ns_t_kx = 36, /* Key Exchange */
|
jpayne@69
|
151 ns_t_cert = 37, /* Certification record */
|
jpayne@69
|
152 ns_t_a6 = 38, /* IPv6 address (deprecates AAAA) */
|
jpayne@69
|
153 ns_t_dname = 39, /* Non-terminal DNAME (for IPv6) */
|
jpayne@69
|
154 ns_t_sink = 40, /* Kitchen sink (experimental) */
|
jpayne@69
|
155 ns_t_opt = 41, /* EDNS0 option (meta-RR) */
|
jpayne@69
|
156 ns_t_apl = 42, /* Address prefix list (RFC3123) */
|
jpayne@69
|
157 ns_t_ds = 43, /* Delegation Signer (RFC4034) */
|
jpayne@69
|
158 ns_t_sshfp = 44, /* SSH Key Fingerprint (RFC4255) */
|
jpayne@69
|
159 ns_t_rrsig = 46, /* Resource Record Signature (RFC4034) */
|
jpayne@69
|
160 ns_t_nsec = 47, /* Next Secure (RFC4034) */
|
jpayne@69
|
161 ns_t_dnskey = 48, /* DNS Public Key (RFC4034) */
|
jpayne@69
|
162 ns_t_tkey = 249, /* Transaction key */
|
jpayne@69
|
163 ns_t_tsig = 250, /* Transaction signature. */
|
jpayne@69
|
164 ns_t_ixfr = 251, /* Incremental zone transfer. */
|
jpayne@69
|
165 ns_t_axfr = 252, /* Transfer zone of authority. */
|
jpayne@69
|
166 ns_t_mailb = 253, /* Transfer mailbox records. */
|
jpayne@69
|
167 ns_t_maila = 254, /* Transfer mail agent records. */
|
jpayne@69
|
168 ns_t_any = 255, /* Wildcard match. */
|
jpayne@69
|
169 ns_t_uri = 256, /* Uniform Resource Identifier (RFC7553) */
|
jpayne@69
|
170 ns_t_caa = 257, /* Certification Authority Authorization. */
|
jpayne@69
|
171 ns_t_max = 65536
|
jpayne@69
|
172 } ns_type;
|
jpayne@69
|
173
|
jpayne@69
|
174 typedef enum __ns_opcode {
|
jpayne@69
|
175 ns_o_query = 0, /* Standard query. */
|
jpayne@69
|
176 ns_o_iquery = 1, /* Inverse query (deprecated/unsupported). */
|
jpayne@69
|
177 ns_o_status = 2, /* Name server status query (unsupported). */
|
jpayne@69
|
178 /* Opcode 3 is undefined/reserved. */
|
jpayne@69
|
179 ns_o_notify = 4, /* Zone change notification. */
|
jpayne@69
|
180 ns_o_update = 5, /* Zone update message. */
|
jpayne@69
|
181 ns_o_max = 6
|
jpayne@69
|
182 } ns_opcode;
|
jpayne@69
|
183
|
jpayne@69
|
184 typedef enum __ns_rcode {
|
jpayne@69
|
185 ns_r_noerror = 0, /* No error occurred. */
|
jpayne@69
|
186 ns_r_formerr = 1, /* Format error. */
|
jpayne@69
|
187 ns_r_servfail = 2, /* Server failure. */
|
jpayne@69
|
188 ns_r_nxdomain = 3, /* Name error. */
|
jpayne@69
|
189 ns_r_notimpl = 4, /* Unimplemented. */
|
jpayne@69
|
190 ns_r_refused = 5, /* Operation refused. */
|
jpayne@69
|
191 /* these are for BIND_UPDATE */
|
jpayne@69
|
192 ns_r_yxdomain = 6, /* Name exists */
|
jpayne@69
|
193 ns_r_yxrrset = 7, /* RRset exists */
|
jpayne@69
|
194 ns_r_nxrrset = 8, /* RRset does not exist */
|
jpayne@69
|
195 ns_r_notauth = 9, /* Not authoritative for zone */
|
jpayne@69
|
196 ns_r_notzone = 10, /* Zone of record different from zone section */
|
jpayne@69
|
197 ns_r_max = 11,
|
jpayne@69
|
198 /* The following are TSIG extended errors */
|
jpayne@69
|
199 ns_r_badsig = 16,
|
jpayne@69
|
200 ns_r_badkey = 17,
|
jpayne@69
|
201 ns_r_badtime = 18
|
jpayne@69
|
202 } ns_rcode;
|
jpayne@69
|
203
|
jpayne@69
|
204 #endif /* CARES_HAVE_ARPA_NAMESER_H */
|
jpayne@69
|
205
|
jpayne@69
|
206
|
jpayne@69
|
207 /* ============================================================================
|
jpayne@69
|
208 * arpa/nameser_compat.h typically sets these. However on some systems
|
jpayne@69
|
209 * arpa/nameser.h does, but may not set all of them. Lets conditionally
|
jpayne@69
|
210 * define each
|
jpayne@69
|
211 * ============================================================================
|
jpayne@69
|
212 */
|
jpayne@69
|
213
|
jpayne@69
|
214 #ifndef PACKETSZ
|
jpayne@69
|
215 # define PACKETSZ NS_PACKETSZ
|
jpayne@69
|
216 #endif
|
jpayne@69
|
217
|
jpayne@69
|
218 #ifndef MAXDNAME
|
jpayne@69
|
219 # define MAXDNAME NS_MAXDNAME
|
jpayne@69
|
220 #endif
|
jpayne@69
|
221
|
jpayne@69
|
222 #ifndef MAXCDNAME
|
jpayne@69
|
223 # define MAXCDNAME NS_MAXCDNAME
|
jpayne@69
|
224 #endif
|
jpayne@69
|
225
|
jpayne@69
|
226 #ifndef MAXLABEL
|
jpayne@69
|
227 # define MAXLABEL NS_MAXLABEL
|
jpayne@69
|
228 #endif
|
jpayne@69
|
229
|
jpayne@69
|
230 #ifndef HFIXEDSZ
|
jpayne@69
|
231 # define HFIXEDSZ NS_HFIXEDSZ
|
jpayne@69
|
232 #endif
|
jpayne@69
|
233
|
jpayne@69
|
234 #ifndef QFIXEDSZ
|
jpayne@69
|
235 # define QFIXEDSZ NS_QFIXEDSZ
|
jpayne@69
|
236 #endif
|
jpayne@69
|
237
|
jpayne@69
|
238 #ifndef RRFIXEDSZ
|
jpayne@69
|
239 # define RRFIXEDSZ NS_RRFIXEDSZ
|
jpayne@69
|
240 #endif
|
jpayne@69
|
241
|
jpayne@69
|
242 #ifndef INDIR_MASK
|
jpayne@69
|
243 # define INDIR_MASK NS_CMPRSFLGS
|
jpayne@69
|
244 #endif
|
jpayne@69
|
245
|
jpayne@69
|
246 #ifndef NAMESERVER_PORT
|
jpayne@69
|
247 # define NAMESERVER_PORT NS_DEFAULTPORT
|
jpayne@69
|
248 #endif
|
jpayne@69
|
249
|
jpayne@69
|
250
|
jpayne@69
|
251 /* opcodes */
|
jpayne@69
|
252 #ifndef O_QUERY
|
jpayne@69
|
253 # define O_QUERY 0 /* ns_o_query */
|
jpayne@69
|
254 #endif
|
jpayne@69
|
255 #ifndef O_IQUERY
|
jpayne@69
|
256 # define O_IQUERY 1 /* ns_o_iquery */
|
jpayne@69
|
257 #endif
|
jpayne@69
|
258 #ifndef O_STATUS
|
jpayne@69
|
259 # define O_STATUS 2 /* ns_o_status */
|
jpayne@69
|
260 #endif
|
jpayne@69
|
261 #ifndef O_NOTIFY
|
jpayne@69
|
262 # define O_NOTIFY 4 /* ns_o_notify */
|
jpayne@69
|
263 #endif
|
jpayne@69
|
264 #ifndef O_UPDATE
|
jpayne@69
|
265 # define O_UPDATE 5 /* ns_o_update */
|
jpayne@69
|
266 #endif
|
jpayne@69
|
267
|
jpayne@69
|
268
|
jpayne@69
|
269 /* response codes */
|
jpayne@69
|
270 #ifndef SERVFAIL
|
jpayne@69
|
271 # define SERVFAIL ns_r_servfail
|
jpayne@69
|
272 #endif
|
jpayne@69
|
273 #ifndef NOTIMP
|
jpayne@69
|
274 # define NOTIMP ns_r_notimpl
|
jpayne@69
|
275 #endif
|
jpayne@69
|
276 #ifndef REFUSED
|
jpayne@69
|
277 # define REFUSED ns_r_refused
|
jpayne@69
|
278 #endif
|
jpayne@69
|
279 #if defined(_WIN32) && !defined(HAVE_ARPA_NAMESER_COMPAT_H) && defined(NOERROR)
|
jpayne@69
|
280 # undef NOERROR /* it seems this is already defined in winerror.h */
|
jpayne@69
|
281 #endif
|
jpayne@69
|
282 #ifndef NOERROR
|
jpayne@69
|
283 # define NOERROR ns_r_noerror
|
jpayne@69
|
284 #endif
|
jpayne@69
|
285 #ifndef FORMERR
|
jpayne@69
|
286 # define FORMERR ns_r_formerr
|
jpayne@69
|
287 #endif
|
jpayne@69
|
288 #ifndef NXDOMAIN
|
jpayne@69
|
289 # define NXDOMAIN ns_r_nxdomain
|
jpayne@69
|
290 #endif
|
jpayne@69
|
291 /* Non-standard response codes, use numeric values */
|
jpayne@69
|
292 #ifndef YXDOMAIN
|
jpayne@69
|
293 # define YXDOMAIN 6 /* ns_r_yxdomain */
|
jpayne@69
|
294 #endif
|
jpayne@69
|
295 #ifndef YXRRSET
|
jpayne@69
|
296 # define YXRRSET 7 /* ns_r_yxrrset */
|
jpayne@69
|
297 #endif
|
jpayne@69
|
298 #ifndef NXRRSET
|
jpayne@69
|
299 # define NXRRSET 8 /* ns_r_nxrrset */
|
jpayne@69
|
300 #endif
|
jpayne@69
|
301 #ifndef NOTAUTH
|
jpayne@69
|
302 # define NOTAUTH 9 /* ns_r_notauth */
|
jpayne@69
|
303 #endif
|
jpayne@69
|
304 #ifndef NOTZONE
|
jpayne@69
|
305 # define NOTZONE 10 /* ns_r_notzone */
|
jpayne@69
|
306 #endif
|
jpayne@69
|
307 #ifndef TSIG_BADSIG
|
jpayne@69
|
308 # define TSIG_BADSIG 16 /* ns_r_badsig */
|
jpayne@69
|
309 #endif
|
jpayne@69
|
310 #ifndef TSIG_BADKEY
|
jpayne@69
|
311 # define TSIG_BADKEY 17 /* ns_r_badkey */
|
jpayne@69
|
312 #endif
|
jpayne@69
|
313 #ifndef TSIG_BADTIME
|
jpayne@69
|
314 # define TSIG_BADTIME 18 /* ns_r_badtime */
|
jpayne@69
|
315 #endif
|
jpayne@69
|
316
|
jpayne@69
|
317
|
jpayne@69
|
318 /* classes */
|
jpayne@69
|
319 #ifndef C_IN
|
jpayne@69
|
320 # define C_IN 1 /* ns_c_in */
|
jpayne@69
|
321 #endif
|
jpayne@69
|
322 #ifndef C_CHAOS
|
jpayne@69
|
323 # define C_CHAOS 3 /* ns_c_chaos */
|
jpayne@69
|
324 #endif
|
jpayne@69
|
325 #ifndef C_HS
|
jpayne@69
|
326 # define C_HS 4 /* ns_c_hs */
|
jpayne@69
|
327 #endif
|
jpayne@69
|
328 #ifndef C_NONE
|
jpayne@69
|
329 # define C_NONE 254 /* ns_c_none */
|
jpayne@69
|
330 #endif
|
jpayne@69
|
331 #ifndef C_ANY
|
jpayne@69
|
332 # define C_ANY 255 /* ns_c_any */
|
jpayne@69
|
333 #endif
|
jpayne@69
|
334
|
jpayne@69
|
335
|
jpayne@69
|
336 /* types */
|
jpayne@69
|
337 #ifndef T_A
|
jpayne@69
|
338 # define T_A 1 /* ns_t_a */
|
jpayne@69
|
339 #endif
|
jpayne@69
|
340 #ifndef T_NS
|
jpayne@69
|
341 # define T_NS 2 /* ns_t_ns */
|
jpayne@69
|
342 #endif
|
jpayne@69
|
343 #ifndef T_MD
|
jpayne@69
|
344 # define T_MD 3 /* ns_t_md */
|
jpayne@69
|
345 #endif
|
jpayne@69
|
346 #ifndef T_MF
|
jpayne@69
|
347 # define T_MF 4 /* ns_t_mf */
|
jpayne@69
|
348 #endif
|
jpayne@69
|
349 #ifndef T_CNAME
|
jpayne@69
|
350 # define T_CNAME 5 /* ns_t_cname */
|
jpayne@69
|
351 #endif
|
jpayne@69
|
352 #ifndef T_SOA
|
jpayne@69
|
353 # define T_SOA 6 /* ns_t_soa */
|
jpayne@69
|
354 #endif
|
jpayne@69
|
355 #ifndef T_MB
|
jpayne@69
|
356 # define T_MB 7 /* ns_t_mb */
|
jpayne@69
|
357 #endif
|
jpayne@69
|
358 #ifndef T_MG
|
jpayne@69
|
359 # define T_MG 8 /* ns_t_mg */
|
jpayne@69
|
360 #endif
|
jpayne@69
|
361 #ifndef T_MR
|
jpayne@69
|
362 # define T_MR 9 /* ns_t_mr */
|
jpayne@69
|
363 #endif
|
jpayne@69
|
364 #ifndef T_NULL
|
jpayne@69
|
365 # define T_NULL 10 /* ns_t_null */
|
jpayne@69
|
366 #endif
|
jpayne@69
|
367 #ifndef T_WKS
|
jpayne@69
|
368 # define T_WKS 11 /* ns_t_wks */
|
jpayne@69
|
369 #endif
|
jpayne@69
|
370 #ifndef T_PTR
|
jpayne@69
|
371 # define T_PTR 12 /* ns_t_ptr */
|
jpayne@69
|
372 #endif
|
jpayne@69
|
373 #ifndef T_HINFO
|
jpayne@69
|
374 # define T_HINFO 13 /* ns_t_hinfo */
|
jpayne@69
|
375 #endif
|
jpayne@69
|
376 #ifndef T_MINFO
|
jpayne@69
|
377 # define T_MINFO 14 /* ns_t_minfo */
|
jpayne@69
|
378 #endif
|
jpayne@69
|
379 #ifndef T_MX
|
jpayne@69
|
380 # define T_MX 15 /* ns_t_mx */
|
jpayne@69
|
381 #endif
|
jpayne@69
|
382 #ifndef T_TXT
|
jpayne@69
|
383 # define T_TXT 16 /* ns_t_txt */
|
jpayne@69
|
384 #endif
|
jpayne@69
|
385 #ifndef T_RP
|
jpayne@69
|
386 # define T_RP 17 /* ns_t_rp */
|
jpayne@69
|
387 #endif
|
jpayne@69
|
388 #ifndef T_AFSDB
|
jpayne@69
|
389 # define T_AFSDB 18 /* ns_t_afsdb */
|
jpayne@69
|
390 #endif
|
jpayne@69
|
391 #ifndef T_X25
|
jpayne@69
|
392 # define T_X25 19 /* ns_t_x25 */
|
jpayne@69
|
393 #endif
|
jpayne@69
|
394 #ifndef T_ISDN
|
jpayne@69
|
395 # define T_ISDN 20 /* ns_t_isdn */
|
jpayne@69
|
396 #endif
|
jpayne@69
|
397 #ifndef T_RT
|
jpayne@69
|
398 # define T_RT 21 /* ns_t_rt */
|
jpayne@69
|
399 #endif
|
jpayne@69
|
400 #ifndef T_NSAP
|
jpayne@69
|
401 # define T_NSAP 22 /* ns_t_nsap */
|
jpayne@69
|
402 #endif
|
jpayne@69
|
403 #ifndef T_NSAP_PTR
|
jpayne@69
|
404 # define T_NSAP_PTR 23 /* ns_t_nsap_ptr */
|
jpayne@69
|
405 #endif
|
jpayne@69
|
406 #ifndef T_SIG
|
jpayne@69
|
407 # define T_SIG 24 /* ns_t_sig */
|
jpayne@69
|
408 #endif
|
jpayne@69
|
409 #ifndef T_KEY
|
jpayne@69
|
410 # define T_KEY 25 /* ns_t_key */
|
jpayne@69
|
411 #endif
|
jpayne@69
|
412 #ifndef T_PX
|
jpayne@69
|
413 # define T_PX 26 /* ns_t_px */
|
jpayne@69
|
414 #endif
|
jpayne@69
|
415 #ifndef T_GPOS
|
jpayne@69
|
416 # define T_GPOS 27 /* ns_t_gpos */
|
jpayne@69
|
417 #endif
|
jpayne@69
|
418 #ifndef T_AAAA
|
jpayne@69
|
419 # define T_AAAA 28 /* ns_t_aaaa */
|
jpayne@69
|
420 #endif
|
jpayne@69
|
421 #ifndef T_LOC
|
jpayne@69
|
422 # define T_LOC 29 /* ns_t_loc */
|
jpayne@69
|
423 #endif
|
jpayne@69
|
424 #ifndef T_NXT
|
jpayne@69
|
425 # define T_NXT 30 /* ns_t_nxt */
|
jpayne@69
|
426 #endif
|
jpayne@69
|
427 #ifndef T_EID
|
jpayne@69
|
428 # define T_EID 31 /* ns_t_eid */
|
jpayne@69
|
429 #endif
|
jpayne@69
|
430 #ifndef T_NIMLOC
|
jpayne@69
|
431 # define T_NIMLOC 32 /* ns_t_nimloc */
|
jpayne@69
|
432 #endif
|
jpayne@69
|
433 #ifndef T_SRV
|
jpayne@69
|
434 # define T_SRV 33 /* ns_t_srv */
|
jpayne@69
|
435 #endif
|
jpayne@69
|
436 #ifndef T_ATMA
|
jpayne@69
|
437 # define T_ATMA 34 /* ns_t_atma */
|
jpayne@69
|
438 #endif
|
jpayne@69
|
439 #ifndef T_NAPTR
|
jpayne@69
|
440 # define T_NAPTR 35 /* ns_t_naptr */
|
jpayne@69
|
441 #endif
|
jpayne@69
|
442 #ifndef T_KX
|
jpayne@69
|
443 # define T_KX 36 /* ns_t_kx */
|
jpayne@69
|
444 #endif
|
jpayne@69
|
445 #ifndef T_CERT
|
jpayne@69
|
446 # define T_CERT 37 /* ns_t_cert */
|
jpayne@69
|
447 #endif
|
jpayne@69
|
448 #ifndef T_A6
|
jpayne@69
|
449 # define T_A6 38 /* ns_t_a6 */
|
jpayne@69
|
450 #endif
|
jpayne@69
|
451 #ifndef T_DNAME
|
jpayne@69
|
452 # define T_DNAME 39 /* ns_t_dname */
|
jpayne@69
|
453 #endif
|
jpayne@69
|
454 #ifndef T_SINK
|
jpayne@69
|
455 # define T_SINK 40 /* ns_t_sink */
|
jpayne@69
|
456 #endif
|
jpayne@69
|
457 #ifndef T_OPT
|
jpayne@69
|
458 # define T_OPT 41 /* ns_t_opt */
|
jpayne@69
|
459 #endif
|
jpayne@69
|
460 #ifndef T_APL
|
jpayne@69
|
461 # define T_APL 42 /* ns_t_apl */
|
jpayne@69
|
462 #endif
|
jpayne@69
|
463 #ifndef T_DS
|
jpayne@69
|
464 # define T_DS 43 /* ns_t_ds */
|
jpayne@69
|
465 #endif
|
jpayne@69
|
466 #ifndef T_SSHFP
|
jpayne@69
|
467 # define T_SSHFP 44 /* ns_t_sshfp */
|
jpayne@69
|
468 #endif
|
jpayne@69
|
469 #ifndef T_RRSIG
|
jpayne@69
|
470 # define T_RRSIG 46 /* ns_t_rrsig */
|
jpayne@69
|
471 #endif
|
jpayne@69
|
472 #ifndef T_NSEC
|
jpayne@69
|
473 # define T_NSEC 47 /* ns_t_nsec */
|
jpayne@69
|
474 #endif
|
jpayne@69
|
475 #ifndef T_DNSKEY
|
jpayne@69
|
476 # define T_DNSKEY 48 /* ns_t_dnskey */
|
jpayne@69
|
477 #endif
|
jpayne@69
|
478 #ifndef T_TKEY
|
jpayne@69
|
479 # define T_TKEY 249 /* ns_t_tkey */
|
jpayne@69
|
480 #endif
|
jpayne@69
|
481 #ifndef T_TSIG
|
jpayne@69
|
482 # define T_TSIG 250 /* ns_t_tsig */
|
jpayne@69
|
483 #endif
|
jpayne@69
|
484 #ifndef T_IXFR
|
jpayne@69
|
485 # define T_IXFR 251 /* ns_t_ixfr */
|
jpayne@69
|
486 #endif
|
jpayne@69
|
487 #ifndef T_AXFR
|
jpayne@69
|
488 # define T_AXFR 252 /* ns_t_axfr */
|
jpayne@69
|
489 #endif
|
jpayne@69
|
490 #ifndef T_MAILB
|
jpayne@69
|
491 # define T_MAILB 253 /* ns_t_mailb */
|
jpayne@69
|
492 #endif
|
jpayne@69
|
493 #ifndef T_MAILA
|
jpayne@69
|
494 # define T_MAILA 254 /* ns_t_maila */
|
jpayne@69
|
495 #endif
|
jpayne@69
|
496 #ifndef T_ANY
|
jpayne@69
|
497 # define T_ANY 255 /* ns_t_any */
|
jpayne@69
|
498 #endif
|
jpayne@69
|
499 #ifndef T_URI
|
jpayne@69
|
500 # define T_URI 256 /* ns_t_uri */
|
jpayne@69
|
501 #endif
|
jpayne@69
|
502 #ifndef T_CAA
|
jpayne@69
|
503 # define T_CAA 257 /* ns_t_caa */
|
jpayne@69
|
504 #endif
|
jpayne@69
|
505 #ifndef T_MAX
|
jpayne@69
|
506 # define T_MAX 65536 /* ns_t_max */
|
jpayne@69
|
507 #endif
|
jpayne@69
|
508
|
jpayne@69
|
509
|
jpayne@69
|
510 #endif /* ARES_NAMESER_H */
|