Working with a local DNS cache



Hi,

I'm one of the developers on Chromium[1] (aka Google Chrome) for
Linux. Chromium likes to prefetch DNS records a lot and, as such, we
would very much like it if Linux systems came with a local DNS cache.

To that end, I'm hacking up DJB's public domain DNS cache[2] to build
with autotools, have a DBus interface etc[3], in the hope that it can
turn into a painless package install and, in time, become standard
practice.

An important part of this would be to have NetworkManager configure
the DNS cache when it gets new resolver information. I did a 10 minute
hack[4] and it would be great if someone could let me know if I'm
heading in the wrong direction at this stage. The part which mostly
gives me pause for thought is that I'm making a DBus RPC call in
named-manager, and I don't know if that's verboten because of latency
considerations.


Cheers

AGL


[1] http://dev.chromium.org
[2] http://cr.yp.to/djbdns.html
[3] http://github.com/agl/local-dns-cache
[4] http://gist.github.com/163100

-- 
Adam Langley agl imperialviolet org http://www.imperialviolet.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]