15.12. BIND configuration examples

Now that we have explored the wonders of named.conf, let’s look at some complete examples. In the following sections, we discuss several sample configurations:

  • The localhost zone

  • A small security company that uses split DNS

  • The experts: isc.org, the Internet Systems Consortium

The localhost zone

The address 127.0.0.1 refers to a host itself and should be mapped to the name “localhost.”.[16] Some sites map the address to “localhost. localdomain.” and some do both. The corresponding IPv6 address is ::1.

If you forget to configure the localhost zone, your site may end up querying the root servers for localhost information. The root servers receive so many of these queries that the operators are considering ...

Get Linux Administration Handbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.