From owner-freebsd-net@freebsd.org Wed Jun 19 06:23:33 2019 Return-Path: Delivered-To: freebsd-net@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 38ABA15D38AC for ; Wed, 19 Jun 2019 06:23:33 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 244DD7716C for ; Wed, 19 Jun 2019 06:23:31 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id C1DEF4E669; Tue, 18 Jun 2019 23:23:30 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-net Subject: Re: localhost woes -- help requested In-Reply-To: <201906190617.x5J6HQmA016708@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26906.1560925410.1@segfault.tristatelogic.com> Date: Tue, 18 Jun 2019 23:23:30 -0700 Message-ID: <26907.1560925410@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 244DD7716C X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-5.78 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tristatelogic.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.77)[ip: (-7.28), ipnet: 69.62.128.0/17(-3.64), asn: 14051(-2.88), country: US(-0.06)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx1.tristatelogic.com]; NEURAL_HAM_SHORT(-0.80)[-0.795,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2019 06:23:33 -0000 In message <201906190617.x5J6HQmA016708@gndrsh.dnsmgr.net>, Rodney W. Grimes" wrote: >> In message <201906181719.x5IHJ8g0014687@gndrsh.dnsmgr.net>, >> "Rodney W. Grimes" wrote: >> >> >What is in /etc/host.conf, /etc/resolv.conf, do you have DNS running? >> >> >> 1) https://pastebin.com/raw/wXTTgd9R >This is /etc/hosts, not /etc/host.conf ># cat /etc/host.conf ># Auto-generated from nsswitch.conf >hosts >dns > >> 2) https://pastebin.com/raw/PiGpN0LU >> >> 3) Yes, local-unbound > >Ok, if you comment out ::1 from /etc/hosts then the lookup is >going to fall through to DNS with the default /etc/host.conf file >and you'll get what ever your dns is configured to return, which >is usually the exact some thing as /etc/hosts has. So basically you're telling me that local-unbound has taken it upon itself to decide for me, regardless of what is or isn't in my /etc/hosts file, what addresses "localhost" should resolve to?? If so, that really is rather presumptive on its part.