From owner-freebsd-stable@freebsd.org Tue Aug 7 01:56:24 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9793106D617 for ; Tue, 7 Aug 2018 01:56:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 905267524E for ; Tue, 7 Aug 2018 01:56:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: by mailman.ysv.freebsd.org (Postfix) id 53D7E106D612; Tue, 7 Aug 2018 01:56:23 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42AD3106D611 for ; Tue, 7 Aug 2018 01:56:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 79EC37524D for ; Tue, 7 Aug 2018 01:56:21 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-84-156.bras1.adl6.internode.on.net (HELO leader.local) ([121.45.84.156]) by ipmail07.adl2.internode.on.net with ESMTP; 07 Aug 2018 11:21:09 +0930 Subject: Re: How do I stop using local_unbound ? To: "stable@freebsd.org" References: <20180806145717.GE30738@phouka1.phouka.net> From: Shane Ambler Message-ID: Date: Tue, 7 Aug 2018 11:21:07 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 01:56:24 -0000 On 07/08/2018 05:01, Kevin Oberman wrote: > On Mon, Aug 6, 2018 at 7:57 AM, John Kennedy wrote: > >> On Mon, Aug 06, 2018 at 03:06:00PM +0100, Pete French wrote: >>> having enabled local_unbound in /etc/rc.d how do I remove that >>> and go back to using just DHCP delivered nameservers ? I >>> set it to 'NO' but yet the machine still seems to have traces of >>> the config in other places and keeps trying to use them, for reasons I >>> dont understand. >>> >>> Is there a quyick guide to clearing this off a system when you dont want >> to use >>> it anymore ? I get that it needs to be slightly complex to do what it >> does, >>> but its proving very hard to fix the broken DNS looksup! >> >> Hmm. First, make sure that it isn't running (service local_unbound stop, >> etc). >> Then look at your /etc/resolv.conf -- unbound tends to rewrite that on >> initial >> startup, taking some of it's settings and inserting itself into the middle >> as a >> caching DNS server. At the very least, you want something like this: >> >> nameserver 8.8.8.8 >> >> I think the default DHCP client stomps all over /etc/resolv.conf fairly >> well, >> but see what options are in there (for example, options for >> domain-name-servers >> and domain-name). The stock /etc/dhclient.conf is all comments. >> >> I have issues with the DNS results my ISP returns to me, but setting up a >> cache >> or using sites like 8.8.8.8 (google public DNS, if you don't mind feeding >> the >> beast) fixes that. >> > > If you don't want to feed the beast, maybe 9.9.9.9 (Quad9). You can read > about it at: > https://arstechnica.com/information-technology/2017/11/new-quad9-dns-service-blocks-malicious-domains-for-everyone/ There is also 1.1.1.1 and 1.0.0.1 from cloudflare - claims to be fastest https://1.1.1.1 -- FreeBSD - the place to B...Software Developing Shane Ambler