Versions in this module Expand all Collapse all v0 v0.0.2 Mar 11, 2024 v0.0.1 Mar 11, 2024 Changes in this version + func AddSubnetOpt(m *dns.Msg, ip net.IP) + type Cache struct + func NewCache() *Cache + func (c *Cache) Load(key CacheKey) (msg *dns.Msg, ttl time.Duration) + func (c *Cache) RefreshTTL(key CacheKey) + func (c *Cache) Store(key CacheKey, mr *dns.Msg, ttl time.Duration) + func (c *Cache) WithLogger(logger logger.Logger) *Cache + type CacheKey string + func NewCacheKey(q *dns.Question) CacheKey