From owner-freebsd-questions Fri Sep 25 11:08:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11746 for freebsd-questions-outgoing; Fri, 25 Sep 1998 11:08:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hecate.webcom.com (hecate.webcom.com [209.1.28.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11684 for ; Fri, 25 Sep 1998 11:07:58 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hecate.webcom.com (8.9.1/8.9.1) with SMTP id LAA21198; Fri, 25 Sep 1998 11:07:45 -0700 Received: from [199.183.207.48] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 4020091; Fri Sep 25 11:06 PDT 1998 Message-Id: <360BDB15.9DDAAE38@echidna.com> Date: Fri, 25 Sep 1998 14:04:05 -0400 From: Graeme Tait Reply-To: graeme@echidna.com Organization: Echidna X-Mailer: Mozilla 4.02 [en]C-DIAL (Win95; U) Mime-Version: 1.0 To: dg@root.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS hardware needs under 2.2.7 References: <199809251600.JAA25652@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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)? I would have thought that compared with serving a web page (which generally means multiple packets per document, multiple connections for embedded images, etc., writing log data), a DNS lookup was normally pretty simple if the server is authoritative for the domain. Also, since the DNS data should be cached elsewhere after the first request, and most likely the user will follow a link or two, you would think the WWW server load would thoroughly dominate. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message