[Dnsmasq-discuss] Patch: SRV and NAPTR record caching
David Sansome
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.
David
On Fri, Mar 25, 2011 at 5:10 PM, David Sansome <me at davidsansome.com> wrote:
> Hi,
>
> I've attached a patch to make dnsmasq cache SRV and NAPTR records. I
> know you've said before
> (http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg777379.html
> ) 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.
>
> David
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq-srv-naptr-caching.patch
Type: text/x-patch
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
mailing list