Zone Files - Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

entry, zone updates are not allowed at all. The above entry achieves the same be-
cause ! * effectively bans any such activity.

21.6 Zone Files

Two types of zone files are needed. One assigns IP addresses to hostnames and the
other does the reverse: it supplies a hostname for an IP address.
TIP: Using the Dot (Period, Fullstop) in Zone Files
The "." has an important meaning in the zone files. If hostnames are given
without a final ., the zone is appended. Complete hostnames specified with a
full domain name must end with a . to avoid having the domain added to it
again. A missing or wrongly placed "." is probably the most frequent cause of
name server configuration errors.
The first case to consider is the zone file example.com.zone, responsible for the
domain example.com, shown in
ple.com.zone"
Example 21.6 File /var/lib/named/example.com.zone
1.
$TTL 2D
2.
example.com. IN SOA
3.
4.
5.
6.
7.
8.
9.
10.
11.
12. gate
13.
14. dns
15. mail
16. jupiter
17. venus
18. saturn
19. mercury
20. ntp
21. dns6
296
Administration Guide
Example 21.6, "File /var/lib/named/exam-
(page 296).
dns
2003072441
; serial
1D
; refresh
2H
; retry
1W
; expiry
2D )
; minimum
IN NS
dns
IN MX
10 mail
IN A
192.168.5.1
IN A
10.0.0.1
IN A
192.168.1.116
IN A
192.168.3.108
IN A
192.168.2.100
IN A
192.168.2.101
IN A
192.168.2.102
IN A
192.168.2.103
IN CNAME
dns
IN A6
0
2002:c0a8:174::
root.example.com. (

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents