From owner-freebsd-current@FreeBSD.ORG Fri Dec 14 10:57:38 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D397E16A41A for ; Fri, 14 Dec 2007 10:57:38 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 9B35413C455 for ; Fri, 14 Dec 2007 10:57:38 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 2A27E17105; Fri, 14 Dec 2007 10:57:37 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.2/8.14.2) with ESMTP id lBEAvcRZ072390; Fri, 14 Dec 2007 10:57:38 GMT (envelope-from phk@critter.freebsd.dk) To: Eygene Ryabinkin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 14 Dec 2007 13:14:40 +0300." Date: Fri, 14 Dec 2007 10:57:38 +0000 Message-ID: <72389.1197629858@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Automated generation of /etc/resolv.conf from the rc.d script X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 10:57:38 -0000 In message , Eygene Ryabinkin writes: >> It's worse than that. >> >> It should be possible to run a local named even when we run DHCP, >> and it shuld be an option, to have it automatically forward to the >> DNS servers we learn from DHCP. > >This can be achieved with the script /etc/dhclient-exit-hooks that >will create the file with named 'forwarders' clause [...] Yes, I know that, but I would like to see it controllable from rc.conf like the rest of our network configuration. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.