debug_print is an exec-style helper plugin that logs DNS query and/or response details to the application log. It is useful for debugging plugin pipelines, verifying question/answer flow, and tracing how plugins transform responses.
prefix option to clearly identify log lines from different instances.debug_print supports a compact exec-style quick setup string. Options are comma-separated and include:
queries — print queriesresponses — print responsesprefix=VALUE — override the log prefix (default: DNS)Examples:
plugins:
- exec: debug_print:
plugins:
- exec: debug_print:queries
plugins:
- exec: debug_print:responses,prefix=TEST
debug_print uses info! for summary lines and debug! for per-answer details. To see detailed answers enable the debug log level for the process (for example via RUST_LOG=debug).