DnsCache.create

DnsCache create(DnsCacheConfig config = DnsCacheConfig.init) static @trusted

Create a DNS cache with the given configuration.

Parameters

configCache configuration. Uses defaults when not specified.

Returns

A new, initialized DnsCache.