A dnscontrol wrapper that generates the dnsconfig.js
file given a Lua source.
The Lua part mirrors the original JS DSL APIs, only offering a slightly more bearable Lua syntax.
Just run dnscontrol
commands as usual, replacing the binary name with dnscontrol-luaize
, using dnsconfig.lua
as your entrypoint. All this does is re-export your dnsconfig.lua
to dnsconfig.js
and pass all arguments back to dnscontrol
. For example:
dnscontrol-luaize preview
dnscontrol-luaize push