转换gfwlist到AdGuardHome规则文件,并添加Ali DNS与Dnspod DNS(使用DoH)作为默认DNS。
脚本修改自kpivy8/gfwlist2AdGuardHome
- base64
- curl (https)
- Perl5 v5.10.0+
- ./gfwlist2adguardhome.sh -s 8.8.8.8:53
- ./gfwlist2adguardhome.sh -s https://1.0.0.1/dns-query
- ./gfwlist2adguardhome.sh -s tls://1dot1dot1dot1.cloudflare-dns.com
- ./gfwlist2adguardhome.sh -s tcp://1.1.1.1
- ./gfwlist2adguardhome.sh -s tls://1dot1dot1dot1.cloudflare-dns.com
- ./gfwlist2adguardhome.sh -s sdns://AgcAAAAAAAAABzcuNy43LjcAAAovZG5zLXF1ZXJ5