lwres - Error codes

Felix Haase felix.haase at gmail.com
Mon Oct 31 11:09:51 UTC 2016

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

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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20161031/9bce2b1d/attachment.html>

More information about the bind-users mailing list