恩, 请教一下~~
美区的 iTunes 及 Apple music 请教一下服务器地址,需加入 ss 的 pac 中
感谢~~
3
skksdd OP 还是我 v2 大法好!
|
4
max1525 2016-07-19 13:44:44 +08:00
我靠楼上好全,点个赞
|
5
bellchu 2016-07-19 13:47:04 +08:00
关于 PAC ,为什么不用 DNS 来分流量? 所有北美的都走 Proxy ,用域名太累了。
|
6
only25133 2016-07-19 13:51:51 +08:00 via iPhone
PAC 比 Hosts 孰优孰劣? Or even ? Or something else ?
|
7
skksdd OP 额,因为我不会…
我是用来添加在路由器的强制 ss 流量的名单中的。 大陆白名单模式,但是苹果服务器默认是国内线路… 所以就用这个法子了。 上面的一串名单已解决问题啦。 如果你有更便捷的方法,也欢迎介绍:) |
8
ozOGen 2016-07-19 16:47:55 +08:00 via iPad
github appleDNS
|
9
bellchu 2016-07-19 16:58:17 +08:00 1
function FindProxyForURL(url, host) {
// If the hostname matches, send direct. if (dnsDomainIs(host, "test.com") || shExpMatch(host, "(*.test.com|test.com)")) return "DIRECT"; // If the requested website is hosted within China, send direct. if (isPlainHostName(host) || shExpMatch(host, "*.local") || isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "172.16.0.0", "255.240.0.0") || isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0") || isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0") || isInNet(dnsResolve(host), "111.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "123.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "180.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "220.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "103.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "205.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "140.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "110.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "202.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "211.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "117.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "42.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "103.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "125.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "61.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "203.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "123.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "140.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "14.0.0.0", "255.0.0.0")) return "DIRECT"; // DEFAULT RULE: All other traffic, use below socks proxies, in fail-over order. return "SOCKS 127.0.0.1:7070, 192.168.20.27:7070"; } 默认流量都走 proxy ,自定义的 IP block 走直连。我只是写了一点我要上的中国的 IP 段,你可以自己修改。 |
10
ZoraZhang 2016-07-19 19:02:53 +08:00
你可以试一下 AppleDNS https://github.com/gongjianhui/AppleDNS
|