On Mon, Aug 27, 2012 at 08:10:36AM +0300, Aki Tuomi wrote: > On Sun, Aug 26, 2012 at 07:53:20PM +0100, John Leach wrote: > > Hi Aki, > > > > On 26/08/12 18:49, Aki Tuomi wrote: > > > I have made a new backend for powerdns, remote backend. It allows you to > > > use > > > json over unix/pipe backend, and also supports HTTP GET requests over > > > TCP. > > > > > > Please see details at https://github.com/cmouse/pdns-remotebackend > > > > > > Any feedback is very welcome, via email, github, irc, whatnot. For > > > ircers, you > > > can find me on powerdns channel as 'cmouse' > > > > I had a few thoughts about a previous HTTP backend here: > > > > http://mailman.powerdns.com/pipermail/pdns-dev/2012-February/001085.html > > > > you're doing something a bit different than them, but much of what I > > said is still relevant imo. A better designed HTTP api would allow for > > caching, and a few other nice things. > > > > John. > > > > Thanks! These are indeed very valid points, and I'll see if they can be > somehow > taken in. > > Aki
Thank you again for the initial feedback. I have now changed the HTTP connector to produce following kind of urls: GET /dns/lookup/example.com/SOA GET /dns/getDomainMetadata/example.com/PRESIGNED GET /dns/getDomainKeys/example.com/0 And f.ex. lookup contains additional headers: X-RemoteBackend-local: 0.0.0.0 X-RemoteBackend-real-remote: 127.0.0.1/32 X-RemoteBackend-remote: 127.0.0.1 I have also done some light testing for the other backends, and they seem to work for simple stuff. Aki Tuomi
signature.asc
Description: Digital signature
_______________________________________________ Pdns-dev mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-dev
