引入 clash 基础配置,放弃对系统 dns 的依赖,使用 clash 自己的 dns server
This commit is contained in:
20
clash_base.yaml
Normal file
20
clash_base.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
mixed-port: 7890
|
||||
allow-lan: true
|
||||
bind-address: '*'
|
||||
mode: rule
|
||||
log-level: info
|
||||
external-controller: '127.0.0.1:9090'
|
||||
|
||||
dns:
|
||||
enable: true
|
||||
listen: '127.0.0.1:9053'
|
||||
default-nameserver:
|
||||
- 223.5.5.5
|
||||
- 223.6.6.6
|
||||
- 119.29.29.29
|
||||
enhanced-mode: fake-ip
|
||||
fake-ip-range: 198.18.0.1/16
|
||||
nameserver:
|
||||
- 'https://223.5.5.5/dns-query'
|
||||
- 'https://223.6.6.6/dns-query'
|
||||
- 'https://doh.pub/dns-query'
|
||||
Reference in New Issue
Block a user