[Pdns-users] Remote Backend and Query / Packet Cache

AJ McKee aj.mckee at druid-dns.com
Sun Feb 1 11:21:45 UTC 2015


Ah perfect, there goes my Sunday :)

Thank You Aki
AJ

On 1 February 2015 at 08:14, Aki Tuomi <cmouse at 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.mckee at 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.mckee at druid-dns.com
blog:    http://aj.mc-kee.com/
twitter: @ajmckee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20150201/363fd4d2/attachment-0001.html>


More information about the Pdns-users mailing list