1dns_name4_domain(3) Library Functions Manual dns_name4_domain(3)
2
3
4
6 dns_name4_domain - construct host name for reverse lookup
7
9 #include <dns.h>
10
11 void dns_name4_domain(char q[DNS_NAME4_DOMAIN],
12 const char* ip[4]);
13
15 dns_name4_domain is a low-level component of dns_name4. It converts an
16 IP address such as 1.2.3.4 into a domain name such as 4.3.2.1.in-
17 addr.arpa and places the packet-encoded domain name into q.
18
19 q is zero terminated.
20
21 q must have space for DNS_NAME4_DOMAIN bytes.
22
24 dns_name4(3), dns_name6_domain(3)
25
26
27
28 dns_name4_domain(3)