Ah perfect, there goes my Sunday :) Thank You Aki AJ
On 1 February 2015 at 08:14, Aki Tuomi <cmo...@youzen.ext.b2.fi> wrote: > On Sun, Feb 01, 2015 at 02:41:07AM +0000, AJ McKee wrote: > > Being the weekend, I decided to write a HTTP backend for pdns as a fun > > thing to do. > > > > One thing springs to mind however are the packet and query cache. In > > particular, how they cache. > > > > Do they use the remote clients ip as part of the caching key, thus only > > serving from the cache if the client is repeatedly asking? AFAIK this is > > not the case. > > > > > > If I added simple bind style views to my backend, would this be > pointless? > > > > My thinking here, if a request came from netblock A and it was cached, > > followed by a request from netblock C, C would get the cached answer > > instead of querying the backend for its corrected view. > > > > Is there a way that the remote backend can influence the cache in the > > response it sends back? > > > > I am aware of all the other backend, this is just my fun-time thing to > play > > with the new features. > > > > Thanks in advance > > > > -- > > AJ McKee > > phone: +353 83 1130 545 > > profile: http://linkedin.com/in/ajmkee > > jid: aj.mc...@druid-dns.com > > blog: http://aj.mc-kee.com/ > > twitter: @ajmckee > > You can set scopeBits to size of netblock. Should do what you > want. > > Aki > -- AJ McKee phone: +353 83 1130 545 profile: http://linkedin.com/in/ajmkee jid: aj.mc...@druid-dns.com blog: http://aj.mc-kee.com/ twitter: @ajmckee
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users