DNS based adblock on VyOS - how to add custom PDNS scripts?

Small fix: don’t store the script in /run/powerdns/ which is cleared on reboot, but in /config/scripts/ instead: vyos@vyos:~$ cat /config/scripts/pdns-adblock-script.lua adservers=newDS() -- permitted=newDS() function preresolve(dq) -- if permitted:check(dq.qname) or (not adservers:check(dq.qn…