[getdns-api] Priming the cache

Matt Miller linuxwolf at outer-planes.net
Tue Mar 12 14:42:33 MST 2013

On Mar 12, 2013, at 5:39 PM, "Murray S. Kucherawy" <superuser at gmail.com> wrote:

> This one's a bit of a long shot request, but I really wish the existing
> interfaces could do this so I'll ask for it here.
> A lot of my recent open source projects (e.g., DKIM and its pals) rely on
> getting policy and key information from the DNS.  Being able to run tests
> on the DNS handling code is an important part of comprehensive unit testing
> prior to a release.  Sometimes it's necessary to run such tests on a
> machine without Internet access.  Thus, being able to force data into the
> resolver that later queries will retrieve is an exceedingly useful notion.
> If the resolver has a cache, this is just the ability to go about having a
> test harness prime the cache before issuing queries.

Preloading the cache is a great idea.  I often need similar functionality; and not only for testing purposes!

- m&m

Matthew A. Miller
< http://goo.gl/LK55L >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2305 bytes
Desc: not available
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20130312/7c24ddc0/attachment.bin>

More information about the getdns-api mailing list