董昊的个人博客 - XBOX
type: channel
link: https://www.minws.com/tag/XBOX/
items: OpenWrt 下通过修改 dnsmasq 实现 Xbox 加速

OpenWrt 下通过修改 dnsmasq 实现 Xbox 加速
type: item
date: 2024-12-30T11:00:00+08:00
description: 一、获取 Xbox 下载助手规则首先，我们需要从 https://github.com/skydevil88/XboxDownload 上获取 Xbox 下载助手 。在 Xbox 下载助手 查找栏里输入你所在地区，比如 “江苏”，来筛选出最近的节点。然后点击按照 “下载速度” 排序，选择最快的节点并右击，选择 “导出规则”>“DNSMASQ” 规则，此时规则就会拷贝到剪切板里，把内容拷贝到临时的文本文件里，这一步是后续配置的关键。二、编辑 dnsmasq.conf 文件通过命令 nano /etc/dnsmasq.conf 来编辑 dnsmasq.conf 文件。在文件末尾添加以下最终的文本文件内容，如果之前存在相关内容则需要删除：（以下是个示例，需要替换成你获得的最佳IP，一段时间后可能失效）# 主下载域名（PC 主机共用） address=/assets1.xboxlive.cn/112.87.86.112 address=/assets2.xboxlive.cn/112.87.86.112 address=/d1.xboxlive.cn/112.87.86.112 address=/d2.xboxlive.cn/112.87.86.112 # XboxOne 部分老游戏下载域名，PC、主机新游戏都不再使用此域名 address=/dlassets.xboxlive.cn/223.109.105.4 address=/dlassets2.xboxlive.cn/223.109.105.4 # 应用和部分 PC 游戏使用此域名下载 address=/dl.delivery.mp.microsoft.com/112.84.131.218 address=/tlu.dl.delivery.mp.microsoft.com/112.84.131.218 # PlayStation address=/gst.prod.dl.playstation.net/223.111.139.91 address=/gs2.ww.prod.dl.playstation.net/223.111.139.91 address=/zeus.dl.playstation.net/223.111.139.91 address=/ares.dl.playstation.net/223.111.139.91 # Xbox 国际域名 address=/xvcf1.xboxlive.com/184.50.87.9 address=/xvcf2.xboxlive.com/184.50.87.9 address=/assets1.xboxlive.com/184.50.87.9 address=/assets2.xboxlive.com/184.50.87.9 address=/d1.xboxlive.com/184.50.87.9 address=/d2.xboxlive.com/184.50.87.9 address=/dlassets.xboxlive.com/184.50.87.9 address=/dlassets2.xboxlive.com/184.50.87.9 address=/dl.delivery.mp.microsoft.com/184.50.87.9 address=/tlu.dl.delivery.mp.microsoft.com/184.50.87.9 # PlayStation address=/gst.prod.dl.playstation.net/184.50.87.9 address=/gs2.ww.prod.dl.playstation.net/184.50.87.9 address=/zeus.dl.playstation.net/184.50.87.9 address=/ares.dl.playstation.net/184.50.87.9 # Nintendo Switch address=/atum.hac.lp1.d4c.nintendo.net/184.50.87.9 address=/bugyo.hac.lp1.eshop.nintendo.net/184.50.87.9 address=/ctest-ul-lp1.cdn.nintendo.net/184.50.87.9 address=/ctest-dl-lp1.cdn.nintendo.net/184.50.87.9 address=/atum-eda.hac.lp1.d4c.nintendo.net/0.0.0.0 # EA、战网、Epic、育碧 address=/origin-a.akamaihd.net/184.50.87.9 address=/ssl-l…