用了 三个脚本 其实一个脚本就能实现 主要是各取所长了
DNS解锁查询
来自NodeSeek 脚本如下:
1bash <(curl -L -s check.unlock.media)
搭建Sni Proxy
搭建在可以解锁的服务器上 用来反代
1wget https://raw.githubusercontent.com/lthero-big/Smartdns_sniproxy_installer/refs/heads/main/smtdns_install.sh -O smtdns_install.sh
输入 11 仅安装sni proxy即可
搭建dnsmasq
用于自建DNS 劫持指定的流媒体域名为自己的IP or 解锁机的IP
1wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -id
自定义
如需增删流媒体域名请编辑文件/etc/dnsmasq.d/custom_netflix.conf和/etc/sniproxy.conf
EMD
可以参考我整理的列表