named.rev(SFF)


named.rev -- reverse hosts database file

Format

$INCLUDE named.soa

name [ttl] class PTR host.

Description

The named.rev file contains the zone database for the IN-ADDR.ARPA domain. This file name is arbitrary; it can be specified in /etc/named.conf in the file substatement of the appropriate IN-ADDR.ARPA zone statement.

The pointer records are needed by gethostbyaddr(SLIB).

It is created manually on the primary server. Its entries are:

   $INCLUDE named.soa
   ;name   {ttl}   class   type    real_name
   0.130           IN      PTR     host1.company.COM.

name
is the IP address of the host in reverse order. You only need to specify enough octets to make the name unique. For example, host1 could have the address 128.32.130.0.

real_name
is the name of the host to which the index points. There should be an entry for each host listed in named.hosts. The trailing `.' prevents DNS from appending the current $ORIGIN.

Example

$INCLUDE named.soa

2.130 IN PTR host1.company.COM. 3.0 IN PTR host2.company.COM. . . . . . .

Files

/etc/named.d/named.rev

See also

gethostbyaddr(SLIB), named(ADMN), named.conf(SFF), named.hosts(SFF), named.local(SFF), named.soa(SFF), root.cache(SFF)

Standards conformance

This file is conformant with the Standard Resource Record Format specified in RFC 1035.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005