[Pdns-users] Lua scriping

Stefan Schmidt zaphodb at zaphods.net
Tue Dec 11 23:15:19 UTC 2012


On Tue, Dec 11, 2012 at 11:39 PM, exchanger mailer <exchanger7 at gmail.com>wrote:

> Preresolve() is supported, is it possible to call preresolve for some
> requests and then let the recursor to resolve normaly the requests i dont
> want to overwrite?


Yes that is possible. All incoming queries will get passed to the
preresolve hook and if it does not return anything the request will be
resolved normally.

See http://wiki.powerdns.com/trac/wiki/Lua for some examples.

kind regards,

 Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20121212/ae43994b/attachment-0001.html>


More information about the Pdns-users mailing list