PythonQ 248-8XX Instalační příručka Strana 235

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 294
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 234
Chapter 16. Berkeley Internet Name Domain (BIND) 235
nameservers use only few of them. The following zone statements are very basic examples that can
be used in a master-slave nameserver relationship.
The following is an example of a zone statement for the primary nameserver hosting domain.com:
zone "domain.com" IN {
type master;
file "domain.com.zone";
allow-update { none; };
};
In the statement, the zone is identified as domain.com, the type is set to master, and the named
service is instructed to read the /var/named/domain.com.zone file. It also tells named not to
allow by any other hosts to update.
A slave server’s zone statement for domain.com looks slightly different form the previous example.
For a slave server, the type is set to slave and in place of the allow-update line is a directive telling
named the IP address of the master server.
A slave server’s zone statement for domain.com may look like this:
zone "domain.com" {
type slave;
file "domain.com.zone";
masters { 192.168.0.1; };
};
This zone statement tells named on the slave server to look for the master server at the 192.168.0.1
IP address to find information for the domain.com zone. The information the slave server receives
from the master server is saved in the /var/named/domain.com.zone file.
16.2.2. Zone Files
Zone files, which contain information about a particular namespace, are stored in the named working
directory. By default, this is /var/named. Each zone file is named according to the file option data
in the zone statement, usually in a way that relates to the domain in question and identifies the file as
containing zone data, such as example.com.zone.
Each zone file may contain directives and resource records. Directives tell the nameserver to do a
certain thing or apply a special setting to the zone. Resource records define the parameters of the
zone, assigning an identity within the zone’s namespace to particular systems. Directives are optional,
but resource records are required to provide nameservice to that zone. All directives and resource
records should go on their own lines.
Comments can be placed after semicolon characters (;) in zone files.
16.2.2.1. Zone File Directives
Directives are identified by the leading $ character before the name of the directive and usually placed
at the top of the zone file.
The following directives are the most commonly used:
$INCLUDE Tells named to include another zone file in this zone file at the place where the
directive is used. This allows additional zone settings to be stored apart from the main zone file.
$ORIGIN Sets the domain name to be appended to any unqualified records, such as those that
only specify the host and nothing more.
Zobrazit stránku 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 293 294

Komentáře k této Příručce

Žádné komentáře

LG CH08LS10 manuels

Manuels d'utilisation et guides de l'utilisateur pour Matériel informatique LG CH08LS10.
Nous fournissons des manuels en pdf 1 LG CH08LS10 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Matériel informatique LG

Modèles Type de document
L1760TR-BF Manuel de l'utilisateur   LG L1760TR-BF Manual del usuario, 22 pages
CH10LS20 Manuel de l'utilisateur   LG CH10LS20 Manual del usuario, 12 pages
BE08LU20 Manuel de l'utilisateur   LG BE08LU20 Manual del usuario, 12 pages
L1510BF Manuel de l'utilisateur   LG L1510BF Manual del usuario, 21 pages
L206WTQ-SF Manuel de l'utilisateur   LG L206WTQ-SF Manual del usuario, 24 pages
GH22LS70 Manuel de l'utilisateur   LG GH22LS70 Manual del usuario, 9 pages
SA560 Manuel de l'utilisateur   LG SA560 Manual del usuario, 96 pages
M1721TA-BZ Manuel de l'utilisateur   LG M1721TA-BZ Manual del usuario, 46 pages
GSA-H58N Manuel de l'utilisateur   LG GSA-H58N Manual del usuario, 10 pages
M4714C-BA Manuel de l'utilisateur   LG M4714C-BA Manual del usuario, 66 pages
M3202C-BAP Manuel de l'utilisateur   LG M3202C-BAP Manual del usuario, 67 pages
AH115 Manuel de l'utilisateur   LG AH115 Manual del usuario, 33 pages
BH12LS38 Manuel de l'utilisateur   LG BH12LS38 Manual del usuario, 12 pages
PA72G Manuel de l'utilisateur   LG PA72G Manual del usuario, 61 pages
L1970HR-BF Manuel de l'utilisateur   LG L1970HR-BF Manual del usuario, 23 pages
M4210D-B21 Manuel de l'utilisateur   LG M4210D-B21 Manual del usuario, 50 pages
E2750VR-SN Manuel de l'utilisateur   LG E2750VR-SN User Manual, 37 pages
GH24NS95 Manuel de l'utilisateur   LG GH24NS95 User Manual, 4 pages
E1910T-BN Manuel de l'utilisateur   LG E1910T-BN User Manual, 35 pages
GDR-H30N Manuel de l'utilisateur     LG GDR-H30N User Manual, 16 pages