Google DNS
cat > /etc/resolv.conf << EOF
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
EOF
cloudflare
cat > /etc/resolv.conf << EOF
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1001
nameserver 2606:4700:4700::1111
EOF
阿里
cat > /etc/resolv.conf << EOF
nameserver 223.5.5.5
nameserver 223.6.6.6
nameserver 2400:3200::1
nameserver 2400:3200:baba::1
EOF
腾讯
cat > /etc/resolv.conf << EOF
nameserver 119.29.29.29
nameserver 2402:4e00::
EOF
DoH:https://doh.pub/dns-query
DoH (IP):https://1.12.12.12/dns-query https://120.53.53.53/dns-query
DoH (国密):https://sm2.doh.pub/dns-query
DoT:dot.pub
DoT (IP):1.12.12.12 120.53.53.53
OneDNS
拦截版
cat > /etc/resolv.conf << EOF
nameserver 117.50.11.11
nameserver 52.80.66.66
EOF
纯净版
cat > /etc/resolv.conf << EOF
nameserver 117.50.10.10
nameserver 52.80.52.52
EOF
家庭版
cat > /etc/resolv.conf << EOF
nameserver 117.50.60.30
nameserver 52.80.60.30
EOF
Freenom World
cat > /etc/resolv.conf << EOF
nameserver 80.80.80.80
nameserver 80.80.81.81
EOF
114DNS
cat > /etc/resolv.conf << EOF
nameserver 114.114.114.114
nameserver 114.114.115.115
EOF
NAT64+DNS64
芬兰
cat > /etc/resolv.conf << EOF
nameserver 2001:67c:2b0::4
nameserver 2001:67c:2b0::6
EOF
德国
cat > /etc/resolv.conf << EOF
nameserver 2a01:4f8:c2c:123f::1
nameserver 2a00:1098:2c::1
nameserver 2a01:4f9:c010:3f02::1
EOF
DOT&DOH
腾讯
DoH:
https://doh.pub/dns-query
DoH(IP版):
https://1.12.12.12/dns-query
https://120.53.53.53/dns-query
DoH (国密 SM2,基于腾讯云政企国密解决方案):
https://sm2.doh.pub/dns-query
DoT:
dot.pub
DoT(IP版)(注意 DoT 跟 IPv4 是有区别的,不能混用):
1.12.12.12
120.53.53.53
阿里
DoH:
https://dns.alidns.com/dns-query
https://223.5.5.5/dns-query
https://223.6.6.6/dns-query
DoT:
dns.alidns.com
360
DoH:
https://doh.360.cn
DoT:
dot.360.cn
谷歌
DoH:
https://dns.google/dns-query
只针对 IPv6 的 DoH:
https://dns64.dns.google/dns-query
DoT:
dns.google
Cloudflare
DoH:
https://cloudflare-dns.com/dns-query
https://1.1.1.1/dns-query
https://1.0.0.1/dns-query
DoT:
1dot1dot1dot1.cloudflare-dns.com
one.one.one.one