- The purpose of this document is to explain the installation + This document explains the installation and upkeep of the BIND (Berkeley Internet - Name Domain) software package, and we + Name Domain) software package. We begin by reviewing the fundamentals of the Domain Name System (DNS) as they relate to BIND.
@@ -308,7 +308,7 @@For administrative purposes, the name space is partitioned into areas called zones, each starting at a node and - extending down to the leaf nodes or to nodes where other zones + extending down to the "leaf" nodes or to nodes where other zones start. The data for each zone is stored in a name server, which answers queries about the zone using the DNS protocol. @@ -368,7 +368,7 @@ terminal, that is, has no subdomains. Every subdomain is a domain and every domain except the root is also a subdomain. The terminology is - not intuitive and we suggest that you read RFCs 1033, 1034 and 1035 + not intuitive and we suggest reading RFCs 1033, 1034, and 1035 to gain a complete understanding of this difficult and subtle topic. @@ -377,12 +377,12 @@
Though BIND is called a "domain name
server",
- it deals primarily in terms of zones. The master and slave
+ it deals primarily in terms of zones. The "primary" and "secondary"
declarations in the named.conf file
specify
- zones, not domains. When you ask some other site if it is willing to
- be a slave server for your domain, you are
- actually asking for slave service for some collection of zones.
+ zones, not domains. When BIND asks some other site if it is willing to
+ be a secondary server for a domain, it is
+ actually asking for secondary service for some collection of zones.
- The authoritative server where the master copy of the zone + The authoritative server where the main copy of the zone data is maintained is called the - primary master server, or simply the + primary (or + master) server, or simply the primary. Typically it loads the zone contents from some local file edited by humans or perhaps generated mechanically from some other local file which is @@ -423,7 +424,7 @@
- In some cases, however, the master file may not be edited + In some cases, however, the zone file may not be edited by humans at all, but may instead be the result of dynamic update operations.
@@ -431,22 +432,23 @@- The other authoritative servers, the slave - servers (also known as secondary servers) - load the zone contents from another server using a replication + The other authoritative servers, called the + secondary + (or slave) servers, load the zone + contents from another server using a replication process known as a zone transfer. - Typically the data are transferred directly from the primary + Typically the data is transferred directly from the primary master, but it is also possible to transfer it from another - slave. In other words, a slave server may itself act as a - master to a subordinate slave server. + secondary. In other words, a secondary server may itself act as a + primary to a subordinate secondary server.
- Periodically, the slave server must send a refresh query to + Periodically, the secondary server must send a refresh query to determine whether the zone contents have been updated. This - is done by sending a query for the zone's SOA record and + is done by sending a query for the zone's Start of Authority (SOA) record and checking whether the SERIAL field has been updated; if so, a new transfer request is initiated. The timing of these refresh queries is controlled by the SOA REFRESH and RETRY @@ -459,8 +461,8 @@
If the zone data cannot be updated within the time specified by the SOA EXPIRE option (up to a hard-coded maximum of - 24 weeks) then the slave zone expires and will no longer - respond to queries. + 24 weeks), the secondary zone expires and no longer + responds to queries.
@@ -469,15 +471,14 @@ Stealth Servers- Usually all of the zone's authoritative servers are listed in + Usually, all of the zone's authoritative servers are listed in NS records in the parent zone. These NS records constitute a delegation of the zone from the parent. The authoritative servers are also listed in the zone file itself, at the top level or apex - of the zone. You can list servers in the zone's top-level NS - records that are not in the parent's NS delegation, but you cannot - list servers in the parent's delegation that are not present at - the zone's top level. + of the zone. Servers that are not in the parent's NS delegation can be listed in the zone's top-level NS + records, but servers that are not present at + the zone's top level cannot be listed in the parent's delegation.
@@ -485,7 +486,7 @@ authoritative for a zone but is not listed in that zone's NS records. Stealth servers can be used for keeping a local copy of a - zone to speed up access to the zone's records or to make sure that + zone, to speed up access to the zone's records, or to make sure that the zone is available even if all the "official" servers for the zone are @@ -493,11 +494,10 @@
- A configuration where the primary master server itself is a + A configuration where the primary server itself is a stealth server is often referred to as a "hidden primary" configuration. One use for this configuration is when the primary - master - is behind a firewall and therefore unable to communicate directly + is behind a firewall and is therefore unable to communicate directly with the outside world.
@@ -534,7 +534,7 @@The length of time for which a record may be retained in the cache of a caching name server is controlled by the - Time To Live (TTL) field associated with each resource record. + Time-To-Live (TTL) field associated with each resource record.
- There may be one or more forwarders, - and they are queried in turn until the list is exhausted or an - answer - is found. Forwarders are typically used when you do not - wish all the servers at a given site to interact directly with the - rest of - the Internet servers. A typical scenario would involve a number - of internal DNS servers and an - Internet firewall. Servers unable - to pass packets through the firewall would forward to the server - that can do it, and that server would query the Internet DNS servers - on the internal server's behalf. + Forwarders are typically used when an administrator does not + wish for all the servers at a given site to interact + directly with the rest of the Internet. For example, a + common scenario is when multiple internal DNS servers are + behind an Internet firewall. Servers behind the firewall + forward their requests to the server with external access, + which queries Internet DNS servers on the internal servers' + behalf. +
+ ++ Another scenario (largely now superseded by Response Policy + Zones) is to send queries first to a custom server for RBL + processing before forwarding them to the wider Internet. +
+ +
+ There may be one or more forwarders in a given setup. The
+ order in which the forwarders are listed in
+ named.conf does not determine the
+ sequence in which they are queried; rather,
+ named uses the response times from
+ previous queries to select the server that is likely to
+ respond the most quickly. A server that has not yet been
+ queried is given an initial small random response time to
+ ensure that it is tried at least once. Dynamic adjustment of
+ the recorded response times ensures that all forwarders are
+ queried, even those with slower response times. This
+ permits changes in behavior based on server responsiveness.
The BIND name server can simultaneously act as - a master for some zones, a slave for other zones, and as a caching + a primary for some zones, a secondary for other zones, and a caching (recursive) server for a set of local clients.
@@ -616,6 +633,6 @@ -BIND 9.11.21 (Extended Support Version)
+BIND 9.11.22 (Extended Support Version)