🦄
DNS流媒体解锁
购买流媒体解锁查看服务状态
  • 👋CatStream流媒体解锁服务
  • 配置使用
    • 🚀个人使用
    • 💖节点配置
    • 🖨️软路由使用
  • 解锁规则
    • 👋验证解锁
    • 🕸️解锁域名
  • 流媒体解锁配置文件
  • 流量重定向
    • 🌴配置和申请流量重定向功能
由 GitBook 提供支持
在本页
  • Our Values
  • XrayR
  • #SoGa
  1. 配置使用

节点配置

节点应该如何配置Netflix、Disneyplus、hulu、hbo等流媒体解锁教程

Our Values

注意 部分香港CMI屏蔽了UDP 53的查询,本服务已经开启了TCP53,直接修改VPS的DNS时请在/etc/resolv.conf文件中第一行添加

options use-vc

如果您使用DOH,对于Xray系来说,您需要在 dns.json 一行配置一个默认DNS,如1.1.1.1,然后在后面写分流规则;否则DOH因为是默认第一个域名,XraryCore会请求DoH,但是由于DoH之前没有获取到IP,所以会向DoH请求DoH的IP,造成 context exceed timeout

{
    "servers": [
     "1.1.1.1",
     {
        "address": "https://您的doh",
        "port": 443,
        "domains": []
     }
     ]
  }

XrayR

  • 1.首先配置 DNS 文件

vi /etc/XrayR/dns.json

全部删除覆盖

{
  "servers": [
    "1.1.1.1",
    "8.8.8.8",
    "localhost",
    {
      "address": "4.4.4.4(以实际为准)",
      "port": 53,
      "domains": ["geosite:netflix"]
    }
  ],
  "tag": "dns_inbound"
}
  • 2.修改 XrayR 配置文件

第 5 行去掉#号开启

  DnsConfigPath:  /etc/XrayR/dns.json

第 35 行附近修改参数 (如果机器带V6但是访问谷歌等异常可以将“UseIP”改为“UseIPv4”)

 EnableDNS: true
 DNSType: UseIP
  • 3.重启

XrayR restart
  • docker改全局DNS

启动时指定:

docker run --dns 8.8.8.8 busybox:latest

修改

vi /etc/docker/daemon.json 

{
  "dns" : [
    "填写指定dns"
  ]
}

重启

systemctl daemon-reload
systemctl restart docker
  • docker

要素

-e default_dns=4.4.4.4 \
-e dns_cache_time=1 \
-e dns_strategy=ipv4_first \

示例

docker run --restart=on-failure --name soga -d \
-v /etc/soga/:/etc/soga/ --network host \
-e type=sspanel-uim \
-e server_type=ssr \
-e api=webapi \
-e webapi_url=https://api.soga.com \
-e webapi_key=admin \
-e node_id=10 \
-e default_dns=4.4.4.4 \
-e dns_cache_time=1 \
-e dns_strategy=ipv4_first \
-e forbidden_bit_torrent=true \
-e cert_domain=image.baidu.com \
-e cert_mode=http \
-e tunnel_enable=false \
-e tunnel_proxy_protocol=true \
-e proxy_protocol=true \
vaxilu/soga
  • 脚本安装

/etc/soga/soga.conf 修改 default_dns=4.4.4.4

最后更新于1年前

SoGa

💖
#