[Dnsmasq-discuss] Patch: SRV and NAPTR record caching
me at davidsansome.com
Fri Apr 1 18:32:48 BST 2011
Here's a slightly better version of the patch that returns all the
cache entries for a name instead of just the first one, and doesn't
send back invalid responses.
On Fri, Mar 25, 2011 at 5:10 PM, David Sansome <me at davidsansome.com> wrote:
> I've attached a patch to make dnsmasq cache SRV and NAPTR records. I
> know you've said before
> ) that these queries are not cached by design so I don't expect you to
> apply this patch, but I hope it will be useful for others!
> The code is a bit hacky and there are some mallocs/frees when adding
> things to the cache. If you have any suggestions please let me know.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10243 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110401/9aa0ddc8/attachment.bin
More information about the Dnsmasq-discuss