49 HOST_NOT_FOUND,
"Host not found",
50 TRY_AGAIN,
"Host not found, try again",
51 NO_RECOVERY,
"Non-recoverable error",
52 NO_DATA,
"Host found but no data record of requested type",
62 for (i = 0; i <
sizeof(dns_error_map) /
sizeof(dns_error_map[0]); i++)
63 if (dns_error_map[i].error == error)
64 return (dns_error_map[i].
text);
const char * dns_strerror(unsigned error)
VSTRING * vstring_alloc(ssize_t len)
VSTRING * vstring_sprintf(VSTRING *vp, const char *format,...)