本页面长期更新最新Google、谷歌学术、维基百科、ccFox.info、ProjectH、Battle.NET 、WordPress、Microsoft Live、GitHub、Amazon、Box.com、SoundCloud、inoreader、Feedly、FlipBoard、Twitter、Facebook、Flickr、imgur、DuckDuckGo、Ixquick、Google Services、Google apis、Android、Youtube、Google Drive、UpLoad、Appspot、Googl eusercontent、Gstatic、Google other、Google Play等hosts。
hosts所在文件夹:
- Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts
- Android(安卓)系统hosts位于 /system/etc/hosts
- Mac(苹果电脑)系统hosts跟Linux一样位于 /etc/hosts
- iPhone(iOS)系统hosts跟Linux Mac一样位于 /etc/hosts
- Linux系统hosts位于 /etc/hosts
你也可以用Notepad++ 自行转换文本编码和换行符格式。当然,老D分享的都转换好了。
修改hosts后生效的方法:
- Windows
开始 -> 运行 -> 输入cmd -> 在CMD窗口输入 -
1ipconfig /flushdns
- Linux
终端输入1sudo rcnscd restart对于systemd发行版,请使用命令
1sudo systemctl restart NetworkManager如果不懂请都尝试下
- Mac OS X终端输入
-
1sudo killall -HUP mDNSResponder
- Android
开启飞行模式 -> 关闭飞行模式 - 通用方法
拔网线(断网) -> 插网线(重新连接网络)
(有时候不需要这么做也可以的,反正老D很少刷新DNS,刷新可以更快的解析)
修改hosts相关说明:
注:Google、Gmail、维基百科、Twitter、Facebook等必须请用https 加密方式打开。
(一般这些网站都是SSL加密链接)如谷歌学术:https://scholar.google.com/
如果不喜欢用谷歌香港,可以以 https://www.google.com/ncr 方式访问,(No Country Redirect)禁止国别跳转。
另外可能有的地区&网络(铁通、联通)hosts无法正常使用,这个不是你我能左右的!
老D所提供的hosts仅限于学习使用,hosts里不会添加屏蔽广告条目,也不会劫持任何网站。
由于DNS污染太严重,YouTube只能打开网页,视频无法播放!还有就是YouTube的每个视频对应的地址都不一样,所以很抱歉。
麻烦别问我为什么修改hosts不能加载YouTube视频啦,我去年回答了不下500次。
致谢:
Github项目维护者 @racaljk @andytimes @Too-Naive @K-Guan @imcaffrey @smounives @lautis0503 @aofall @davymai @Ignotus-CN @cw881014 等等…
感谢微信网友@柏联域 每次更新都第一时间测试联通网的可用性,感谢网上那些无名的英雄们!
感谢那些批评、指责、攻击、帮助、支持过老D博客的人们!
对了,Google Play也不能正常下载,或者有时候图片加载不出来,通讯录不能同步。
如果你真的想看YouTube或者需要用Google Play下载应用程序再或者需要同步通讯录或者国外的新闻网站、视频网站、1024等等…
那么我推荐你用SS翻墙(ShadowSocks 中文名稱:影梭)吧!(算是广告~)
传送门:http://my.yizhihongxing.com/aff.php?aff=084
感觉速度还不错,也稳定,售后也很不错的说,一直在用这个。
更新于:2016-12-18
本次更新:修复维基百科、暂时屏蔽OneNote受影响的ip、去除一些无效条目等…
本次版本去除YouTube,如需要请使用上一版本!
谷歌、推特这些必须要用https打开!即:
谷歌学术:https://scholar.google.com/
谷歌搜索:https://www.google.com/ncr
谷歌香港:https://www.google.com.hk/ncr
Twitter:https://twitter.com/?lang=zh-cn
建议不要使用国产浏览器,特别是360,因为国产浏览器即使你使用https
它也会强制你使用默认http,还有就是会上传用户数据尽可能使用Chrome
下载&修改hosts安全软件可能会“报毒”(误报),特别是卡巴斯基
你可以暂时退出或者添加信任即可!
如果您以前的hosts还能使用,无需更新!
献给热爱Google的人们!
百度网盘&微云网盘hosts下载:
里面包含Windows & Mac 、Android & Linux请对号入座。
另外windows可以直接运行批处理命令,hosts会自动替换。
注意:批处理命令会直接覆盖现有hosts,如现有hosts内容重要的话请备份后再使用,或者手动修改!
百度网盘 20161208-hosts下载 提取码 :HTTPS 解码密码:LAOD
微云网盘 20161208-hosts下载 提取码 :4GUfLN 解码密码:LAOD
老D私有云20161208-hosts下载 提取码 :HTTPS 解码密码:LAOD
老D博客离不开大家的支持,如果你愿意,可以捐赠本站,支持老D做得更好!
您可以点击链接:https://laod.cn/donate 选择捐赠。
2016历史更新:
20160103-hosts(qn7i & laod.cn)20160106-hosts(g4jw & www.laod.cn)20160116-hosts(1kfm & laod.cn)20160120-hosts(nbbi & laod.cn)20160127-hosts (2gu2 & laod.cn)- 20160127-v2-hosts (sjfj & laod.cn)
20160131-hosts (3r4n & laod.cn)20160131-V2-hosts(awi2 & laod.cn)20160131-V3-hosts(xd8p & laod.cn)20160201-hosts(n9hp & laod.cn)20160202-hosts(xq9n & laod.cn)20160206-hosts(y5kj & laod.org)20160213-hosts(kgj1 & xinniankuaile)20160218-hosts(ttj8 & laod.cn)20160220-hosts(8u4u & zhunihaoyun)20160225-hosts(fvr6 & laodboke)- 20160228-hosts (dcyt & laod.cn)
- 20160301-hosts (s2sg & laod.cn)
20160307-hosts (rrs5 & nite)20160310-hosts (wxfc & laod.cn)20160310-hosts-v2 (xhwu & laod.cn)20160310-hosts-v3 (m3y2 & laod.cn)20160311-hosts (jtr5 & jubaonimabi)20160311-hosts-v2 (yyng & yoo)20160311-hosts-v3 (hsmi & zuile)20160319-hosts (yjkj @ laod.cn)20160324-hosts (tym2 & laodboke)20160327-hosts (98sa & laod.org)20160328-hosts (hnvd & laod.org)20160328-hosts-v2 (d6py & laod.org)20160330-hosts (7y3h & laod.org)20160331-hosts (62hb & laod.org)20160404-hosts (i65q & laod.org)20160410-hosts (gpx8 & laod.cn)20160417-hosts (rs5n & laod.cn)20160419-hosts (24ar & laod.cn )20160425-hosts (v578 & laod.org)20160508-hosts (laod & laod.cn)20160524-hosts (laod & laod.cn)- 20160526-hosts (laod & laod.org)
- 20160601-hosts (laod & laod.cn)
20160604-hosts (DDDD & laod.cn)20160615-hosts (laod & laod.cn)20160618-hosts (8djp & laod.cn)20160623-hosts (laod & laod.org)20160703-hosts (laod & laod.org)20160722-hosts (laod & laod.org)20160730-hosts (laod & laod.org)20160801-hosts (laod & https://laod.cn)20160802-hosts (laod & https://laod.cn)20160807-hosts (laod & https://laod.cn)20160814-hosts (laod & https://laod.cn)20160818-hosts (laodorg & laod.org)20160824-hosts (laodcn & laod)20160828-hosts (LAOD & laod.org)20160831-hosts (laod & laod.org)20160901-hosts (laod & laod.org)20160905-hosts (laod & laod)20160911-hosts-V2 (laodcn & laod.cn)20160919-hosts (laodcn & https://laod.cn)20160923-hosts (laodcn & https://laod.cn)20160926-hosts (laodcn & https://laod.cn)20160927-hosts (laodcn & https://laod.cn)20160928-hosts (laodcn & https://laod.cn)20161002-hosts (laodblog & https)20161007-hosts (laodblog & LAOD)20161008-hosts (LAOD & https)20161011-hosts (https & laod.cn)20161013-hosts (https & laod.cn)20161014-hosts (https & LAOD)20161016-hosts (https & https://laod.cn)20161023-hosts (laodcn & laod.cn)20161027-hosts (laod & D1027)20161028V2-hosts (laod & D1028)20161101-V2-hosts (laod & laod.cn)20161102-hosts (https & laod.cn)20161103-hosts (https & laod.cn)20161107-hosts-test (https & laod.cn)20161108-hosts (HTTPS & LAODCN)20161108-hosts-V2 (HTTPS & LAOD.CN)20161113-hosts-V2 (LAOD & LAOD)20161121-hosts (https & laod)- 20161125-hosts (HAOLEN & LEN)
20161205-hosts特别版(HTTPS & laod.cn)- 20161208-hosts (HTTPS & laod.cn)
- 20161218-hosts (HTTPS & LAOD)