Free Network Tools
| |||
Free Ebook "Pro DNS and BIND" Sample Chapter
Pro DNS and BIND
Download chapter
Free Download Chapter 8: Common DNS Tasks Pro DNS and BIND guides you through the challenging array of features surrounding DNS, with a special focus on BIND, the world's most popular DNS implementation. This book unravels the mysteries of DNS, offering insight into origins, evolution, and key concepts like domain names and zone files. This book focuses on running DNS systems based on BIND 9.3.0-the first stable release that includes support for the latest DNSSEC (DNSSEC.bis) standards and a major functional upgrade from previous BIND 9 releases. If you administer a DNS system or are thinking about running one, or if you need to upgrade to support IPv6 DNS, need to secure a DNS for zone transfer, dynamic update, or other reasons, or if you need to implement DNSSEC, or simply want to understand the DNS system, then this book provides you with a single point of reference. Pro DNS and BIND starts with simple concepts, then moves on to full security-aware DNSSEC configurations. Various features, parameters, and resource records are described and, in the majority of cases, illustrated with one or more examples. The book contains a complete reference to zone files, Resource Records, and BIND's configuration file parameters. You can treat the book as as a simple paint-by-numbers guide to everything from a simple caching DNS, to the most complex secure DNS (DNSSEC) implementation. Background information is still included for when you need to know what to do and why you have to do it, and so that you can modify processes to meet your unique needs. Topics Include:
Common DNS TasksThis chapter describes a number of common configurations when working with zone files and in some cases with BIND. These solutions are presented to assist you to quickly implement some commonly used features, to recover from errors, and to illustrate some of the more subtle uses of the DNS. The following topics are covered:
The examples shown use a number of BIND's named.conf statements, which are described in Chapter 12, and standard Resource Records, which are defined in Chapter 13. If you are running name server software other than BIND, the zone files will remain the same, but the configuration statements may differ. In the next section, the process of delegation of a subdomain, us.example.com, is described to illustrate the general principle of delegation within an owner's domain name space. The domain owner can delegate everything to the right of the domain name in any way that makes sense-or for that matter that doesn't make sense! Delegate a Subdomain (Subzone)This solution configures a zone to fully delegate the responsibility for a subdomain to another name server. This is not the only possible method of defining subdomains-another solution involves configuring what this book calls a virtual or pseudo subdomain, which uses a single zone file to provide subdomain addressing structures. Assume the following addressing structure is required for the subdomain:
To ease the zone administration load, this solution assumes the responsibility for the subdomain will be fully delegated to the us.example.com administrator who will be responsible for the subdomain zone files and their supporting name servers. The zone administrators of the corporate domain for example.com want nothing further to do with us.example.com other than it has generously agreed to act as the slave DNS for the subdomain name servers. When dealing with subdomains, it is important to remember that as far as the Internet registration authorities and the TLD servers are concerned, subdomains do not exist. All queries for anything that ends with example.com will be referred to the name servers for the example.com zone or domain. In turn, these name servers are responsible for referring the query to the subdomain name servers. For the want of any better terminology, the name servers for example.com are called the domain name servers and are visible to the gTLD .com servers; the name servers for us.example.com are called the subdomain name servers and are visible only to the domain name servers (they are invisible to the gTLD servers). | |||