[Dnsmasq-discuss] Patch: SRV and NAPTR record caching

David Sansome me at davidsansome.com
Fri Mar 25 17:10:08 GMT 2011


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: 10139 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110325/8a7698bf/attachment.bin 


More information about the Dnsmasq-discuss mailing list