named.rev(4tcp)
named.rev --
IN-ADDR.ARPA database file
Synopsis
$INCLUDE named.soa
name [ttl] class PTR real_name.
Description
The named.rev file
contains the zone database for the IN-ADDR.ARPA domain.
The actual filename is arbitrary; it is normally specified in
named.boot as the source file for each
IN-ADDR.ARPA domain.
Pointer records (PTR)
are needed to convert IP addresses to
hostnames, for example using
gethostbyaddr(3N).
See
named.hosts(4tcp)
for a description of these records.
The entries are:
- name
-
The IP address of the host in reverse order.
Only enough octets need to be specified
to make the name unique within the zone.
- real_name
-
The name of the host to which the index points.
There should be an entry for each host listed in the
named.hosts(4tcp)
file.
A trailing ``.'' prevents DNS from appending the current
$ORIGIN.
See
named.local(4tcp)
for a description of the PTR and A records that are
needed for the local loopback interface, localhost.
Files
- /etc/inet/named.d/db.reverse_address
-
suggested name for reverse hosts database file
References
gethostbyaddr(3N),
named(1Mtcp),
named.boot(4tcp),
named.hosts(4tcp),
named.local(4tcp),
named.soa(4tcp),
root.cache(4tcp)
Standard Resource Record Format
in RFC 1035.
Examples
$INCLUDE named.soa
1.130 IN PTR host1.company.COM.
2.130 IN PTR host2.company.COM.
3.130 IN PTR host3.company.COM.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.