From owner-freebsd-questions@FreeBSD.ORG Thu Jan 11 06:56:21 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F26916A415 for ; Thu, 11 Jan 2007 06:56:21 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 2743C13C467 for ; Thu, 11 Jan 2007 06:56:20 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so328942uge for ; Wed, 10 Jan 2007 22:56:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=deKjz3UcOGkdIf5fCuD7s/6oHfvqw8YukLAI2olcywr4T1XiS6GPHA8agTdH0Tu5pFuXLoWbY8i1WDs2Fe+jh/3+qMCBY9orq2GoEx6uUbbmqbPDxPCxL4b1cGsyxnlbr6gToAcMG3BfsUeRhuEvuNxKGYLnK3z2ZF0RVnRmRok= Received: by 10.78.97.7 with SMTP id u7mr349622hub.1168498579791; Wed, 10 Jan 2007 22:56:19 -0800 (PST) Received: by 10.78.132.3 with HTTP; Wed, 10 Jan 2007 22:56:19 -0800 (PST) Message-ID: <6f4f57f60701102256o36adba6ap9617c787ed3242c6@mail.gmail.com> Date: Thu, 11 Jan 2007 08:56:19 +0200 From: "George Vanev" To: questions@freebsd.org In-Reply-To: <44y7oay77l.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <6f4f57f60701090556v35b55b2cn9bbcd363c588b002@mail.gmail.com> <45A3AD0A.1090600@vidican.com> <6f4f57f60701092249p65cc4a2bn40af47d6096f5918@mail.gmail.com> <44y7oay77l.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Automatically get nameservers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George.Vanev@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 06:56:21 -0000 I set up my own caching nameserver. I used djbdns (dnscache). Some guys like it some not. Any opinion which is best (or at least very good) to use for caching dns On 1/10/07, Lowell Gilbert wrote: > > "George Vanev" writes: > > > I installed isc-dhcpd and it is working fine. > > But I don't want to hardcode the nameservers in the dhcpd.conf, > > because my ISP is changing them sometimes. > > It would be perfect if there is a way dhcpd to read the nameservers > > from /etc/resolv.conf > > Not exactly, but you can have the dhclient rewrite the dhcpd.conf when > it gets new nameservers. I used to do this; I ran it from > dhclient-exit-hooks, and it was a simple sed(1) command. For a long > time, I've been running my own local caching nameserver, and directing > the DHCP clients to that, but I could dig out my old script if you > have trouble with it. Although I would suggest you also consider > setting up your own local caching nameserver; the caching behaviour > can be a noticeable speed boost. > -- George Vanev Information Systems Specialist tel.: +359 898 44 25 37