Re: [Pdns-users] LUA script for primary server

2022-06-09 Thread Djerk Geurts via Pdns-users
> -- nxdomain runs after no result is found. > function nxdomain(dq) > dquery = newDN(dq.qname:toString()) > pdnslog("nxdomain called for: "..dquery:toString()) > if dq.qtype == pdns.NAPTR then > pdnslog("Search parent wildcard record") > if dquery:countLabels() == 12 then > dqu

Re: [Pdns-users] LUA script for primary server

2022-06-09 Thread Djerk Geurts via Pdns-users
> What I still need to test is if this script actually works and what will > happen if the followupFunction also returns NXDOMAIN, if it hit the Lua > script again then nothing else is needed, else I’ll need to add more logic to > keep going with a chopOff() until the zone’s ‘root' wildcard reco