From owner-freebsd-chat Mon Jan 13 7:35:39 2003 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B92537B401 for ; Mon, 13 Jan 2003 07:35:37 -0800 (PST) Received: from excalibur.skynet.be (excalibur.skynet.be [195.238.3.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D450B43F3F for ; Mon, 13 Jan 2003 07:35:34 -0800 (PST) (envelope-from brad.knowles@skynet.be) Received: from [10.0.1.2] (ip-26.shub-internet.org [194.78.144.26] (may be forged)) by excalibur.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with ESMTP id h0DFYud00465; Mon, 13 Jan 2003 16:34:57 +0100 (MET) (envelope-from ) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20030113141542.GC2260@rfc822.net> References: <20030110234309.R12065@2-234-22-23.pyvrag.nggov.pbz> <3E1FF12B.5390D978@mindspring.com> <20030111144619.X22424@2-234-22-23.pyvrag.nggov.pbz> <3E21FD22.38CD81BB@mindspring.com> <20030113141542.GC2260@rfc822.net> X-Grok: +++ath X-WebTV-Stationery: Standard; BGColor=black; TextColor=black Reply-By: Wed, 1 Jan 1984 12:34:56 +0100 Date: Mon, 13 Jan 2003 15:51:43 +0100 To: Pete Ehlke From: Brad Knowles Subject: Re: Need advice on PHP and MySQL books Cc: freebsd-chat@FreeBSD.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 8:15 AM -0600 2003/01/13, Pete Ehlke wrote: > Does anyone know the story about NSD? I've looked at it several times, > run it and played with it locally quite a bit, and found it extremely > interesting. But I've had a third-hand report that RIPE folks have said > (third hand, but this is the direct quote I got...) "the damn thing just > didn't work". Haven't been able to get more than that. I've benchmarked it, and it is *damn* bloody fast (see ). However, the way it works is to pre-calculate every possible query for the zone in question, and then to pre-generate every possible answer (coalescing as many questions and answers together as it can), and then to index all the answers from all the questions. They throw out all the "normal" authoritative name server tasks that would normally be done that are not strictly required for the kind of operations you would expect to see at a root name server. So, for a moderately large zone, it is incredibly fast, but can return somewhat strange answers (due to the way it optimizes queries and may ignore domain name compression or implement it differently than you would expect), and it certainly doesn't do anything like round-robin, etc.... But for much larger zones (like .nl, and especially the signed "test" version at .nl.nl), you just can't feed it enough memory. Or so I have been told, and by people at least one step closer to that process. Unfortunately, I learned some things about the way it works *after* the presentation I did at LISA 2002, so now my view of the program is not nearly so positive as it was then. Personally, I'd be much more interested to learn how the folks at Nominum managed to get CNS and ANS to be as incredibly fast as they are, and still manage to provide "full service" DNS. Sure beats the crap out of anything else I've ever seen. -- Brad Knowles, "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+ !w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++) tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message