Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 02:46:28 -0700
From:      David Greenman <dg@root.com>
To:        graeme@echidna.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DNS hardware needs under 2.2.7 
Message-ID:  <199809260946.CAA07024@implode.root.com>
In-Reply-To: Your message of "Fri, 25 Sep 1998 14:04:05 EDT." <360BDB15.9DDAAE38@echidna.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>David Greenman wrote:
>> 
>> >We are migrating all our Internet-related servers from Solaris to
>> >FreeBSD. I've already moved the news and web servers, and DNS is next.
>> >Here's my question: does DNS require a separate machine, or are its
>> >resource requirements rather small? The web server runs on a Pentium 2
>> >266/128M/4G IDE. Should I run BIND on that or build its own server? Any
>> >input much appreciated as always.
>> 
>>    BIND doesn't seem to consume a whole lot of CPU, but it does consume a lot
>> of memory - typically 30-40MB on a busy server. That may be reason enough to
>> have it on a seperate machine. We have both Apache and DNS on the same
>> server at WC CDROM, but we have lots of memory in the machine (512MB) and
>> the machine has CPU to burn (333MHz Pentium-II and only 1/2 million hits/day).
>
>
>Why is so much memory consumed (I'm assuming that the server is
>authoritative for relatively few domains)?

   By default, Apache does reverse (in-addr.arpa) lookups on the client IP
address so that it can provide that for the logs. In any case, BIND consumes
that much memory because it caches the results of the lookups.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809260946.CAA07024>