null when not found or expired.DnsCache.lookupEntry
const(DnsCacheEntry) * lookupEntry(scope const(char)[] hostname) @trustedLook up a hostname and return the cache entry (including error).
Unlike lookup, this returns the full entry for negative cache inspection.
Parameters
hostname | Hostname to look up. |
Returns
Pointer to the cache entry, or