From owner-freebsd-arch@freebsd.org Thu Oct 8 21:45:48 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28CDA9D29C1 for ; Thu, 8 Oct 2015 21:45:48 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [199.48.133.146]) by mx1.freebsd.org (Postfix) with ESMTP id 123826D8; Thu, 8 Oct 2015 21:45:47 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from marvin.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id CBA21564B3; Thu, 8 Oct 2015 16:45:46 -0500 (CDT) Subject: Re: RFC: Automatically Reloading /etc/resolv.conf To: Hajimu UMEMOTO References: <5615886F.3060601@FreeBSD.org> Cc: freebsd-arch@freebsd.org From: Eric van Gyzen X-Enigmail-Draft-Status: N1110 Message-ID: <5616E40A.2060400@FreeBSD.org> Date: Thu, 8 Oct 2015 16:45:46 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 21:45:48 -0000 On 10/08/2015 11:30, Hajimu UMEMOTO wrote: > vangyzen> I would like to change the libc resolver to automatically reload > vangyzen> /etc/resolv.conf when the latter changes. I would like to hear opinions > vangyzen> about the implementation. > > When I proposed it in the past, it ended up with dns/nss_resinit port. > Please take a look at it for reference. Nice. That's exactly what I want to do in libc. Doing it in nss is a clever way to avoid changing libc. Thanks for the pointer. Eric