lazydns

Debug Print Plugin

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.

What it does

Quick (exec) setup

debug_print supports a compact exec-style quick setup string. Options are comma-separated and include:

Examples:

plugins:
  - exec: debug_print:
plugins:
  - exec: debug_print:queries
plugins:
  - exec: debug_print:responses,prefix=TEST

Logging level

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).

When to use