Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"geosite:geolocation-cn"和 "geosite:apple-cn" 对apple.com.cn都不生效 #35

Closed
water0012 opened this issue Jul 8, 2020 · 8 comments

Comments

@water0012
Copy link

测试无效规则

                "domain": [
                    "geosite:geolocation-cn",
                    "geosite:apple-cn"
                ],
                "inboundTag": [
                    "SOCKS_gConf",
                    "http_gConf"
                ],
                "ip": [
                ],
                "network": "tcp,udp",
                "outboundTag": "Freedom_a",
                "port": "1-65535",
                "protocol": [
                ],
                "source": [
                ],
                "type": "field",
                "user": [
                ]

测试有效规则

                "domain": [
                    "geosite:geolocation-cn",
                    "geosite:apple-cn",
                    "domain:domain:apple.com.cn"
                ],
                "inboundTag": [
                    "SOCKS_gConf",
                    "http_gConf"
                ],
                "ip": [
                ],
                "network": "tcp,udp",
                "outboundTag": "Freedom_a",
                "port": "1-65535",
                "protocol": [
                ],
                "source": [
                ],
                "type": "field",
                "user": [
                ]
@Loyalsoldier
Copy link
Owner

apple-cn 类别包含的域名:https://github.com/felixonmars/dnsmasq-china-list/blob/master/apple.china.confapple.com.cn 并不在里面。

另外,由于上游 apple 类别( https://github.com/v2ray/domain-list-community/blob/master/data/apple )包含了域名 apple.com.cn,而 Apple 类别包括在 geolocation-!cn 里,导致目前苹果中国官网走代理。

目前上游正在讨论如何解决这个问题:v2ray/domain-list-community#552

@Loyalsoldier
Copy link
Owner

你写的规则有错,正确方式如下:

"domain": [
    "domain:apple.com.cn"
],

@EpLiar
Copy link

EpLiar commented Jul 9, 2020

具体的细节 Loyalsoldier 已经说明。但是由于 Apple 域名的站点速度良好,可以考虑将 Apple 的所有的域名都直连 (个人建议)

"domain": [
  "geosite:cn",
  "geosite:apple"
]

@water0012
Copy link
Author

你写的规则有错,正确方式如下:

"domain": [
    "domain:apple.com.cn"
],

不好意思,复制粘贴时候出现失误了。目前配置里直连规则优先级比较高幸运的避过了geolocation-!cn的问题,综合了下@EpLiar 的建议, 在直连规则中直接添加了domain:apple 。

@EpLiar
Copy link

EpLiar commented Jul 9, 2020

不好意思,复制粘贴时候出现失误了。目前配置里直连规则优先级比较高幸运的避过了geolocation-!cn的问题,综合了下@EpLiar 的建议, 在直连规则中直接添加了domain:apple 。

注意不是 domain,是 geosite

@water0012
Copy link
Author

不好意思,复制粘贴时候出现失误了。目前配置里直连规则优先级比较高幸运的避过了geolocation-!cn的问题,综合了下@EpLiar 的建议, 在直连规则中直接添加了domain:apple 。

注意不是 domain,是 geosite
多谢指正,我都没注意。

@Loyalsoldier
Copy link
Owner

@liuquan321

上游已修复此问题:v2ray/domain-list-community#619

@Loyalsoldier
Copy link
Owner

@liuquan321

上游重新添加了 .cn 域名:v2ray/domain-list-community#640

可通过这个配置来彻底解决这个问题:v2ray/domain-list-community#634 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants