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

Mik J mikydevel at yahoo.fr
Tue Aug 2 18:49:29 UTC 2022


 Thank you Slawek for your answer and for taking account this issue.

    Le mardi 2 août 2022 à 12:20:32 UTC+2, Slawek Figiel <slawek at isc.org> a écrit :  
 
  
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 
    
  -- 
Stork-users mailing list
Stork-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/stork-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20220802/0dc77223/attachment.htm>


More information about the Stork-users mailing list