[Pdns-users] failover LUA record
Adrian M
adrian.minta at gmail.com
Tue Sep 20 12:25:25 UTC 2022
Hi,
I'm attempting to implement a simple fail-over mechanism between two web
servers but I'm not able to find the right syntax.
www LUA A (";if ifportup(443, {'192.168.0.10'}) then "
" return '192.168.0.10'
"
"else
"
" return '10.0.0.10'
"
"end
")
Any suggestions are welcome !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220920/7ced762b/attachment.htm>
More information about the Pdns-users
mailing list