Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2019 23:17:26 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: localhost woes -- help requested
Message-ID:  <201906190617.x5J6HQmA016708@gndrsh.dnsmgr.net>
In-Reply-To: <24271.1560892386@segfault.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <201906181719.x5IHJ8g0014687@gndrsh.dnsmgr.net>, 
> "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> 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.

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906190617.x5J6HQmA016708>