From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 15:24:41 2008 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 E7C3F1065672; Mon, 28 Apr 2008 15:24:41 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from dire.wubethiopia.com (j071.v.rootbsd.net [208.79.82.223]) by mx1.freebsd.org (Postfix) with ESMTP id C5EB68FC12; Mon, 28 Apr 2008 15:24:41 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from rogue.mike.lan (unknown [213.55.66.110]) by dire.wubethiopia.com (Postfix) with ESMTPSA id C3DBF4FD94E9; Mon, 28 Apr 2008 15:09:17 +0000 (UTC) Message-ID: <4815E9AA.0@wubethiopia.com> Date: Mon, 28 Apr 2008 18:13:46 +0300 From: Mike Makonnen User-Agent: Thunderbird 2.0.0.12 (X11/20080323) MIME-Version: 1.0 To: Poul-Henning Kamp References: <920.1208964540@critter.freebsd.dk> In-Reply-To: <920.1208964540@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Zaphod Beeblebrox , Brooks Davis , freebsd-current@freebsd.org Subject: Re: 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: Mon, 28 Apr 2008 15:24:42 -0000 Poul-Henning Kamp wrote: > In message <+rkPaEJgDwWM+WmNdLneOfPN6Ps@sTlCVUsSEVReKIVdz1gJKNXWeKE>, Eygene Ry > abinkin writes: > >>> I think this is a much needed facility. Some ISP's block DNS queries >>> from private customers to force them to use the ISP's DNS and >>> not having this forces a cumbersome manual configuration. >> Hmm, my patch does not change anything in the respect to the ISP's >> DNS servers: resolv.conf or BIND will use the nameservers given by >> DHCP or manually configured via /etc/rc.conf. > > That's the point: You get the DNS server IPs from your ISP using > DHCP :-) > Eygene, Have you looked at openresolv (http://roy.marples.name/openresolv)? I installed it on my laptop a while back and I'm pretty happy with it, but haven't been able to take it any further wrt FreeBSD (ENOTIME). I think it solves all your problems and one that I haven't seen addressed yet: domain specific dns servers. For example, it's very useful for when I have a wired interface connecting to my local network with its own name servers and and a wireless interface connected to the internet. As things stand now when I get my dhcp lease from the wireless AP it overwrites my wired interface's name server settings. However, with openresolv both can coexist together. Plus it's BSD licensed. Cheers. Mike.