Feature: support domain in fallback filter (#964)

This commit is contained in:
Melvin
2020-09-28 22:17:10 +08:00
committed by GitHub
parent e09931dcf7
commit a6444bb449
4 changed files with 89 additions and 19 deletions

View File

@ -118,6 +118,7 @@ func updateDNS(c *config.DNS) {
FallbackFilter: dns.FallbackFilter{
GeoIP: c.FallbackFilter.GeoIP,
IPCIDR: c.FallbackFilter.IPCIDR,
Domain: c.FallbackFilter.Domain,
},
Default: c.DefaultNameserver,
}