named.conf.4 (2010 09)

n
named.conf(4) named.conf(4)
(BIND 9.3)
Here’s a table of convenient values:
Seconds in an Integer Value
minimum 0 seconds
1 minute 60 seconds
1 hour 3600 seconds
1 day 86400 seconds
7 days 604800 seconds
30 days 2592000 seconds
24855 days 2147472000 seconds
maximum 2147483647 seconds
For convenience, some units can be explicitly specified; you can use
h for hours, m for minutes, and s for
seconds. For example,
1h30m.
Inverse Mapping in IPv4
Reverse name resolution (that is, translation from an IP address to a domain name) is achieved with the
in-addr.arpa domain and PTR records. Entries in the
in-addr.arpa domain are made in least-
to-most significant order, reading left to right. This is the reverse of the way IP addresses are usually
written. Thus, a machine with an IP address of 10.1.2.3 would have a corresponding
in-addr.arpa
name of 3.2.1.10.in-addr.arpa
. This name should have a
PTR resource record whose data field is
the domain name of the machine. If the machine has more than one name. it will need multiple
PTR
records. For example, for IP address 10.1.2.3, corresponding to host name
fred.example.com in
the
example.com domain:
$ORIGIN 2.1.10.in-addr.arpa
3 IN PTR fred.example.com.
Example
ISI.EDU. MX 10 VENERA.ISI.EDU.
MX 10 VAXA.ISI.EDU.
VENERA.ISI.EDU. A 128.9.0.32
A 10.1.0.52
VAXA.ISI.EDU. A 10.2.0.27
A 128.9.0.33
The
MX RRs have an rrdata section that consists of a 16-bit number followed by a domain name. The
address RRs use a standard IP address format to contain a 32-bit Internet address.
This example shows six RRs, with two RRs at each of three domain names.
AUTHOR
named.conf and the $GENERATE directive were developed by the Internet Systems Consortium (ISC).
Zone files were developed by the Internet Engineering Task Force (IETF).
FILES
/dev/random
/etc/named.conf Default named configuration file.
/etc/resolv.conf
/etc/rndc.key
/usr/bin/named-bootconf.sh
Shell script to convert BIND 4.9.7 configuration files to the BIND 9.3 for-
mat.
/var/run/named.pid
SEE ALSO
kill(1), hosts_to_named(1M), sig_named(1M), syslogd(1M), signal(2), gethostent(3N), resolver(3N),
syslog(3C), resolver(4), hostname(5).
Requests for Comments (RFC): 822, 974, 1032, 1034, 1035, 1183, 1706, 1712, 1876, 1886, 2163, 2230,
2282, 2308, 2317, 2535, 2538, 2672, 2874, and 2915, available online at
http://www.rfc-
editor.org/.
36 Hewlett-Packard Company 36 HP-UX 11i Version 3: September 2010