dns_name4_domain(3diet)

dns_name4_domain3diet

Construct host name for reverse lookup

Usage

#include <dns.h>

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

Overview

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

q is zero terminated.

q must have space for DNS_NAME4_DOMAIN bytes.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.