Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[#1912] Improve log message for no-parse
  • Loading branch information
msiodelski committed Sep 1, 2025
commit 8d7e6183857a0d6ae8bb9590276846fd978b9b79
3 changes: 1 addition & 2 deletions backend/agent/bind9.go
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,7 @@ func detectBind9App(p supportedProcess, executor storkutil.CommandExecutor, expl
if bind9Config.HasNoParse() {
// If some of the configuration parts are elided, it may cause issues with
// interactions of the Stork agent with BIND 9. The user should be warned.
log.Warn("BIND 9 config file contains @stork:no-parse directives.")
log.Warn("Skipping parsing selected config parts improves performance but may cause issues with interactions of the Stork agent with BIND 9.")
log.Warn("BIND 9 config file contains @stork:no-parse directives. Skipping parsing selected config parts improves performance but may cause issues with interactions of the Stork agent with BIND 9.")
log.Warn("Make sure that you understand the implications of eliding selected config parts, e.g., allow-transfer statements in zones.")
}

Expand Down
1 change: 1 addition & 0 deletions docker/config/agent-bind9/named.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ view "guest" {
};
};

//@stork:no-parse:global
logging {
channel transfers {
file "/var/log/bind/transfers" versions 3 size 10M;
Expand Down