[ldns-users] DNS RCODEs
Vladimir Levijev
vladimir.levijev at gmail.com
Thu Mar 22 08:26:00 UTC 2018
Hi,
Currently ldns supports RCODES from 0 to 10:
/* rcodes for pkts */
enum ldns_enum_pkt_rcode {
LDNS_RCODE_NOERROR = 0,
LDNS_RCODE_FORMERR = 1,
LDNS_RCODE_SERVFAIL = 2,
LDNS_RCODE_NXDOMAIN = 3,
LDNS_RCODE_NOTIMPL = 4,
LDNS_RCODE_REFUSED = 5,
LDNS_RCODE_YXDOMAIN = 6,
LDNS_RCODE_YXRRSET = 7,
LDNS_RCODE_NXRRSET = 8,
LDNS_RCODE_NOTAUTH = 9,
LDNS_RCODE_NOTZONE = 10
};
while RFC lists more (16-23 are missing):
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
Is there a reason for that or is adding the rest planned for the fugure?
Thanks,
VL
More information about the ldns-users
mailing list