pull/221/head
Conners Hua 4 years ago
parent 4061ddff48
commit caad98bb59

@ -10,7 +10,7 @@
# Transparent proxy server port for Linux (TProxy TCP and TProxy UDP) # Transparent proxy server port for Linux (TProxy TCP and TProxy UDP)
# tproxy-port: 7893 # tproxy-port: 7893
# HTTP(S) and SOCKS5 server on the same port # HTTP(S) and SOCKS4(A)/SOCKS5 server on the same port
mixed-port: 7890 mixed-port: 7890
# authentication of local SOCKS5/HTTP(S) server # authentication of local SOCKS5/HTTP(S) server
@ -74,6 +74,12 @@ hosts:
'dl.google.com': 180.163.151.161 'dl.google.com': 180.163.151.161
'dl.l.google.com': 180.163.151.161 'dl.l.google.com': 180.163.151.161
profile:
# Store the `select` results in $HOME/.config/clash/.cache
# set false If you don't want this behavior
# when two different configurations have groups with the same name, the selected values are shared
store-selected: false
# DNS server settings # DNS server settings
# This section is optional. When not present, the DNS server will be disabled. # This section is optional. When not present, the DNS server will be disabled.
dns: dns:
@ -112,8 +118,11 @@ dns:
# involved. Clash answers the DNS question with the first result gathered. # involved. Clash answers the DNS question with the first result gathered.
nameserver: nameserver:
- 119.29.29.29 - 119.29.29.29
# - 114.114.114.114 # default value
# - 8.8.8.8 # default value
# - tls://dns.rubyfish.cn:853 # DNS over TLS # - tls://dns.rubyfish.cn:853 # DNS over TLS
# - https://1.1.1.1/dns-query # DNS over HTTPS # - https://1.1.1.1/dns-query # DNS over HTTPS
# - dhcp://en0 # dns from dhcp
# When `fallback` is present, the DNS server will send concurrent requests # When `fallback` is present, the DNS server will send concurrent requests
# to the servers in this section along with servers in `nameservers`. # to the servers in this section along with servers in `nameservers`.
@ -133,15 +142,21 @@ dns:
# are always used if not match `fallback-filter.ipcidr`. # are always used if not match `fallback-filter.ipcidr`.
# #
# This is a countermeasure against DNS pollution attacks. # This is a countermeasure against DNS pollution attacks.
fallback-filter: # fallback-filter:
geoip: true # geoip: true
ipcidr: # geoip-code: CN
# ipcidr:
# - 240.0.0.0/4 # - 240.0.0.0/4
# domain: # domain:
# - '+.google.com' # - '+.google.com'
# - '+.facebook.com' # - '+.facebook.com'
# - '+.youtube.com' # - '+.youtube.com'
# Lookup domains via specific nameservers
# nameserver-policy:
# 'www.baidu.com': '114.114.114.114'
# '+.internal.crop.com': '10.0.0.1'
# #
# https://github.com/Dreamacro/clash/wiki/premium-core-features # https://github.com/Dreamacro/clash/wiki/premium-core-features
# #

Loading…
Cancel
Save