Problem with unbound resolving host

Jerry jerry at seibercom.net
Mon Jul 13 14:32:49 UTC 2020


FreeBSD 11.4-RELEASE-p1

I have: local_unbound_enable="YES" in my /etc/rc.conf file. The problem
is with some utility programs like "curl" or "wget"

When using either program to assess "https://www.spamhaus.org" a failure
message is emitted similar to the following:

curl https://www.spamhaus.org
curl: (6) Could not resolve host: www.spamhaus.org

The "nameserver" is set to "127.0.0.1" when that occurs. If I modify it
as shown below to "192.168.1.1" everything works fine.

nameserver 192.168.1.1
options edns0

I can find not entries in the firewall to indicate what is happening. I
even shut down the firewall to see if it had any effect. It didn't.

Has anyone ever see this before? I have tried rebooting, etcetera; all
without satisfactory results. What is even more frustrating is that it
appears to only effect a few URLs.

-- 
Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200713/a8091b2d/attachment.sig>


More information about the freebsd-questions mailing list