diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index 894f077543..b2c496c953 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -1,7 +1,7 @@ @@ -3006,10 +3006,68 @@ dhcp_flags="" To understand this document, some terms related to DNS must be understood. - zones - zone - Each individual domain, subdomain, - or area dictated by DNS - + + + + + Term + Definition + + + + + + forward dns + mapping of hostnames to IP addresses + + + + origin + refers to the point of start for the particular zone + + + + named, bind, name server + common names for the BIND name server package within + FreeBSD + + + resolver + + resolver + a system process through which a + machine queries a nameserver for zone information + + + reverse dns + + reverse DNS + the opposite of forward DNS, mapping of IP addresses to + hostnames + + + root zone + + root zone + + literally, a ., refers to the + root, or beginning zone. All zones fall under this, as + do all files in fall under the root directory. It is + the beginning of the Internet zone hierarchy. + + + + zone + Each individual domain, subdomain, or area dictated by + DNS + + + + + + zones + examples + Examples of zones: @@ -3043,34 +3101,7 @@ dhcp_flags="" a hostname is much like a filesystem: the /dev directory falls within the root, and so on. - named, bind, name server - these are all - common names for the BIND name server package within FreeBSD. - - resolver - resolver - a system process through which a - machine queries a nameserver for zone information - - - root zone - root zone - literally, a '.', refers to - the root, or beginning zone. All zones fall under this, as do all - files in fall under the root directory. It is the beginning of the - Internet zone hierarchy. - - - origin - refers to the point of start for - the particular zone - - - forward dns - mapping of hostnames to IP - addresses - - - reverse DNS - reverse dns - the opposite of forward DNS, - mapping of IP addresses to hostnames - @@ -3145,20 +3176,41 @@ dhcp_flags="" In FreeBSD, the BIND daemon is called named for obvious reasons. - named - the bind daemon - ndc - name daemon control program + + + + + File + Description + + + + + + named + the BIND daemon + + + + ndc + name daemon control program + + + + /etc/namedb + directory where BIND zone information resides + + + + /etc/namedb/named.conf + daemon configuration file + + + + - /etc/namedb - directory where BIND zone - information resides - - - /etc/namedb/named.conf - daemon configuration - file - - - - zone files are usually contained within the + Zone files are usually contained within the /etc/namedb directory, and contain the DNS zone information served by the name server. @@ -3430,14 +3482,45 @@ www IN CNAME @ The most commonly used DNS records: - SOA - start of zone authority - NS - an authoritative nameserver - A - A host address - CNAME - the canonical name for an - alias - MX - mail exchange - PTR - a domain name pointer (used in - reverse dns) + + + + SOA + + start of zone authority + + + + NS + + an authoritative nameserver + + + + A + + A host address + + + + CNAME + + the canonical name for an alias + + + + MX + + mail exchange + + + + PTR + + a domain name pointer (used in reverse dns) + + + foobardomain.org. IN SOA ns1.foobardomain.org. admin.foobardomain.org. ( @@ -3447,29 +3530,48 @@ foobardomain.org. IN SOA ns1.foobardomain.org. admin.foobardomain.org. ( 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day - - foobardomain.org. - the domain name, also - the origin for this zone file. - - ns1.foobardomain.org. - the - primary/authoritative nameserver for this zone - - admin.foobardomain.org. - the - responsible person for this zone, email address with @ + + + + + foobardomain.org. + + the domain name, also the origin for this + zone file. + + + + ns1.foobardomain.org. + + the primary/authoritative nameserver for this + zone + + + + admin.foobardomain.org. + + the responsible person for this zone, + email address with @ replaced. (admin@foobardomain.org becomes - admin.foobardomain.org) - - - 5 - the serial number of the file. this - must - be incremented each time the zone file is modified. Nowadays, - many admins prefer a yyyymmddrr format for the serial - number. - 2001041002 would mean last modified 04/10/2001, the latter 02 being - the second time the zone file has been modified this day. The - serial number is important as it alerts slave nameservers for a zone - when it is updated. - + admin.foobardomain.org) + + + + + 5 + + the serial number of the file. this + must be incremented each time the zone file is modified. + Nowadays, many admins prefer a + yyyymmddrr format for the serial + number. 2001041002 would mean last modified 04/10/2001, + the latter 02 being the second time the zone file has + been modified this day. The serial number is important + as it alerts slave nameservers for a zone when it is + updated. + + + @ IN NS ns1.foobardomain.org. @@ -3491,9 +3593,10 @@ mail IN A 3.2.1.10 The A record indicates machine names. As seen above, - ns1.foobardomain.org would resolve to 3.2.1.2. Again, the - origin symbol, @, is used here, thus meaning - foobardomain.org would resolve to 3.2.1.30. + ns1.foobardomain.org would resolve to + 3.2.1.2. Again, the origin symbol, @, is + used here, thus meaning foobardomain.org + would resolve to 3.2.1.30. @@ -3501,10 +3604,12 @@ www IN CNAME @ The canonical name record is usually used for giving aliases - to a machine. In the example, www is aliased to the machine - addressed to the origin, or foobardomain.org (3.2.1.30). - CNAMEs can be used to provide alias hostnames, or round - robin one hostname among multiple machines. + to a machine. In the example, www is + aliased to the machine addressed to the origin, or + foobardomain.org (3.2.1.30). + CNAMEs can be used to provide alias + hostnames, or round robin one hostname among multiple + machines. @@ -3711,33 +3816,39 @@ www IN CNAME @ Further Reading - &man.ndc.8; &man.named.8; &man.named.conf.5; + BIND/named man pages: &man.ndc.8; &man.named.8; &man.named.conf.5; - - Official ISC BIND Page - http://www.isc.org/products/BIND/ - + + + Official ISC Bind + Page + - - BIND FAQ - - http://www.nominum.com/resources/faqs/bind-faqs.html - + + + BIND FAQ + - - O'Reilly DNS and BIND 4th Edition - + + O'Reilly + DNS and BIND 4th Edition + - - RFC1034 - Domain Names - - Concepts and Facilities - + + RFC1034 + - Domain Names - Concepts and Facilities + - - RFC1035 - Domain Names - - Implementation and Specification - + + RFC1035 + - Domain Names - Implementation and Specification + +