localhost woes -- help requested

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Wed Jun 19 06:17:31 UTC 2019


> In message <201906181719.x5IHJ8g0014687 at gndrsh.dnsmgr.net>, 
> "Rodney W. Grimes" <freebsd-rwg at 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 at freebsd.org


More information about the freebsd-net mailing list