From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 18:10:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C323B16A417 for ; Wed, 29 Aug 2007 18:10:22 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id ABF5413C428 for ; Wed, 29 Aug 2007 18:10:22 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 8EAFCFC0E03; Wed, 29 Aug 2007 11:10:22 -0700 (PDT) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 71C5128306; Wed, 29 Aug 2007 11:10:22 -0700 (PDT) X-AuditID: 11807135-a8f21bb000000d23-f4-46d5b68e3fac Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay12.apple.com (Symantec Mail Security) with ESMTP id 55DD9282FA; Wed, 29 Aug 2007 11:10:22 -0700 (PDT) In-Reply-To: <20070829195414.Q15684@wojtek.tensor.gdynia.pl> References: <20070829195414.Q15684@wojtek.tensor.gdynia.pl> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4B8BD203-102F-43B2-A343-87E27A74258B@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 29 Aug 2007 11:10:21 -0700 To: Wojciech Puchar X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: somehow OT: SMALL named and dhcpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 18:10:22 -0000 On Aug 29, 2007, at 10:56 AM, Wojciech Puchar wrote: > anyone here know a SMALL named and dhcpd servers? > > small i mean no more than say 200kB both (just binaries). the > dumbest dhcpd would be enough (automatic assignment to all machines > on given interfaces), named just to keep single domain and forward > everything else to master. tinydns+dnscache from D. Bernstein's stuff from /usr/ports/dns/djbdns would probably fit. A DHCP server is significantly more complicated, as it has to keep a database of leases granted and deal with a varient of client options (even if it can't answer all of them them, it still needs to be able to respond to the rest of the DHCP request). I think you can remove most of the options from the ISC DHCP server and get it down to around 400KB. I'm not aware of anything smaller.... -- -Chuck