Download Cabletron Systems E2100 Specifications
Transcript
allow-update { ! *; }; This options controls external write access, which
would allow clients to make a DNS entry — something which is normally not desirable for security reasons. Without this entry, zone updates are not allowed at all. Note that with the above sample entry, the
same would be achieved because ! * effectively bars any clients from
such access.
Structure of Zone Files
Two types of zone files are needed: one serves to assign IP addresses to host
names and the other does the reverse — supplies a host name for an IP address.
‘.’ has an important meaning in the zone files here. If host names are
given without ending with a ‘.’, the zone will be appended. Thus, complete
host names specified with a complete domain must end with a ‘.’ so the
domain is not added to it again. A missing point or one in the wrong place
is probably the most frequent cause of name server configuration errors.
A
DNS — Domain Name Service
masters { 10.0.0.1; }; This entry is only needed for slave zones. It specifies
from which name server the zone file should be transferred.
The first case to consider is the zone file world.zone, responsible for the
domain world.cosmos, as in File 13.
1. $TTL 2D
2. world.cosmos.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12. gateway
13.
14. sun
15. moon
16. earth
17. mars
IN SOA
2001040901
1D
2H
1W
2D )
gateway root.world.cosmos. (
; serial
; refresh
; retry
; expiry
; minimum
IN NS
IN MX
gateway
10 sun
IN
IN
IN
IN
IN
IN
192.168.0.1
192.168.1.1
192.168.0.2
192.168.0.3
192.168.1.2
192.168.1.3
A
A
A
A
A
A
File 13: The File /var/lib/named/world.zone
SuSE Linux – Firewall on CD2
163