> ## Content Index
> Fetch the complete content index at: https://ostreff.info/llms.txt
> Use this file to discover other available public pages before exploring further.

# dnsdist-yamlify: tool to convert dnsdist Lua configs to YAML
- URL: https://ostreff.info/dnsdist-yamlify-tool-to-convert-lua-configs-to-yaml/
- Published: 2026-12-02T15:13:49.000Z
- Updated: 2026-12-02T16:52:22.000Z
- Description: A tool to convert dnsdist Lua configs to YAML
- Author: Jordan Ostreff
- Tags: dnsdist

- GitHub: [https://github.com/dmachard/dnsdist-yamlify](https://github.com/dmachard/dnsdist-yamlify?ref=ostreff.info)
- Online converter (100% client-side): [https://dmachard.github.io/dnsdist-yamlify/](https://dmachard.github.io/dnsdist-yamlify/?ref=ostreff.info)

How it works:

- Uses a Lua AST parser, backed by metadata extracted directly from PowerDNS's official YAML definitions.
- Supports hybrid output: if a config contains custom Lua helpers or dynamic constructs, it generates both dnsdist.yml and a companion dnsdist.lua, auto-loaded by dnsdist 2.x.
- Preserves comments, and includes a `check` subcommand to report YAML compatibility before converting.

This is an early release, and feedback and bug reports on GitHub are welcome. **Be really careful, it doesn't produce valid configuration in my scenario!**