下面任一方法拿到解锁DNS
1:可以解锁VPS自己搭dnsmasq_sniproxy_install
2:也可以网上找DNS https://fofa.info/result?qbase64=Ym9keT0iQmFja2VuZCBub3QgYXZhaWxhYmxlIg%3D%3D
测试解锁DNS: SSH输入
nslookup netflix.com DNS地址
如
nslookup netflix.com 38.59.254.65
有返回结果=IP可解锁
需要解锁的vps安装dnsmasq分流
apt-get -y install dnsmasq
配置分流
/etc/dnsmasq.conf输入↓如奈飞迪士尼openai走特定DNS分流
server=/netflix.com/38.59.254.65
server=/disneyplus.com/38.59.254.65
server=/openai.com/38.59.254.65
resolv-file=/etc/resolv.dnsmasq.conf
编辑/etc/resolv.dnsmasq.conf
nameserver 8.8.4.4
nameserver 1.1.1.1
*国家公共DNS:https://public-dns.info/#countries
上面原理=遇到标注域名走解锁DNS(可继续添加),其余走8.8.4.4默认DNS
将本机dnsmasq作为系统DNS服务器
chattr -i /etc/resolv.conf
echo -e "nameserver 127.0.0.1" > /etc/resolv.conf
chattr +i /etc/resolv.conf
重启dnsmasq(非即时,一般30秒生效)
/etc/init.d/dnsmasq restart
卸载命令
apt-get remove dnsmasq
chattr -i /etc/resolv.conf
chmod 777 /etc/resolv.conf
echo -e "nameserver 8.8.4.4" > /etc/resolv.conf
30s后测试解锁-打开绝命毒师页面,
https://www.netflix.com/title/70143836
看到封面图说明成功;若雪地404说明未成功
也可以vps一键测试解锁
bash <(curl -L -s media.ispvps.com)
感谢
https://www.nodeseek.com/post-53319-1
https://v2rayn.net/49.html