dnscontrol icon indicating copy to clipboard operation
dnscontrol copied to clipboard

Add LUA Record support

Open larsl-net opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. I am working on the migration of my PowerDNS managed zones to dnscontrol. Currently, I run in the problem that the LUA Records which I use result in an error, because they are not supported.

dnscontrol preview --domains example.com      
******************** Domain: example.com
ERROR
Error getting corrections (powerdns): unknown rtype (LUA) when parsing (A "ifportup(443, {'1.1.1.1', '1.2.3.4'},{selector='all'})") domain=(example.com)
Done. 0 corrections.
completed with errors

Describe the solution you'd like Add support for LUA records

Describe alternatives you've considered A way to ignore records with an unsupported record type.

Additional context Official docs from PowerDNS https://doc.powerdns.com/authoritative/lua-records/

larsl-net avatar Aug 15 '24 08:08 larsl-net

CC @jpbede

tlimoncelli avatar Aug 15 '24 15:08 tlimoncelli

I open a PR implementing the LUA record type for PoweDNS. https://github.com/StackExchange/dnscontrol/pull/3815

eratzlaff avatar Oct 30 '25 18:10 eratzlaff