mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~修复默认dns启动报错
This commit is contained in:
@@ -17,5 +17,5 @@ routing_mark=$((fwmark + 2))
|
||||
[ -z "$dns_fallback" ] && dns_fallback="1.1.1.1, 8.8.8.8"
|
||||
[ -z "$dns_resolver" ] && {
|
||||
dns_resolver="223.5.5.5, 2400:3200::1"
|
||||
cat /proc/net/udp | grep -q '0035' && dns_resolver='localhost'
|
||||
cat /proc/net/udp | grep -q '0035' && dns_resolver='127.0.0.1'
|
||||
}
|
||||
Reference in New Issue
Block a user