[Pdns-users] Scritping

Dan Campbell pdns at w3eta.net
Thu Oct 22 03:39:48 UTC 2015


I use the pipe backend for that, more or less. I wouldn't say I manipulate the answers, but I decide which answer to return -- in my case based on where the question came from, but the decision could be based on anything. And you can write a pipe backend in any language you want.

--
Dan Campbell

> On Oct 21, 2015, at 4:11 AM, Kai Bojens <kb at kbojens.de> wrote:
> 
> Hello everyboy!
> I'd like to manipulate the answers based on the status of a specific server
> and would like to use pdns's scritping ability to do this. Up to this point
> I have only found the ability to use lua for the recursor:
> 
> -> https://doc.powerdns.com/md/recursor/scripting/
> 
> I am curious as where I can find more information about „DNS answers can also
> be fully scripted using a variety of (scripting) languages such as Lua, Java,
> Perl, Python, Ruby, C and C++. Such scripting can be used for dynamic redirection,
> (spam) filtering or real time intervention.” (https://www.powerdns.com/auth.html)
> 
> Is there anything I might not have found?
> 
> Thanks in advance,
> Kai
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list