Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2020 12:42:07 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        RW <rwmaillists@googlemail.com>, freebsd-questions@freebsd.org
Subject:   Re: Unbound
Message-ID:  <e9f7178d-1556-b2a0-a860-9a0529f9e04b@qeng-ho.org>
In-Reply-To: <20201130223849.237eb9fe@gumby.homeunix.com>
References:  <20201130222149.d7b8783764a036548c29fdd5@web.de> <20201130223849.237eb9fe@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30/11/2020 22:38, RW via freebsd-questions wrote:
> On Mon, 30 Nov 2020 22:21:49 +0100
> siefke_listen@web.de wrote:
> 
>> I try to run local unbound. 
> ...
>> I use root.hints, no need forwarding and not need remote control. 
>>
>> After restart I become: 
>>
>> Starting local_unbound.
>> Waiting for nameserver to start...[1606771048]
>> unbound-control[45916:0] warning: control-enable is 'no' in the
>> config file. [1606771048] unbound-control[45916:0] error: connect:
>> ...
>> Connection refused for 127.0.0.1 port 8953 giving up
> 
>> Is there a way to use it without control? 
> 
> Does local_unbound work though? 
> 
> Its rc.d script polls up to 5 times using unbound-control to check it's
> ready to accept queries. Those errors look cosmetic aside from causing a
> few seconds extra delay at start-up.
> 
> I'd be interested to know whether it does work because someone once
> mentioned that local_unbound only supports forwarding, but I've never
> found anything to back that up.

>From memory, if you've not set anything up the first time local_unbound
runs it reads your /etc/resolv.conf to gather your resolvers and creates
an unbound.conf that uses them for forwarding for all domains. If you've
set things up yourself it just runs with that, but take a look at
/etc/rc.d/local_unbound to find out which file(s) it needs to see in
order to avoid the default configuration process.

-- 
The number of people predicting the demise of Moore's Law doubles
every 18 months.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e9f7178d-1556-b2a0-a860-9a0529f9e04b>