[Pdns-users] Lua RequestorIP and Forward Zone?

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Jun 25 06:55:35 UTC 2012


Hello John,

On Jun 24, 2012, at 9:20 , John Kimble wrote:

> The script does not work now because I'm getting Vanilla's IP address
> instead of client's IP address. Is there any workaround? The reason
> for forward is to reduce the performance impact of calling a Lua
> script for every resolving query.

I can't think of an easy workaround right now. An interesting approach would be to implement edns-subnet signaling in the recursor (both as client and server).

More importantly - have you measured the Lua overhead for your use case? How big is it?

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/




More information about the Pdns-users mailing list