I'm Vitalie Cherpec, the founder of the Luadns project. :)
@relix It's a design choice, Lua code is used only to generate records. Executing user code on each lookup it's just too dangerous.
We wanted fast lookups and security. User code is executed in a restricted Lua environment in background.
If we'll have enough requests we'll add special functions to handle geo-aware DNS load balancing.
https://github.com/luadns/zones/blob/master/example.net.lua
I'm Vitalie Cherpec, the founder of the Luadns project. :)
@relix It's a design choice, Lua code is used only to generate records. Executing user code on each lookup it's just too dangerous.
We wanted fast lookups and security. User code is executed in a restricted Lua environment in background.
If we'll have enough requests we'll add special functions to handle geo-aware DNS load balancing.