# hosts **Repository Path**: Draycen/hosts ## Basic Information - **Project Name**: hosts - **Description**: :statue_of_liberty:最新可用的google hosts文件。镜像: - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-28 - **Last Updated**: 2021-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![doodle]][doodle-story] [doodle]: https://i.imgur.com/Vui3K9P.jpg "undefined" [doodle-story]: http://baike.baidu.com/link?url=Hoj02JsYhwUYVDaSaHSDazhfYjoqBmlzE_-K279sL3jQ3b7JQPVQi1wWX_s7tn5Vi0MuLX9oazEqpUbAGiIijiXHN1EmSXv-BMoh99MPD3a **使用本项目之前,请先阅读此 [README](README.md) 及下方的许可协议** **请务必注意,如果正确修改hosts后还是无法使用Google,在求助前请首先尝试通过https进行访问,如[https://www.google.com/](https://www.google.com/)** | [聊天室][chat-room] | [hosts 格式检测][travis-status] | [镜像hosts][mirror_of_hosts] | [常见问题解答][faq] | | :----------------------------: | :-----------------------------------: | :---------------------------: | :-----------------: | | [![chat-metadata]][chat-room] | [![travis-metadata]][travis-status] | [![coding.net]][coding-link] | [![faq_icon]][faq] | [chat-metadata]: https://badges.gitter.im/racaljk/hosts.svg "Join the chat at https://gitter.im/racaljk/hosts" [chat-room]: https://gitter.im/racaljk/hosts?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge "Gitter chat room" [travis-metadata]: https://travis-ci.org/racaljk/hosts.svg "Travis CI Metadata" [travis-status]: https://travis-ci.org/racaljk/hosts "Travis CI Status" [coding.net]: https://i.imgur.com/JDpN8Bd.png [coding-link]: https://coding.net/u/scaffrey/p/hosts/git "Coding" [mirror_of_hosts]: https://coding.net/u/scaffrey/p/hosts/git/raw/master/hosts [faq_icon]: http://www.easyicon.net/api/resizeApi.php?id=1190784&size=64 [faq]: https://github.com/racaljk/hosts/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94 ## 如何更新 hosts? **推荐**使用项目内 [Host Tools](tools) 来**自动地 备份/更新** hosts。 * **Windows** 平台: 1. 用文本编辑器(如 [Notepad++](https://notepad-plus-plus.org/))打开:` %SystemRoot%\System32\drivers\etc\hosts` > ![](https://i.imgur.com/BwW2cft.jpg) 2. 将 [hosts][github-hosts] 全部内容复制到上面的文件内并保存。 > 注意:如果遇到无法保存,请右键文件hosts并找到“属性” -> “安全”,然后选择你登陆的用户名,最后点击编辑,勾选“写入”即可。 * **其他平台**请将 [hosts][github-hosts] 全部内容复制到`/etc/hosts`中并保存。 > 附:[各平台 hosts 位置](http://www.wikiwand.com/zh/Hosts%E6%96%87%E4%BB%B6#/.E6.96.87.E4.BB.B6.E4.BD.8D.E7.BD.AE.E5.8F.8A.E9.BB.98.E8.AE.A4.E5.86.85.E5.AE.B9) **注意**: 若更新后,hosts 没有立即生效,请重置网络: - 在系统设置内开关网络 - 启用禁用飞行模式 - 重启系统 ## 更多 - 获取更多信息,请访问 [Wiki 页面](https://github.com/racaljk/hosts/wiki) 。如有问题,请开 [Issue](https://github.com/racaljk/hosts/issues) 反馈。 ## License - 本项目的所有代码除另有说明外,均按照 [MIT License](LICENSE) 发布。 - 本项目的hosts,README.MD,wiki等资源基于[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) 这意味着你可以拷贝、并再发行本项目的内容,但是你将必须同样**提供原作者信息以及协议声明**。同时你也**不能将本项目用于商业用途**, 按照我们狭义的理解(增加附属条款),凡是**任何盈利的活动皆属于商业用途**。 - 请在遵守当地相关法律法规的前提下使用本项目。 ![img-source-from-https://github.com/docker/dockercraft](https://github.com/docker/dockercraft/raw/master/docs/img/contribute.png?raw=true) [github-hosts]: https://raw.githubusercontent.com/racaljk/hosts/master/hosts "hosts on Github"