add hosts support for dns

This commit is contained in:
ginuerzh
2022-01-19 16:33:27 +08:00
parent 1e613fc2e6
commit f357117056
11 changed files with 212 additions and 53 deletions

View File

@ -56,7 +56,7 @@ func (c *Cache) Load(key CacheKey) *dns.Msg {
return nil
}
c.logger.Debugf("resolver cache hit: %s", key)
c.logger.Debugf("hit resolver cache: %s", key)
return item.msg.Copy()
}