diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index 3e6f68d98f..2bb06171f5 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -46,8 +46,11 @@ typedef unsigned int dns_result_t; #define DNS_R_SYNTAX 23 #define DNS_R_BADCKSUM 24 #define DNS_R_BADAAAA 25 +#define DNS_R_NOOWNER 26 +#define DNS_R_NOTTL 27 +#define DNS_R_BADCLASS 28 -#define DNS_R_LASTENTRY 25 /* Last entry on list. */ +#define DNS_R_LASTENTRY 28 /* Last entry on list. */ #define DNS_R_UNEXPECTED 0xFFFFFFFFL diff --git a/lib/dns/result.c b/lib/dns/result.c index 527cf5c58f..b6a3c35a86 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -46,6 +46,9 @@ static char *text_table[DNS_R_LASTENTRY + 1] = { "syntax error", /* 23 */ "bad checksum", /* 24 */ "bad IPv6 address", /* 25 */ + "no owner" /* 26 */ + "no ttl" /* 27 */ + "bad class" /* 28 */ }; char *