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

1)增加 safe360 DNS,并将 usa 重命名为 cloudflare;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 #312

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

cuicanmengxing
Copy link

@cuicanmengxing cuicanmengxing commented May 12, 2024

Ⅰ. 描述此PR的作用:

  1. 增加 safe360 DNS,并将 usa 重命名为 cloudflare
  2. 为部分域名预设IP;
  3. PIP加速中,新增两个镜像。

Ⅱ. 此PR修复了哪个issue吗?

fiexs #309

域名collector.github.com已根据AdGuard DNS filter规则拦截,缩短加载时间
@wangliang181230
Copy link
Contributor

最好不要把域名的IP固定掉,预设IP作为增量IP添加到可选列表里就行。

@wangliang181230
Copy link
Contributor

而且,可以做成可配置化的话,更好。

@wangliang181230
Copy link
Contributor

如果你觉得做可配置化比较麻烦,可以先把你那些IP列表,添加到默认配置的那个对象里,后续再做可配置化功能。
但在https.js里,你的代码要从配置对象里读取,如果存在预设IP列表,则直接返回。

@wangliang181230 wangliang181230 added this to the 1.8.2 milestone May 12, 2024
@wangliang181230 wangliang181230 added the Good first PR 首次提交PR label May 12, 2024
@wangliang181230 wangliang181230 changed the title 优化DNS和查询增加预设IP 1)增加 safe360 DNS;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 May 12, 2024
@wangliang181230 wangliang181230 changed the title 1)增加 safe360 DNS;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 1)增加 safe360 DNS,并将 usa 重名为 cloudflare;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 May 12, 2024
@wangliang181230 wangliang181230 changed the title 1)增加 safe360 DNS,并将 usa 重名为 cloudflare;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 1)增加 safe360 DNS,并将 usa 重命名为 cloudflare;2)为部分域名预设IP;3)PIP加速中,新增两个镜像。 May 12, 2024
@wangliang181230
Copy link
Contributor

usa更名为cloudflare后,获取DNS的地方,能向下兼容下不?否则会影响到原本配置了usa的用户。

@cuicanmengxing
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first PR 首次提交PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants