Using Rndc; Configuring - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

A reverse name resolution zone file is used to translate an IP address in a particular namespace
into a FQDN. It looks very similar to a standard zone file, except that
used to link the IP addresses to a fully qualified domain name.
A
record looks similar to this:
PTR
<last-IP-digit> IN PTR <FQDN-of-system>
The
<last-IP-digit>
FQDN.
In the follow example, IP addresses
corresponding FQDNs.
$ORIGIN 1.0.10.in-addr.arpa. $TTL 86400 @ IN SOA dns1.example.com.
hostmaster.example.com. ( 2001062501 ; serial 21600 ; refresh after 6 hours
3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; minimum TTL
of 1 day IN NS dns1.example.com. IN NS dns2.example.com. 20 IN PTR
alice.example.com. 21 IN PTR betty.example.com. 22 IN PTR
charlie.example.com. 23 IN PTR doug.example.com. 24 IN PTR
ernest.example.com. 25 IN PTR fanny.example.com.
This zone file would be called into service with a
looks similar to the following:
zone "1.0.10.in-addr.arpa" IN { type master; file "example.com.rr.zone";
allow-update { none; }; };
There is very little difference between this example and a standard
the zone name. Note that a reverse name resolution zone requires the first three blocks of the
IP address reversed followed by
used in the reverse name resolution zone file to be associated with the zone.
4. Using
rndc
BIND includes a utility called
daemon from the localhost or from a remote host.
In order to prevent unauthorized access to the
authentication method to grant privileges to hosts. This means an identical key must be present
in both
/etc/named.conf

4.1. Configuring

In order for
to connect to a
rndc
server's
/etc/named.conf
is the last number in an IP address which points to a particular system's
10.0.1.20
.in-addr.arpa
which allows command line administration of the
rndc
and the
configuration file,
rndc
/etc/named.conf
service, there must a
named
file.
through
are pointed to
10.0.1.25
statement in the
zone
zone
. This allows the single block of IP numbers
daemon, BIND uses a shared secret key
named
/etc/rndc.conf
controls
Using
resource records are
PTR
file which
named.conf
statement, except for
named
.
statement in the BIND
rndc
227

Advertisement

Table of Contents
loading

Table of Contents