From owner-freebsd-current@FreeBSD.ORG Fri Dec 14 09:55:30 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 DC30F16A418 for ; Fri, 14 Dec 2007 09:55:30 +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 A511313C4F4 for ; Fri, 14 Dec 2007 09:55:30 +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 0B51017105; Fri, 14 Dec 2007 09:55:28 +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 lBE9tTWk072124; Fri, 14 Dec 2007 09:55:30 GMT (envelope-from phk@critter.freebsd.dk) To: Eygene Ryabinkin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 14 Dec 2007 12:47:51 +0300." <7ExUpek150AdEdP4WR1b6w@lz+EvuNSgXKgs9kqjMxQNA> Date: Fri, 14 Dec 2007 09:55:29 +0000 Message-ID: <72123.1197626129@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 09:55:30 -0000 In message <7ExUpek150AdEdP4WR1b6w@lz+EvuNSgXKgs9kqjMxQNA>, Eygene Ryabinkin writes: >But there is one bit that >I am missing with the current /etc/rc.d scripts: automated construction >of /etc/resolv.conf basing on the variables from /etc/rc.conf. 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. -- 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.