Bv9ARM.ch02.html revision 67794b68b24e161aeea45b4807c0b6708fd699cd
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen - Copyright (C) 2000-2016 Internet Systems Consortium, Inc. ("ISC")
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen - This Source Code Form is subject to the terms of the Mozilla Public
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen - License, v. 2.0. If a copy of the MPL was not distributed with this
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen - file, You can obtain one at http://mozilla.org/MPL/2.0/.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<title>Chapter�2.�BIND Resource Requirements</title>
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<link rel="prev" href="Bv9ARM.ch01.html" title="Chapter�1.�Introduction">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<link rel="next" href="Bv9ARM.ch03.html" title="Chapter�3.�Name Server Configuration">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<table width="100%" summary="Navigation header">
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen<tr><th colspan="3" align="center">Chapter�2.�<acronym class="acronym">BIND</acronym> Resource Requirements</th></tr>
2dcf7ec6ec0c28297311108acba119cd6e055e64Tom Gundersen<a accesskey="p" href="Bv9ARM.ch01.html">Prev</a>�</td>
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen<td width="20%" align="right">�<a accesskey="n" href="Bv9ARM.ch03.html">Next</a>
a97dcc12e486ecff531809802930a26c4da827f2Tom Gundersen<div class="titlepage"><div><div><h1 class="title">
60ad0c85e58ea8f546677c1d2e425551f7b96179Tom Gundersen<a name="Bv9ARM.ch02"></a>Chapter�2.�<acronym class="acronym">BIND</acronym> Resource Requirements</h1></div></div></div>
505f8da7325591defe5f751f328bd26915267602Tom Gundersen<dt><span class="section"><a href="Bv9ARM.ch02.html#hw_req">Hardware requirements</a></span></dt>
be660c371b231c253a97464ddd8f32ec8721da21Alin Rauta<dt><span class="section"><a href="Bv9ARM.ch02.html#cpu_req">CPU Requirements</a></span></dt>
be660c371b231c253a97464ddd8f32ec8721da21Alin Rauta<dt><span class="section"><a href="Bv9ARM.ch02.html#mem_req">Memory Requirements</a></span></dt>
be660c371b231c253a97464ddd8f32ec8721da21Alin Rauta<dt><span class="section"><a href="Bv9ARM.ch02.html#intensive_env">Name Server Intensive Environment Issues</a></span></dt>
2ad8416dd057e7e3185169609ca3006e7649f576Zbigniew Jędrzejewski-Szmek<dt><span class="section"><a href="Bv9ARM.ch02.html#supported_os">Supported Operating Systems</a></span></dt>
2ad8416dd057e7e3185169609ca3006e7649f576Zbigniew Jędrzejewski-Szmek<div class="titlepage"><div><div><h2 class="title" style="clear: both">
2ad8416dd057e7e3185169609ca3006e7649f576Zbigniew Jędrzejewski-Szmek<a name="hw_req"></a>Hardware requirements</h2></div></div></div>
2ad8416dd057e7e3185169609ca3006e7649f576Zbigniew Jędrzejewski-Szmek <acronym class="acronym">DNS</acronym> hardware requirements have
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering traditionally been quite modest.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering For many installations, servers that have been pensioned off from
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering active duty have performed admirably as <acronym class="acronym">DNS</acronym> servers.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering The DNSSEC features of <acronym class="acronym">BIND</acronym> 9
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering may prove to be quite
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering CPU intensive however, so organizations that make heavy use of these
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering features may wish to consider larger systems for these applications.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering <acronym class="acronym">BIND</acronym> 9 is fully multithreaded, allowing
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering full utilization of
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering multiprocessor systems for installations that need it.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering<div class="titlepage"><div><div><h2 class="title" style="clear: both">
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering<a name="cpu_req"></a>CPU Requirements</h2></div></div></div>
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering CPU requirements for <acronym class="acronym">BIND</acronym> 9 range from
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering i486-class machines
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering for serving of static zones without caching, to enterprise-class
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering machines if you intend to process many dynamic updates and DNSSEC
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering signed zones, serving many thousands of queries per second.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering<div class="titlepage"><div><div><h2 class="title" style="clear: both">
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<a name="mem_req"></a>Memory Requirements</h2></div></div></div>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen The memory of the server has to be large enough to fit the
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen cache and zones loaded off disk. The <span class="command"><strong>max-cache-size</strong></span>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen option can be used to limit the amount of memory used by the cache,
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen at the expense of reducing cache hit rates and causing more <acronym class="acronym">DNS</acronym>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen Additionally, if additional section caching
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen (<a class="xref" href="Bv9ARM.ch06.html#acache" title="Additional Section Caching">the section called “Additional Section Caching”</a>) is enabled,
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen the <span class="command"><strong>max-acache-size</strong></span> option can be used to
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen limit the amount
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen of memory used by the mechanism.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen It is still good practice to have enough memory to load
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen all zone and cache data into memory — unfortunately, the best
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen to determine this for a given installation is to watch the name server
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen in operation. After a few weeks the server process should reach
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen a relatively stable size where entries are expiring from the cache as
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen fast as they are being inserted.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<div class="titlepage"><div><div><h2 class="title" style="clear: both">
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<a name="intensive_env"></a>Name Server Intensive Environment Issues</h2></div></div></div>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen For name server intensive environments, there are two alternative
190700621f95160d364f8ec1d3e360246c41ce75Lennart Poettering configurations that may be used. The first is where clients and
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen any second-level internal name servers query a main name server, which
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen has enough memory to build a large cache. This approach minimizes
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen the bandwidth used by external name lookups. The second alternative
190700621f95160d364f8ec1d3e360246c41ce75Lennart Poettering is to set up second-level internal name servers to make queries
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen independently.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen In this configuration, none of the individual machines needs to
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen have as much memory or CPU power as in the first alternative, but
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen this has the disadvantage of making many more external queries,
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen as none of the name servers share their cached data.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<div class="titlepage"><div><div><h2 class="title" style="clear: both">
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<a name="supported_os"></a>Supported Operating Systems</h2></div></div></div>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen ISC <acronym class="acronym">BIND</acronym> 9 compiles and runs on a large
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen of Unix-like operating systems and on
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen Microsoft Windows Server 2003 and 2008, and Windows XP and Vista.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen For an up-to-date
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen list of supported systems, see the README file in the top level
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen of the BIND 9 source distribution.
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<table width="100%" summary="Navigation footer">
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<a accesskey="p" href="Bv9ARM.ch01.html">Prev</a>�</td>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<td width="40%" align="right">�<a accesskey="n" href="Bv9ARM.ch03.html">Next</a>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<td width="40%" align="left" valign="top">Chapter�1.�Introduction�</td>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<td width="40%" align="right" valign="top">�Chapter�3.�Name Server Configuration</td>
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.1</p>