RoninZc

RoninZc 的个人博客

随便写写~

MacOS使用DoH

安装 HomeBrew(已有则忽略) 1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 安装 cloudflared 1 brew install cloudflare/cloudflare/cloudflared 创建配置文件 1 2 mkdir -p /usr/local/etc/cloudflared vim /usr/local/etc/cloudflared/config.yaml 1 2 3 4 5 proxy-dns: true proxy-dns-upstream: - https://doh.pub/dns-query - https://1.1.1.1/dns-query - https://1.0.0.1/dns-query 这里使用的是默认 DNSPod 的 DoH 服务
0%