Hi,
Is it possible to forward query to another server in LUA ?

here is an example :

function postresolve(dq)
    m = newDS()
    m:add({'toto.fr'})

    if ( (m:check(dq.qname))) and (dq.rcode == pdns.NXDOMAIN) )) then
       print("forward to my other dns server")
    end
    return true;
end
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to