40 {
LDNS_STATUS_NOT_IMPL,
"This function is not implemented (yet), please notify the developers - or not..." },
96 "DNSSEC signature will expire too soon" },
98 "DNSSEC signature not incepted long enough" },
100 "Unknown TLSA Certificate Usage" },
103 "Unknown TLSA Matching Type" },
105 "Unknown protocol. Only IPv4 and IPv6 are understood" },
107 "Unknown transport. Should be one of {tcp, udp, sctp}" },
109 "More than one certificate should be provided" },
111 "Non of the extra certificates is used to sign the first" },
113 "The offset was out of range" },
115 "The queried resource records were insecure" },
117 "The queried resource records were bogus" },
119 "The TLSA record(s) "
120 "did not match with the server certificate (chain)" },
122 "The certificate was not a CA certificate" },
124 "Could not PKIX validate" },
126 "The validation path "
127 "did not end in a self-signed certificate" },
129 "Conversion error, 4 colon separated hex numbers expected" },
131 "Conversion error, 6 two character hex numbers "
132 "separated by dashes expected (i.e. xx-xx-xx-xx-xx-xx" },
134 "Conversion error, 8 two character hex numbers "
135 "separated by dashes expected (i.e. xx-xx-xx-xx-xx-xx-xx-xx" },
138 "Conversion error, a non-zero sequence of US-ASCII letters "
139 "and numbers in lower case expected" },
141 "The RR type bitmap rdata field did not have "
142 "a bit reserved for the specific RR type" },
144 "The rdata field was not of the expected type" },
147 "Syntax error, superfluous text present" },
149 "The NSEC3 domainname length overflow" },
150 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
152 "ldns needs to be linked with OpenSSL >= 1.1.0 to be able "
153 "to verify the DANE-TA usage type." },
156 "ldns depends on the availability of the SSL_get0_dane() and "
157 "X509_STORE_CTX_set0_dane() functions within OpenSSL >= 1.1.0 "
158 "to be able to verify the DANE-TA usage type." },
161 "<scheme> and hash algorithm occurred more than once." },
165 "Missing or invalid SOA to associate with ZONEMD RR" },
167 "NSEC(3) RRs indicate that a ZONEMD exists, "
168 "but it is not found in the zone" },
170 "No ZONEMD matching the zone data was found" },
172 "the ServiceParam rdata field of SVCB or HTTPS RR" },
174 "the ServiceParam rdata field of SVCB or HTTPS RR" },
176 "key65535 is reserved and MUST NOT be used "
177 "in the ServiceParam rdata field of SVCB or HTTPS RR" },
179 "A value was found for a key that SHOULD not have a value "
180 "in the ServiceParam rdata field of SVCB or HTTPS RR" },
182 "A key was found more than once "
183 "in the ServiceParam rdata field of SVCB or HTTPS RR" },
185 "Invalid wireformat of a value "
186 "in the ServiceParam rdata field of SVCB or HTTPS RR" },
188 "The EDNS option is not an extended error code" },
190 "The extended error code option is malformed, expected "
191 "at least 2 bytes of option data" },
const char * ldns_get_errorstr_by_id(ldns_status err)
look up a descriptive text by each error.
ldns_lookup_table ldns_error_str[]
@ LDNS_STATUS_DANE_UNKNOWN_SELECTOR
@ LDNS_STATUS_WIRE_INCOMPLETE_QUESTION
@ LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY
@ LDNS_STATUS_NETWORK_ERR
@ LDNS_STATUS_INVALID_STR
@ LDNS_STATUS_WIRE_RDATA_ERR
@ LDNS_STATUS_SYNTAX_VERSION_ERR
@ LDNS_STATUS_DOMAINNAME_UNDERFLOW
@ LDNS_STATUS_SYNTAX_SUPERFLUOUS_TEXT_ERR
@ LDNS_STATUS_CRYPTO_NO_RRSIG
@ LDNS_STATUS_CRYPTO_TYPE_COVERED_ERR
@ LDNS_STATUS_ENGINE_KEY_NOT_LOADED
@ LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL
@ LDNS_STATUS_INVALID_EUI48
@ LDNS_STATUS_CRYPTO_ALGO_NOT_IMPL
@ LDNS_STATUS_DNSSEC_NSEC_WILDCARD_NOT_COVERED
@ LDNS_STATUS_CRYPTO_EXPIRATION_BEFORE_INCEPTION
@ LDNS_STATUS_CRYPTO_NO_DS
@ LDNS_STATUS_NSEC3_DOMAINNAME_OVERFLOW
@ LDNS_STATUS_WIRE_INCOMPLETE_HEADER
@ LDNS_STATUS_INVALID_IP4
@ LDNS_STATUS_DNSSEC_NSEC3_ORIGINAL_NOT_FOUND
@ LDNS_STATUS_SYNTAX_INTEGER_OVERFLOW
@ LDNS_STATUS_SVCPARAM_KEY_MORE_THAN_ONCE
@ LDNS_STATUS_EDE_OPTION_MALFORMED
@ LDNS_STATUS_DANE_UNKNOWN_TRANSPORT
@ LDNS_STATUS_CRYPTO_NO_DNSKEY
@ LDNS_STATUS_DANE_PKIX_DID_NOT_VALIDATE
@ LDNS_STATUS_CRYPTO_NO_TRUSTED_DS
@ LDNS_STATUS_SYNTAX_KEYWORD_ERR
@ LDNS_STATUS_SYNTAX_SVCPARAM_KEY_ERR
@ LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED
@ LDNS_STATUS_INVALID_TIME
@ LDNS_STATUS_INVALID_EUI64
@ LDNS_STATUS_CRYPTO_BOGUS
@ LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY
@ LDNS_STATUS_SOCKET_ERROR
@ LDNS_STATUS_SYNTAX_INCLUDE_ERR_NOTIMPL
@ LDNS_STATUS_ZONEMD_UNKNOWN_SCHEME
@ LDNS_STATUS_DANE_INSECURE
@ LDNS_STATUS_INVALID_B32_EXT
@ LDNS_STATUS_ZONEMD_DOUBLE_OCCURRENCE
@ LDNS_STATUS_LABEL_OVERFLOW
@ LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED_WITHIN_MARGIN
@ LDNS_STATUS_DANE_NEED_OPENSSL_GE_1_1_FOR_DANE_TA
@ LDNS_STATUS_NO_SVCPARAM_VALUE_EXPECTED
@ LDNS_STATUS_SYNTAX_DNAME_ERR
@ LDNS_STATUS_INVALID_IP6
@ LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED
@ LDNS_STATUS_DANE_MISSING_EXTRA_CERTS
@ LDNS_STATUS_DANE_TLSA_DID_NOT_MATCH
@ LDNS_STATUS_INVALID_ILNP64
@ LDNS_STATUS_INVALID_HEX
@ LDNS_STATUS_TYPE_NOT_IN_BITMAP
@ LDNS_STATUS_INTERNAL_ERR
@ LDNS_STATUS_SYNTAX_BAD_ESCAPE
@ LDNS_STATUS_SYNTAX_RDATA_ERR
@ LDNS_STATUS_SYNTAX_SVCPARAM_VALUE_ERR
@ LDNS_STATUS_SYNTAX_TYPE_ERR
@ LDNS_STATUS_CRYPTO_TSIG_BOGUS
@ LDNS_STATUS_INVALID_SVCPARAM_VALUE
@ LDNS_STATUS_WIRE_INCOMPLETE_ANSWER
@ LDNS_STATUS_DNSSEC_EXISTENCE_DENIED
@ LDNS_STATUS_DANE_UNKNOWN_MATCHING_TYPE
@ LDNS_STATUS_INVALID_POINTER
@ LDNS_STATUS_INVALID_INT
@ LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY
@ LDNS_STATUS_DANE_NON_CA_CERTIFICATE
@ LDNS_STATUS_DDD_OVERFLOW
@ LDNS_STATUS_ADDRESS_ERR
@ LDNS_STATUS_INVALID_RDF_TYPE
@ LDNS_STATUS_CRYPTO_SIG_EXPIRED
@ LDNS_STATUS_CRYPTO_UNKNOWN_ALGO
@ LDNS_STATUS_ZONEMD_UNKNOWN_HASH
@ LDNS_STATUS_SYNTAX_MISSING_VALUE_ERR
@ LDNS_STATUS_CRYPTO_TSIG_ERR
@ LDNS_STATUS_SYNTAX_ALG_ERR
@ LDNS_STATUS_DANE_OFFSET_OUT_OF_RANGE
@ LDNS_STATUS_DANE_EXTRA_CERTS_NOT_USED
@ LDNS_STATUS_EMPTY_LABEL
@ LDNS_STATUS_SYNTAX_EMPTY
@ LDNS_STATUS_PACKET_OVERFLOW
@ LDNS_STATUS_DANE_UNKNOWN_CERTIFICATE_USAGE
@ LDNS_STATUS_ZONEMD_INVALID_SOA
@ LDNS_STATUS_MISSING_RDATA_FIELDS_KEY
@ LDNS_STATUS_DOMAINNAME_OVERFLOW
@ LDNS_STATUS_NO_VALID_ZONEMD
@ LDNS_STATUS_INVALID_B64
@ LDNS_STATUS_INVALID_TAG
@ LDNS_STATUS_RDATA_OVERFLOW
@ LDNS_STATUS_CRYPTO_SIG_EXPIRED_WITHIN_MARGIN
@ LDNS_STATUS_CRYPTO_VALIDATED
@ LDNS_STATUS_DANE_PKIX_NO_SELF_SIGNED_TRUST_ANCHOR
@ LDNS_STATUS_SYNTAX_ITERATIONS_OVERFLOW
@ LDNS_STATUS_UNKNOWN_INET
@ LDNS_STATUS_RESERVED_SVCPARAM_KEY
@ LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG
@ LDNS_STATUS_SYNTAX_CLASS_ERR
@ LDNS_STATUS_SYNTAX_INCLUDE
@ LDNS_STATUS_CERT_BAD_ALGORITHM
@ LDNS_STATUS_SYNTAX_TTL_ERR
@ LDNS_STATUS_SYNTAX_ORIGIN
@ LDNS_STATUS_DANE_UNKNOWN_PROTOCOL
enum ldns_enum_status ldns_status
Including this file will include all ldns files, and define some lookup tables.
A general purpose lookup table.
ldns_lookup_table * ldns_lookup_by_id(ldns_lookup_table table[], int id)
Looks up the table entry by id, returns NULL if not found.