It looks small, but this version brings some big features. DnsSec validation was merged in a couple of weeks ago, but I held off on a release until I could build a cache because it seemed inappropriate to put something out there that would increase the number of requests to the DNS network. The LRU cache will store successful DNS queries, defaults to 32. This can be improved, and currently doesn’t cache NXDOMAIN responses, but it’s good to get it into peoples hands for some feedback.
There’s one breaking change to the
LookupIp interface due to the nature of cached records.
LookupIp formerly implemented the Iterator interface directly. The
LookupIp::iter function should be used instead to get at the IPs returned.
See: cache size and validate for enabling these features.
Iterator removed from
LookupIp result type, see
LookupIp::iter for replacement
- Support for DNSSec validation
- LRU Cache