Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 19:46:00 -0400
From:      Jerry <jerry@seibercom.net>
To:        "User Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Problem with unbound resolving host
Message-ID:  <20200714194600.0fb4ed86@scorpio.seibercom.net>
In-Reply-To: <44lfjmawcs.fsf@Be-Well.Ilk.Org>
References:  <20200713102451.017682d2@scorpio.seibercom.net> <44lfjmawcs.fsf@Be-Well.Ilk.Org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--Sig_/3qlq0/RixkbCwKZhivVm6Mw
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 14 Jul 2020 12:34:59 -0400, Lowell Gilbert stated:
>> FreeBSD 11.4-RELEASE-p1
>>
>> I have: local_unbound_enable=3D"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 =20
>
>I'm sure that is in resolv.conf, but you should mention things like
>that.
>
>I'm also assuming that the machine you're trying this on actually has
>the address 192.168.1.1. Otherwise, um, yes, that's what should happen.
>
>Check if you're specifying "interface:" in your unbound.conf file. If
>you do, you want to include 127.0.0.1 in the set you specify.  However,
>unless you have a good reason, don't override it at all.
>
>Be well.

The router's address is "192.168.1.1". The machine's address is
"192.168.1.101". After every reboot, the address in the resolv.conf
file is reset to 127.0.0.1, which usually works, but not always.

This problem only started after updating from FreeBSD 11.4-RELEASE-p0
to "p1". I have no idea what that could have done though.

--=20
Jerry



--Sig_/3qlq0/RixkbCwKZhivVm6Mw
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl8OQ7kACgkQOHMGOIfe
xWQWOAgAlZggq/on5YTpqge6G2JFi9BqTTRpBXiNIiGjivQXOnuQz5ObrusTijX7
S5y4cBYDLlVJXV6uL3oC3km+fRfCMnldNs4oD6OaoHs4LN9dgilePi3EkPNaWAuh
+ZWTqcZ7zbnGVLnPRSV/uwcr8u2R3OzmOMk40lhWkKtsMBOb1ug7i/jg7A9qb60i
16paZys0tVGP9kSNbauuP7DOxwxjmeMulFtoJPWoPqMiYUpzbfkQ01xa65jQC0eb
awQulWY5aMVJTPHkKbXwDyUWSZoiMdebFKetV4dsXKsv6nfx860uFHoRhBHKpcLO
yEHAcA8RhVuawFPTyn2C68ftu86rag==
=QNhL
-----END PGP SIGNATURE-----

--Sig_/3qlq0/RixkbCwKZhivVm6Mw--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200714194600.0fb4ed86>