[Pdns-users] nested LUA records

Fatih Kasar networkprofession at gmail.com
Wed Sep 23 16:25:59 UTC 2020

Hi all,

I am trying to do nested LUA record
What I am trying to do is

1) User from AU first first check authoritative dns server ( if
it's up resolve from (
2) if not up try to resolve
3) if not up try try

I tried following syntax but I am getting error messages my syntax is not
acceptable by pdns-util.   Is there anyone can help me right syntax

www.example.com   30    IN    LUA    A ( ";if(country('AU')) then return
ifportup(53, {''})"
                                              "else return ifportup(53,
                                               "else return ifportup(53,
{''})" end" )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200924/5b6fa77c/attachment.htm>

More information about the Pdns-users mailing list