<div dir="ltr"><div><div><div><div><div><div><div>Hello folks,<br><br></div>i have a 
question about the error codes returned by lwres_getaddrsbyname and 
lwres_getrdatabyname functions. lwresd is running and working.<br><br></div>These functions return LWRES_R_NOTFOUND<br> 1) if the DNS server can not be reached by the lwresd daemon <br></div> 2) if the DNS server responds but does not have a record for the requested domain <br><br></div>Is there any way to distinguish these two cases to get a clear error message from the lwres library?<br><br></div>In
 general it would be nice to have error messages corresponding to the 
RCODE section defined in RFC 1035 p.27 ( No error, Format error, Server 
failure, Name error, Not implemented, Refused)<br><br></div><div>Is that somehow possible to do using the library ?<br></div><div><br></div>Thanks and regards, <br></div>Felix</div>