<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">They only differences between some of those backends seems to be the type of language, or type of communications protocol that they support.<div><br></div><div>Is that correct? It seems that if so, ultimately it doesn't matter which one to use, it's just a matter of which language I prefer?</div><div><br><div><br><div><div><div>On Aug 23, 2014, at 16:20, Guilherme <<a href="mailto:guilherme.e@gmail.com">guilherme.e@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">Hello!</p><p dir="ltr">Another option that you could use is the lua backend.</p><p dir="ltr"><a href="http://doc.powerdns.com/html/luabackend.html">http://doc.powerdns.com/html/luabackend.html</a></p><p dir="ltr">I'm doing something similar using lua backend + redis.</p>
<div class="gmail_quote">On Aug 23, 2014 4:14 PM, "Johannes Ernst" <<a href="mailto:johannes.ernst@gmail.com">johannes.ernst@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, Aki! That might indeed work.<br>
<br>
I would have to turn off caching for this to work, right? In which case every single query would invoke my backend, is that correct?<br>
<br>
On Aug 22, 2014, at 22:59, Aki Tuomi <<a href="mailto:cmouse@youzen.ext.b2.fi">cmouse@youzen.ext.b2.fi</a>> wrote:<br>
<br>
> On Fri, Aug 22, 2014 at 10:08:45PM -0700, Johannes Ernst wrote:<br>
>> I'd like to do this:<br>
>> 1. If a client queries from a particular subnet, an A record query for <a href="http://foo.example.com/" target="_blank">foo.example.com</a> returns something (say 1.1.1.1)<br>
>> 2. If a client queries from somewhere else, an A record query for <a href="http://foo.example.com/" target="_blank">foo.example.com</a> returns something else (say 2.2.2.2)<br>
>><br>
>> It's sort of like the geo backend, but not quite, because no actual geography is involved. Can this be done? And if so, how?<br>
>><br>
><br>
> Hi!<br>
><br>
> You can use pipe or remotebackend to achieve this for normal lookups. If you<br>
> are interested, you can try out pdns-remotebackend gem or pdns-remotebackend<br>
> python package, which support pipe backend as well.<br>
><br>
> ---<br>
> Aki Tuomi<br>
<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>
_______________________________________________<br>Pdns-users mailing list<br><a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>http://mailman.powerdns.com/mailman/listinfo/pdns-users<br></blockquote></div><br></div></div></div></body></html>