Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 12:34:59 -0400
From:      Lowell Gilbert <freebsd-questions-local@Be-Well.Ilk.Org>
To:        User Questions <>
Subject:   Re: Problem with unbound resolving host
Message-ID:  <44lfjmawcs.fsf@Be-Well.Ilk.Org>
In-Reply-To: <> ('s message of "Mon, 13 Jul 2020 10:24:51 -0400")
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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 "" a failure
> message is emitted similar to the following:
> curl
> curl: (6) Could not resolve host:
> The "nameserver" is set to "" when that occurs. If I modify it
> as shown below to "" everything works fine.
> nameserver
> options edns0

I'm sure that is in resolv.conf, but you should mention things like

I'm also assuming that the machine you're trying this on actually has
the address 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 in the set you specify.  However,
unless you have a good reason, don't override it at all.

Be well.

Want to link to this message? Use this URL: <>