如果存在Cache未命中,但Forward返回一个成功的DNS回复,我们在代码中添加了Cache条目-由于Cache插件在Forward之前运行,因此很奇怪。我在缓存插件中看到:func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int
Tried: ["(short)mockbin.org:(na) - cache-miss","mockbin.org:1 - cache only lookup failed/dns server error: 100 cache only lookup failed","mockbin.org:33 - cache only lookup failed/dns server error: 100 cache