mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Make error codes for DNS errors.
This commit is contained in:
parent
2076acbe8a
commit
6e0f9707d8
@ -75,8 +75,21 @@ ISC_LANG_BEGINDECLS
|
|||||||
#define ISC_R_KEY_UNKNOWN 47
|
#define ISC_R_KEY_UNKNOWN 47
|
||||||
#define ISC_R_INVALIDKEY 48
|
#define ISC_R_INVALIDKEY 48
|
||||||
#define ISC_R_INCOMPLETE 49
|
#define ISC_R_INCOMPLETE 49
|
||||||
|
#define ISC_R_FORMERR 50
|
||||||
|
#define ISC_R_SERVFAIL 51
|
||||||
|
#define ISC_R_NXDOMAIN 52
|
||||||
|
#define ISC_R_NOTIMPL 53
|
||||||
|
#define ISC_R_REFUSED 54
|
||||||
|
#define ISC_R_YXDOMAIN 55
|
||||||
|
#define ISC_R_YXRRSET 56
|
||||||
|
#define ISC_R_NXRRSET 57
|
||||||
|
#define ISC_R_NOTAUTH 58
|
||||||
|
#define ISC_R_NOTZONE 59
|
||||||
|
#define ISC_R_BADSIG 60
|
||||||
|
#define ISC_R_BADKEY 61
|
||||||
|
#define ISC_R_BADTIME 62
|
||||||
|
|
||||||
#define ISC_R_NRESULTS 50 /* Number of results */
|
#define ISC_R_NRESULTS 62 /* Number of results */
|
||||||
|
|
||||||
const char * isc_result_totext(isc_result_t);
|
const char * isc_result_totext(isc_result_t);
|
||||||
isc_result_t isc_result_register(unsigned int base,
|
isc_result_t isc_result_register(unsigned int base,
|
||||||
|
@ -95,6 +95,19 @@ static const char *text[ISC_R_NRESULTS] = {
|
|||||||
"zone TSIG key not known", /* 47 */
|
"zone TSIG key not known", /* 47 */
|
||||||
"invalid TSIG key", /* 48 */
|
"invalid TSIG key", /* 48 */
|
||||||
"operation in progress", /* 49 */
|
"operation in progress", /* 49 */
|
||||||
|
"DNS format error", /* 50 */
|
||||||
|
"DNS server failed", /* 51 */
|
||||||
|
"no such domain", /* 52 */
|
||||||
|
"not implemented", /* 53 */
|
||||||
|
"refused", /* 54 */
|
||||||
|
"domain already exists", /* 55 */
|
||||||
|
"RRset already exists", /* 56 */
|
||||||
|
"no such RRset", /* 57 */
|
||||||
|
"not authorized", /* 58 */
|
||||||
|
"not a zone", /* 59 */
|
||||||
|
"bad DNS signature", /* 60 */
|
||||||
|
"bad DNS key", /* 61 */
|
||||||
|
"clock skew too great" /* 62 */
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *isc_result_totext (isc_result_t result)
|
const char *isc_result_totext (isc_result_t result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user