[stork-users] Stork Agent: Specify location for named.conf

Slawek Figiel slawek at isc.org
Tue Aug 2 10:20:20 UTC 2022


Hello Mik

The Stork Agent has a fixed list of potential configuration paths. It 
isn't possible to specify a custom one.
I opened #831 to resolve your issue. As a workaround, I recommend you 
create a link.

Best regards
Slawek

On 01/08/2022 21:01, Mik J wrote:
> OS: Openbsd 7.1
> Version: 1.5.0
>
> Hello everyone,
>
> When I start the stork agent
> # ./backend/cmd/stork-agent/stork-agent --listen-stork-only
>
> It complains about not finding named.conf
> WARN[2022-08-01 20:39:58]            bind9.go:376   cannot find config 
> file for BIND 9
> I looked at other messages posted about stork and saw that I was 
> trying to find this file at /etc/bind/named.conf
> So I created an empty file and I have the confirmation now
> WARN[2022-08-01 20:53:51]            bind9.go:406   found BIND 9 
> config file (/etc/bind/named.conf) but cannot parse controls clause
>
>
> i) How can I tell stork agent where to find named.conf ? On Openbsd 
> it's in /var/named/etc/named.conf
> ii) What do you think about modifying the source code so that when the 
> file is not found we have a hint where it was searching
> Instead of
> WARN[2022-08-01 20:39:58]            bind9.go:376   cannot find config 
> file for BIND 9
> Should be
> WARN[2022-08-01 20:39:58]            bind9.go:376   cannot find 
> /etc/bind/named.conf for BIND 9
>
> Regards
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20220802/953cf84b/attachment-0001.htm>


More information about the Stork-users mailing list