general: use builtin dns when it enabled. (#184)

This commit is contained in:
nadoo committed 2020-09-23 22:14:18 +08:00
1 parent 89114e678b
commit 84b00d6db6
10 files changed
+88 -74

No files matched your search

+1 -3
View File
@@ -7,8 +7,6 @@ import (
"strings"
"github.com/nadoo/conflag"
"github.com/nadoo/glider/strategy"
)
// Config of rule dialer.
@@ -16,7 +14,7 @@ type Config struct {
Name string
Forward []string
StrategyConfig strategy.Config
StrategyConfig StrategyConfig
DNSServers []string
IPSet string