[Pdns-users] LUA Question

Kenneth Marshall ktm at rice.edu
Sat Apr 23 13:54:45 UTC 2011


On Sat, Apr 23, 2011 at 12:11:10PM +0100, John Macleod wrote:
> Does anyone have any LUA examples for the PDNS-Recursor to provide
> functionality similar to views in BIND?  I need to control the A record
> for a set of zones based on the query source IP address.
> 
> 
> Thanks in advance!
> 
> John
> 

You may want to take a look at the example script that comes with
the source code -- powerdns-example-script.lua. It has sections that
illustrate what you would need to do in your script.

Cheers,
Ken



More information about the Pdns-users mailing list