fc42a7d4d94c0fb7c8e94bb116d29e8e5b76711cTinderbox User * Copyright (C) 1998-2005, 2007-2017 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
b6309ed962c4988a314d61742c4fbc4935467d68Mark Andrews * Note that DNS_R_BADBITSTRING and DNS_R_BITSTRINGTOOLONG are
b6309ed962c4988a314d61742c4fbc4935467d68Mark Andrews * deprecated.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "bitstring too long", /*%< 3 DNS_R_BITSTRINGTOOLONG */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "bad dotted quad", /*%< 5 DNS_R_BADDOTTEDQUAD */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "invalid NS owner name (wildcard)", /*%< 6 DNS_R_INVALIDNS */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "bad compression pointer", /*%< 9 DNS_R_BADPOINTER */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "disallowed (by application policy)", /*%< 11 DNS_R_DISALLOWED */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "not at top of zone", /*%< 15 DNS_R_NOTZONETOP */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "more data needed/to be rendered", /*%< 27 DNS_R_NOREDATA */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "tsig verify failure", /*%< 38 DNS_R_TSIGVERIFYFAILURE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "tsig indicates error", /*%< 39 DNS_R_TSIGERRORSET */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "RRSIG failed to verify", /*%< 40 DNS_R_SIGINVALID */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "RRSIG has expired", /*%< 41 DNS_R_SIGEXPIRED */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "RRSIG validity period has not begun", /*%< 42 DNS_R_SIGFUTURE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "key is unauthorized to sign data", /*%< 43 DNS_R_KEYUNAUTHORIZED */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "expected a TSIG or SIG(0)", /*%< 45 DNS_R_EXPECTEDTSIG */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "did not expect a TSIG or SIG(0)", /*%< 46 DNS_R_UNEXPECTEDTSIG */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "TKEY is unacceptable", /*%< 47 DNS_R_INVALIDTKEY */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "ncache nxdomain", /*%< 51 DNS_R_NCACHENXDOMAIN */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "ncache nxrrset", /*%< 52 DNS_R_NCACHENXRRSET */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "not verified yet", /*%< 54 DNS_R_NOTVERIFIEDYET */
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt "insecurity proof failed", /*%< 61 DNS_R_NOTINSECURE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unknown service", /*%< 62 DNS_R_UNKNOWNSERVICE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "recoverable error occurred", /*%< 63 DNS_R_RECOVERABLE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unknown opt attribute record", /*%< 64 DNS_R_UNKNOWNOPT */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unexpected message id", /*%< 65 DNS_R_UNEXPECTEDID */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "seen include file", /*%< 66 DNS_R_SEENINCLUDE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "address blackholed", /*%< 68 DNS_R_BLACKHOLED */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "invalid use of a meta type", /*%< 70 DNS_R_METATYPE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "CNAME and other data", /*%< 71 DNS_R_CNAMEANDOTHER */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "multiple RRs of singleton type", /*%< 72 DNS_R_SINGLETON */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "no master file configured", /*%< 74 DNS_R_NOMASTERFILE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unknown protocol", /*%< 75 DNS_R_UNKNOWNPROTO */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "clocks are unsynchronized", /*%< 76 DNS_R_CLOCKSKEW */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "not authoritative", /*%< 78 DNS_R_NOTAUTHORITATIVE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "expected a response", /*%< 83 DNS_R_EXPECTEDRESPONSE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "NS is an address", /*%< 85 DNS_R_NSISADDRESS */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "received FORMERR", /*%< 86 DNS_R_REMOTEFORMERR */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "truncated TCP response", /*%< 87 DNS_R_TRUNCATEDTCP */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unexpected RCODE", /*%< 89 DNS_R_UNEXPECTEDRCODE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unexpected OPCODE", /*%< 90 DNS_R_UNEXPECTEDOPCODE */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "chase DS servers", /*%< 91 DNS_R_CHASEDSSERVERS */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "bad owner name (check-names)", /*%< 96 DNS_R_BADOWNERNAME */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "bad name (check-names)", /*%< 97 DNS_R_BADNAME */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "unknown command", /*%< 99 DNS_R_UNKNOWNCOMMAND */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein "must-be-secure", /*%< 100 DNS_R_MUSTBESECURE */
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews "covering NSEC record returned", /*%< 101 DNS_R_COVERINGNSEC */
9b80f3a7c739a99b498a37a711a51b6a88df3a78Mark Andrews "MX is an address", /*%< 102 DNS_R_MXISADDRESS */
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews "invalid NSEC3 owner name (wildcard)", /*%< 104 DNS_R_INVALIDNSEC3 */
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews "broken trust chain", /*%< 106 DNS_R_BROKENCHAIN */
ce67023ae3ad39a77da5361d0187ab6f3f0219cbMark Andrews "covered by negative trust anchor", /*%< 110 DNS_R_NTACOVERED */
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrews "malformed DNSTAP data", /*%< 114 DNS_R_BADDNSTAP */
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrews "TSIG in wrong location", /*%< 115 DNS_R_BADTSIG */
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrews "SIG(0) in wrong location", /*%< 116 DNS_R_BADSIG0 */
744c1db6352c4c3f11c8538e4a2a57c8b0e0d570Mark Andrews "too many records", /*%< 117 DNS_R_TOOMANYRECORDS */
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_LABELTOOLONG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADESCAPE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt * Note that DNS_R_BADBITSTRING and DNS_R_BITSTRINGTOOLONG are
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt * deprecated.
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADBITSTRING",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BITSTRINGTOOLONG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EMPTYLABEL",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADDOTTEDQUAD",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_INVALIDNS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADLABELTYPE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADPOINTER",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_TOOMANYHOPS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DISALLOWED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EXTRATOKEN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EXTRADATA",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_TEXTTOOLONG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTZONETOP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SYNTAX",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADCKSUM",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADAAAA",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOOWNER",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTTL",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADCLASS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NAMETOOLONG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_PARTIALMATCH",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NEWORIGIN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNCHANGED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADTTL",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOREDATA",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_CONTINUE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DELEGATION",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_GLUE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DNAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_CNAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADDB",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_ZONECUT",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADZONE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_MOREDATA",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UPTODATE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_TSIGVERIFYFAILURE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_TSIGERRORSET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SIGINVALID",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SIGEXPIRED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SIGFUTURE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_KEYUNAUTHORIZED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_INVALIDTIME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EXPECTEDTSIG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNEXPECTEDTSIG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_INVALIDTKEY",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_HINT",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DROP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTLOADED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NCACHENXDOMAIN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NCACHENXRRSET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_WAIT",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTVERIFIEDYET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOIDENTITY",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOJOURNAL",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_ALIAS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_USETCP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOVALIDSIG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOVALIDNSEC",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTINSECURE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWNSERVICE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_RECOVERABLE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWNOPT",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNEXPECTEDID",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SEENINCLUDE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTEXACT",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BLACKHOLED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADALG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_METATYPE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_CNAMEANDOTHER",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SINGLETON",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_HINTNXRRSET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOMASTERFILE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWNPROTO",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_CLOCKSKEW",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADIXFR",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTAUTHORITATIVE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOVALIDKEY",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_OBSOLETE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_FROZEN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWNFLAG",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EXPECTEDRESPONSE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOVALIDDS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NSISADDRESS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_REMOTEFORMERR",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_TRUNCATEDTCP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_LAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNEXPECTEDRCODE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNEXPECTEDOPCODE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_CHASEDSSERVERS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EMPTYNAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EMPTYWILD",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADBITMAP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_FROMWILDCARD",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADOWNERNAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADNAME",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DYNAMIC",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_UNKNOWNCOMMAND",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_MUSTBESECURE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_COVERINGNSEC",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_MXISADDRESS",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_DUPLICATE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_INVALIDNSEC3",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTMASTER",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BROKENCHAIN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_EXPIRED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTDYNAMIC",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADEUI",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NTACOVERED",
709ea210685233a2ba873d6b2aaf9810fcecc865Evan Hunt "DNS_R_BADCDS",
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt "DNS_R_BADCDNSKEY",
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt "DNS_R_OPTERR",
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt "DNS_R_BADDNSTAP",
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrews "DNS_R_BADTSIG",
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrews "DNS_R_BADSIG0",
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrencestatic const char *rcode_text[DNS_R_NRCODERESULTS] = {
9e804040a29b9c3066c8471b43835f30707039b7Evan Huntstatic const char *rcode_ids[DNS_R_NRCODERESULTS] = {
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOERROR",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_FORMERR",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_SERVFAIL",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NXDOMAIN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTIMP",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_REFUSED",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_YXDOMAIN",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_YXRRSET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NXRRSET",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTAUTH",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_NOTZONE",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_RCODE11",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "RNS_R_RCODE12",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_RCODE13",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_RCODE14",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_RCODE15",
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt "DNS_R_BADVERS",
e4e071ae12aee942fefc2c0a3280e402938669deBob Halley result = isc_result_register(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
25e43e68b7431d5e4ff8b5427108cd7f5f9bcf3eBob Halley result = isc_result_register(ISC_RESULTCLASS_DNSRCODE,
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt result = isc_result_registerids(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
9e804040a29b9c3066c8471b43835f30707039b7Evan Hunt result = isc_result_registerids(ISC_RESULTCLASS_DNSRCODE,
e4e071ae12aee942fefc2c0a3280e402938669deBob Halley RUNTIME_CHECK(isc_once_do(&once, initialize_action) == ISC_R_SUCCESS);
25e43e68b7431d5e4ff8b5427108cd7f5f9bcf3eBob Halley * Rcodes can't be bigger than 12 bits, which is why we
25e43e68b7431d5e4ff8b5427108cd7f5f9bcf3eBob Halley * AND with 0xFFF instead of 0xFFFF.
25e43e68b7431d5e4ff8b5427108cd7f5f9bcf3eBob Halley * Try to supply an appropriate rcode.
b6309ed962c4988a314d61742c4fbc4935467d68Mark Andrews /* case DNS_R_BADBITSTRING: deprecated */
b6309ed962c4988a314d61742c4fbc4935467d68Mark Andrews /* case DNS_R_BITSTRINGTOOLONG: deprecated */