首先来说说这个原理吧:
Apple在中国服务器部署受到地域等限制,同时也受到DNS各种问题,所以会导致有时候快有时候慢,那么我们可以单独手动干预DNS指向到固定IP,以达到Apple相关服务网络加速的目的。
由于涉及到Apple服务及个人账号隐私,如果可疑的请不要使用,如出现问题本站不承担任何后果。根据原作者描述,部分IP在部分省份不能用,如不可使用请删掉。
方法
首先选择自己地区对应的IP,建议选择好后Ping下是否通,然后根据使用场景集成到Surge或者修改电脑hosts达到加速目的。
所涉及条目:
iosapps.itunes.apple.com Apple Music音频 与 App Store下载
streamingaudio.itunes.apple.com Apple Music音频 与 App Store下载
aod.itunes.apple.com Apple Music音频 与 App Store下载
radio.itunes.apple.com Apple Music广播
radio-services.itunes.apple.com Apple Music广播
radio-activity.itunes.apple.com Apple Music广播
play.itunes.apple.com Apple流媒体
upp.itunes.apple.com iTunes相关服务
client-api.itunes.apple.com Apple iTunes服务
1.Surge配置文件:
在配置文件最下方加入:
[Host] iosapps.itunes.apple.com = 182.140.218.60 streamingaudio.itunes.apple.com = 182.140.218.60 aod.itunes.apple.com = 182.140.218.60 radio.itunes.apple.com = 184.87.100.246 radio-services.itunes.apple.com = 184.87.100.246 radio-activity.itunes.apple.com = 184.87.100.246 search.itunes.apple.com = 184.87.97.50 play.itunes.apple.com = 118.123.106.105 upp.itunes.apple.com = 118.123.106.105 client-api.itunes.apple.com = 118.123.106.105
可直接使用我配置好的配置文件(电信网络最优)
2.Host文件:
将常规hosts格式加入,比如IP+域名
可直接下载我配置好的host文件(电信网络最优)
3.Merlin Host文件:
放置于SS插件设置选项-自定义hosts中(电信网络最优)
address=/iosapps.itunes.apple.com/182.140.218.60 address=/streamingaudio.itunes.apple.com/182.140.218.60 address=/aod.itunes.apple.com/182.140.218.60 address=/radio.itunes.apple.com/184.87.100.246 address=/radio-services.itunes.apple.com/184.87.100.246 address=/radio-activity.itunes.apple.com/184.87.100.246 address=/rsearch.itunes.apple.com/184.87.97.50 address=/play.itunes.apple.com/118.123.106.105 address=/upp.itunes.apple.com/118.123.106.105 address=/client-api.itunes.apple.com/118.123.106.105
4.拓展:各地区对应IP
#streamingaudio.itunes.apple.com,aod.itunes.apple.com,iosapps.itunes.apple.com 对应IP:
北京 220.250.64.18 220.250.64.26 220.250.64.225 浙江台州 183.131.116.56 183.131.119.99 183.131.124.98 183.131.124.99 183.131.168.133 183.131.168.138 183.131.168.141 183.131.192.80 浙江嘉兴 115.231.74.147 115.231.74.144 183.134.9.60 183.134.9.61 115.231.171.46 115.231.20.48 115.231.30.107 115.231.74.144 115.231.74.147 115.231.87.128 183.134.10.87 183.134.11.84 183.134.11.85 183.134.12.72 183.134.12.74 183.134.12.75 浙江温州 122.228.237.167 122.228.233.203 122.228.237.170 122.228.233.205 122.228.237.167 122.228.237.169 122.228.237.170 122.228.233.199 122.228.233.203 122.228.233.204 黑龙江 113.5.80.40 113.6.245.65 113.8.150.50 125.211.213.131 吉林松原 122.138.54.73 222.163.199.73 辽宁 218.61.15.69 218.60.108.138 218.24.18.6 河北邯郸 60.5.252.74 河南 222.141.100.32 218.29.49.41 218.28.144.40 山东 60.215.125.75 60.221.254.222 125.211.213.131 123.129.254.17 湖北 113.57.221.210 221.235.187.51 61.136.211.33 重庆 119.84.111.86 四川成都 182.140.218.60 湖南邵阳 222.245.78.31 浙江 115.231.20.49 183.131.116.56 112.17.26.95 112.17.26.97 112.17.26.98(移动) 江苏泰州 221.230.141.219 58.222.19.42 江苏扬州180.97.178.61 58.220.44.172 58.220.44.175 上海移动 117.144.227.97 福建 36.250.76.67 36.250.240.96 36.250.248.65 175.43.124.197175.43.124.205 175.43.124.244 云南 116.55.234.59 116.55.236.43 116.55.236.44 广东 183.6.245.173 220.243.229.12 183.61.67.42 113.107.112.212
#radio相关 对应IP:
香港 104.89.141.101 184.87.100.246 台湾 184.28.66.196 韩国 23.12.230.116 59.151.173.69 日本 23.42.69.185 23.218.34.114 104.78.97.198 新加坡 184.26.207.174
#client-api.itunes.apple.com 对应IP:
香港 104.114.184.38 184.87.97.50 60.254.170.217 日本 23.11.114.217 118.215.176.66 23.218.28.29 23.48.12.96 104.76.240.90