MoonTv 一键搭建数据接口

使用方法:  https://video.gaojilingjuli.top/?url=https://raw.githubusercontent.com/666zmy/MoonTV/refs/heads/main/config.json&pretty=true  addEventListener ( 'fetch' , event => {   event . respondWith ( handleRequest ( event . request )) } ) async function handleRequest ( request ) {   try {     // 解析 URL 参数     const url = new URL ( request . url )     const targetUrl = url . searchParams . get ( 'url' )         if ( !targetUrl ) {       return new Response ( 'Missing url parameter' , { status : 400 } )     }         // 验证 URL 格式     try {       new URL ( targetUrl )     } catch {       return new Response ( 'Invalid URL format' , { status : 400 } )     }         // 从远程获取 JSON     const response = await fetch ( targetUrl )       ...

一键搭建DNS解锁服务落地鸡,解锁chatGpt,奈飞,tiktok

 项目地址:https://github.com/myxuchangbin/dnsmasq_sniproxy_install

1.  有防火墙注意放行443,80,53端口


 2. 安装


wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -f


3.卸载

wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -u


增删流媒体域名请编辑文件/etc/dnsmasq.d/custom_netflix.conf 和/etc/sniproxy.conf

查看sniproxy状态:systemctl status sniproxy


4.   

代理机


将代理VPS的DNS地址修改为这个主机的IP就可以了,如果不能用,记得只保留一个DNS地址试一下

/etc/resolv.conf


或者 :


echo -e "nameserver 已经搭建了解锁的vps服务器ip

nameserver 1.1.1.1" > /etc/resolv.conf

保存后立即生效


此时可以用nslookup netflix.com  判断IP是否是NETFLIX代理机器IP

网址检测:打开网址绝命毒warp 师 

用检测脚本检测会变成DNS解锁


bash <(curl -L -s media.ispvps.com)





  • 原理简述:利用Dnsmasq的DNS功能,将特定网站的DNS解析重定向到SNIproxy反向代理。

评论

此博客中的热门博文

Cloudflare WARP+,推出 MASQUE新协议,无需优选ip,直连,支持pc ,Android,ios ,MAC ,linux,附赠近1K个Warp+ 20-24PB的key