dns_name4_domain man page

dns_name4_domain — construct host name for reverse lookup


#include <dns.h>

void dns_name4_domain(char q[DNS_NAME4_DOMAIN],
                    const char* ip[4]);


dns_name4_domain is a low-level component of dns_name4.  It converts an IP address such as into a domain name such as and places the packet-encoded domain name into q.

q is zero terminated.

q must have space for DNS_NAME4_DOMAIN bytes.

See Also

dns_name4(3), dns_name6_domain(3)

Referenced By

dns_name4(3), dns_name6_domain(3).