Skip to content

Cloudflare DNS Hosts#4661

Merged
2dust merged 1 commit into
2dust:masterfrom
DHR60:dns_host
Jun 15, 2025
Merged

Cloudflare DNS Hosts#4661
2dust merged 1 commit into
2dust:masterfrom
DHR60:dns_host

Conversation

@DHR60

@DHR60 DHR60 commented Jun 14, 2025

Copy link
Copy Markdown
Contributor
  1. userHosts 可覆盖预置 hosts 列表
  2. 调用系统解析 dns.cloudflare.comcloudflare-dns.com 到 hosts (Warp Wireguard Config issue #4660) ,当 userHosts 已有 dns.cloudflare.comcloudflare-dns.com 时跳过

dns.cloudflare.comcloudflare-dns.com 似乎近两年解析结果没变过,一直是

"cloudflare-dns.com": [
  "104.16.249.249",
  "104.16.248.249",
  "2606:4700::6810:f8f9",
  "2606:4700::6810:f9f9"
],
"dns.cloudflare.com": [
  "104.16.132.229",
  "104.16.133.229",
  "2606:4700::6810:84e5",
  "2606:4700::6810:85e5"
]

但是没找到官方说过 dns.cloudflare.comcloudflare-dns.com 的解析结果不会变,所以我认为实时解析好一点

可能会影响启动速度,介意的话可以写死到 AppConfig 里

@2dust

2dust commented Jun 14, 2025

Copy link
Copy Markdown
Owner

现在启动已经够慢的了,还是不要再变的更慢了。
写死吧

@DHR60

DHR60 commented Jun 14, 2025

Copy link
Copy Markdown
Contributor Author

done

@2dust 2dust merged commit 7219425 into 2dust:master Jun 15, 2025
1 check passed
@farshadjanu1 farshadjanu1 mentioned this pull request Jun 15, 2025
1 task
@DHR60 DHR60 deleted the dns_host branch June 16, 2025 09:42
chlink2025 pushed a commit to chlink2025/v2rayNG that referenced this pull request Jun 21, 2026
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

Successfully merging this pull request may close these issues.

2 participants