5 const char *githstrerror(int err)
7 static char buffer[48];
11 return "Authoritative answer: host not found";
13 return "Valid name, no data record of requested type";
15 return "Non recoverable errors, FORMERR, REFUSED, NOTIMP";
17 return "Non-authoritative \"host not found\", or SERVERFAIL";
19 snprintf(buffer, sizeof(buffer), "Name resolution error %d", err);