DOMAIN Reverse Data File Format for TCP/IP

Purpose

Stores reverse name resolution information for the named daemon.

Description

The Reverse Data file is one of the DOMAIN data files and contains address to name resolution mapping information for all machines in the name server's zone of authority. The name of the reverse hosts data file is specified in the named boot file. There may be more than one reverse hosts data file per primary name server.

All entries in this file must be in Standard Resource Record Format. Valid resource records in this file are:

Except for comments (starting with a ; (semicolon) and continuing to the end of the line), the resource records in the data files generally follow the format of the resource records that the named daemon returns in response to queries from resolver routines.

Two awk scripts, addrs.awk and hosts.awk, are provided in the /usr/samples/tcpip directory to assist you in converting your existing /etc/hosts file to named data files. The awk scripts also contain instructions for their use. Refer to these files for more information on the conversion.

Examples

The following examples show the various ways to use the DOMAIN Reverse Data file. In these examples, two networks are represented: abc and xyz.

Network abc consists of:

Network xyz consists of:

Files

Item Description
/etc/named.conf Defines how the named daemon initializes the DOMAIN name server file.
/usr/samples/tcpip/addrs.awk Sample awk script for converting an /etc/hosts file to an /etc/named.rev file. The awk script also contains directions for its use.
/usr/samples/tcpip/hosts.awk Sample awk script for converting an /etc/hosts file to an /etc/named.data file. The awk script also contains directions for its use.
/usr/samples/tcpip/named.conf Contains a sample named.conf file, which also contains directions for its use.
/usr/samples/tcpip/named.data Contains a sample named.data file, which also contains directions for its use.