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

能否通过geo文件来匹配域名呢 #6

Closed
GH6324 opened this issue Oct 9, 2023 · 1 comment
Closed

能否通过geo文件来匹配域名呢 #6

GH6324 opened this issue Oct 9, 2023 · 1 comment

Comments

@GH6324
Copy link

GH6324 commented Oct 9, 2023

功能需求

如果能通过geo文件来匹配域名的话就能大大减少去找域名规则的时间。。

预期目标

geosite:netflix
geoip:netflix

@XIU2
Copy link
Owner

XIU2 commented Apr 1, 2024

不考虑添加。

因为本项目程序支持通配匹配域名(也就是可以匹配一个根域名自身及其所有子域名),而像 netflix 这种网站,子域名可能会经常变,但是根域名(一级域名)不可能经常变化,把它的根域名都写进去配置文件后,估计很长时间都不需要更新/修改。

你可以直接提取 geo 文件里的 netflix 域名信息,只保留后面的根域名,写入配置文件就完事了。

@GH6324 GH6324 closed this as completed Sep 24, 2024
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

2 participants