mirror of
https://github.com/DivineEngine/Profiles.git
synced 2025-01-23 05:59:04 +08:00
🚩 DNS
This commit is contained in:
parent
03418dc53b
commit
6898dd80fc
@ -36,7 +36,7 @@ mode: rule
|
||||
log-level: info
|
||||
|
||||
# When set to false, resolver won't translate hostnames to IPv6 addresses
|
||||
ipv6: true
|
||||
ipv6: false
|
||||
|
||||
# RESTful web API listening address
|
||||
external-controller: 127.0.0.1:9090
|
||||
@ -77,8 +77,8 @@ dns:
|
||||
# These nameservers are used to resolve the DNS nameserver hostnames below.
|
||||
# Specify IP addresses only
|
||||
default-nameserver:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
- 119.29.29.29
|
||||
- 1.0.0.1
|
||||
enhanced-mode: redir-host # or fake-ip
|
||||
fake-ip-range: 198.18.0.1/16 # Fake IP addresses pool CIDR
|
||||
|
||||
@ -93,17 +93,16 @@ dns:
|
||||
# All DNS questions are sent directly to the nameserver, without proxies
|
||||
# involved. Clash answers the DNS question with the first result gathered.
|
||||
nameserver:
|
||||
- 114.114.114.114 # default value
|
||||
- 8.8.8.8 # default value
|
||||
- tls://dns.rubyfish.cn:853 # DNS over TLS
|
||||
- https://1.1.1.1/dns-query # DNS over HTTPS
|
||||
- 119.29.29.29
|
||||
# - tls://dns.rubyfish.cn:853 # DNS over TLS
|
||||
# - https://1.1.1.1/dns-query # DNS over HTTPS
|
||||
|
||||
# When `fallback` is present, the DNS server will send concurrent requests
|
||||
# to the servers in this section along with servers in `nameservers`.
|
||||
# The answers from fallback servers are used when the GEOIP country
|
||||
# is not `CN`.
|
||||
# fallback:
|
||||
# - tcp://1.1.1.1
|
||||
fallback:
|
||||
- https://cloudflare-dns.com/dns-query
|
||||
|
||||
# If IP addresses resolved with servers in `nameservers` are in the specified
|
||||
# subnets below, they are considered invalid and results from `fallback`
|
||||
|
@ -56,7 +56,10 @@ no-ipv6
|
||||
|
||||
# 第三方 DNS
|
||||
server=119.29.29.29
|
||||
server=223.5.5.5
|
||||
# 电信
|
||||
# server=118.118.118.118
|
||||
# 联通
|
||||
# server=116.116.116.116
|
||||
|
||||
# 本地 DNS 映射
|
||||
address=/mtalk.google.com/108.177.125.188
|
||||
|
@ -40,7 +40,9 @@ use-default-policy-if-wifi-not-primary = false
|
||||
# ------
|
||||
|
||||
# ---(DNS 服务器)---
|
||||
dns-server = 119.29.29.29,223.5.5.5,system
|
||||
# 电信 118.118.118.118
|
||||
# 联通 116.116.116.116
|
||||
dns-server = 119.29.29.29,system
|
||||
# ------
|
||||
|
||||
# ---(实验性功能)---
|
||||
|
Loading…
Reference in New Issue
Block a user