[Pdns-users] Lua Scripting
Peter van Dijk
peter.van.dijk at netherlabs.nl
Fri Dec 12 14:34:05 UTC 2014
Hello Jason,
On 09 Dec 2014, at 18:45 , Jason Frisvold <xenophage at godshell.com> wrote:
> I'm in the midst of transitioning from a BIND-based DNS system to a
> PowerDNS one. For a myriad of reasons, I need to mimic the views
> functionality that BIND has within PowerDNS. It *appears* that I can do
> this via Lua scripting.
>
>> From what I'm seeing, the authoritative server only allows for a
> prequery script. At least, that's the only config option I see. I
> think what I want, though, is to pass the query result through a
> postquery script instead. Is that possible, or do I need to stand up a
> recursor in front of the authoritative server?
If your clients are end hosts (i.e. machines with the equivalent of resolv.conf), they should always be talking to a recursor. If your ‘view’ needs are simple (just a few overridden IPs here and there), using pre- or postresolve in the PowerDNS Recursor would suit your needs fine.
Kind regards,
--
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
More information about the Pdns-users
mailing list