Skip to content
forked from ineo6/hosts

FCM hosts for China

License

Notifications You must be signed in to change notification settings

entr0pia/fcm-hosts

 
 

Repository files navigation

FCM Hosts

Android 14+或某些时期可能需要这个

新方案

hosts方案有时候也会断连。现在推荐dns分流方案:

  1. 如果以前设置过hosts,请删掉
  2. 添加geosite:googlefcm策略,DNS使用国内doh服务。注意,无论你设置了cn还是!cn策略,保证它是最后一条
  3. proxy_group中添加谷歌FCM,并设为直连
  4. 如果仍然连接失败且发现解析到IPv6,关闭IPv6

image

hosts方案

展开/收起
142.250.157.188     mtalk.google.com
74.125.200.188      alt1-mtalk.google.com
142.250.141.188     alt2-mtalk.google.com
64.233.171.188      alt3-mtalk.google.com
173.194.202.188     alt4-mtalk.google.com
74.125.126.188      alt5-mtalk.google.com
142.250.115.188     alt6-mtalk.google.com
108.177.104.188     alt7-mtalk.google.com
142.250.152.188     alt8-mtalk.google.com
180.163.151.161     dl.google.com
180.163.150.33      dl.l.google.com

如果你的手机上装了 Magisk,也可以考虑使用 systemless-fcm-hosts 集成

规则订阅

https://gcore.jsdelivr.net/gh/entr0pia/fcm-hosts@fcm/fcm-hosts

https://github.com/entr0pia/fcm-hosts/raw/fcm/fcm-hosts

测试

可以使用 FCM Toolbox 测试消息送达的情况

About

FCM hosts for China

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.3%
  • JavaScript 0.7%