Hello, On Jan 9, 2012, at 11:43 , Erik Weber wrote:
>> >> I could do that. How difficult would that be? At the moment I wouldn't know >> where to start. > > Take a look at the sample here: > http://doc.powerdns.com/recursor-scripting.html > > You'd have to write some lookup code (to the database) and correctly > build the return packet. > The first thing I'd do is make some code that does the lookup when run > directly, then try to fit that into a PowerDNS-script. > > Some more info at http://wiki.powerdns.com/trac/wiki/Lua Be aware that the recursor only runs one instance of Lua, and that you should not be doing any blocking operations in it. Kind regards, Peter van Dijk _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
