Versions in this module Expand all Collapse all v1 v1.11.1 Mar 21, 2024 Changes in this version + const Denial + const Success + type Cache struct + Next plugin.Handler + Zones []string + func New() *Cache + func (c *Cache) Name() string + func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + type ResponseWriter struct + func (w *ResponseWriter) RemoteAddr() net.Addr + func (w *ResponseWriter) Write(buf []byte) (int, error) + func (w *ResponseWriter) WriteMsg(res *dns.Msg) error