Comment on Luadns, managed DNS with Git and Lua scriptable back-end.Comments−relix14yThe Lua-code doesn't appear to be executed once for each lookup - as I first imagined how it would work. So sadly, one cannot point different region users to the closest server IP.−vitalie14yHello,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.−reginaldo14yDo wildcard records work?−vitalie14yYes, we have support for wildcard records. Example:https://github.com/luadns/zones/blob/master/example.net.lua
Comments
The Lua-code doesn't appear to be executed once for each lookup - as I first imagined how it would work. So sadly, one cannot point different region users to the closest server IP.
Hello,
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.
Do wildcard records work?
Yes, we have support for wildcard records. Example:
https://github.com/luadns/zones/blob/master/example.net.lua