
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Securing BIND
|
187
As with ACL-element lists, the channel-list is semicolon-delimited and must con-
tain one or more channels defined in a prior
channel{} statement. (If you wish, you
can log each category’s messages to multiple channels.) Table 6-1 shows a list of
categories that are of particular interest from a security standpoint. For a complete
description of all supported categories, see the BIND v8 Operator’s Guide (BOG) or
the BIND 9 Administrator Reference Manual (ARM).
The named.conf options we’ve looked at so far apply to all nameservers, including
caching-only nameservers that aren’t authoritative for any zones (i.e., aren’t master,
slave, or even stub for anything), and are thus inherently simpler and easier to secure
than other kinds of DNS servers. Few of the remaining named.conf options in this
section apply when setting up a caching-only server.
The main vulnerability on caching servers is cache poisoning. The best
defense against cache poisoning (in addition to running the very latest
version of your DNS software) is judicious use of the global options
allow-recursion{}, allow-query{}, fetch-glue,andrecursion.Ona
caching-only server,
recursion must be set to yes, since recursion is its
primary role, so be sure to restrict on which hosts’ behalf recursion is
performed using ...