diff options
Diffstat (limited to 'contrib/librdns/rdns.h')
-rw-r--r-- | contrib/librdns/rdns.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h index 016903ba6..647f0f1b1 100644 --- a/contrib/librdns/rdns.h +++ b/contrib/librdns/rdns.h @@ -436,6 +436,14 @@ const struct rdns_request_name* rdns_request_get_name (struct rdns_request *req, unsigned int *count); /** + * Return a DNS server name associated with the request + * @param req request object + * @return name of a DNS server + */ +const char* rdns_request_get_server (struct rdns_request *req); + + +/** * Return PTR string for a request (ipv4 or ipv6) addresses * @param str string representation of IP address * @return name to resolve or NULL if `str` is not an IP address; caller must free result when it is unused |