dns_name4_domain(3)

dns_name4_domain3

Construct host name for reverse lookup

Usage

#include <libowfat/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

10 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–5.0
  2. 7–11
  3. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.