dns.cache.new

dns.cache

new(cfg) -> cache

Create a new DNS cache instance

Configuration fields (all optional):

The returned cache object provides these methods: