1 Star 1 Fork 2

tree-branch/hosts

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

doodle

使用本项目前,请先阅读 README 和 License

聊天室 hosts 格式检测 镜像hosts 常见问题解答
chat-metadata travis-metadata coding.net faq-icon

更新 hosts

推荐使用项目内提供的 应用/工具 来自动获取最新 hosts 文件,以下简单介绍手动替换 hosts 的步骤

Windows

  1. 用文本编辑器(如 Notepad++)打开 (如下图):%SystemRoot%\System32\drivers\etc\hosts

  1. hosts 全部内容复制到上面的文件内并保存。

注:如果遇到无法保存,请右键文件hosts并找到 属性 -> 安全,选择你登录的用户名,
点击 编辑 ,勾选 写入 即可。

其他平台

注意

  • 手动替换 hosts 时,建议清空 hosts 原有的内容,再进行复制操作
  • 替换 hosts 文件后,相关记录可能不会立即生效,可以关闭开启网络,或启用禁用飞行模式
    让域名解析立即生效

如何贡献

hosts等文件是由程序自动生成的,如要改变其内容,请修改hosts-source分支下的hosts.yml,具体说明见该分支下的README

更多

License

  • 本项目的所有代码除另有说明外,均按照 MIT License 发布。
  • 本项目的hosts,README.MD,wiki等资源基于 CC BY-NC-SA 4.0 这意味着你可以拷贝、并再发行本项目的内容,
    但是你将必须同样提供原作者信息以及协议声明。同时你也不能将本项目用于商业用途,按照我们狭义的理解
    (增加附属条款),凡是任何盈利的活动皆属于商业用途
  • 请在遵守当地相关法律法规的前提下使用本项目。

img-source-from-https://github.com/docker/dockercraft

The MIT License (MIT) Copyright © 2014-2017 racaljk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

:statue_of_liberty:最新可用的google hosts文件。镜像: expand collapse
Cancel

Releases

No release

Contributors

All

Activities

can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tree-branch/hosts.git
git@gitee.com:tree-branch/hosts.git
tree-branch
hosts
hosts
master

Search