Hello folks,

i have a question about the error codes returned by lwres_getaddrsbyname
and lwres_getrdatabyname functions. lwresd is running and working.

These functions return LWRES_R_NOTFOUND
 1) if the DNS server can not be reached by the lwresd daemon
 2) if the DNS server responds but does not have a record for the requested
domain

Is there any way to distinguish these two cases to get a clear error
message from the lwres library?

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)

Is that somehow possible to do using the library ?

Thanks and regards,
Felix
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to