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 (1.1.1.1) if it's up resolve from (1.1.1.1) 2) if 1.1.1.1 not up try to resolve 2.2.2.2 3) if 2.2.2.2 not up try try 3.3.3.3 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, {'1.1.1.1'})" "else return ifportup(53, {'2.2.2.2'})" "else return ifportup(53, {'3.3.3.3'})" end" )
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users