Giter Club home page Giter Club logo

ipv6-hosts's Introduction

Why

Google Code 上的 ipv6-hosts 项目已经不是很活跃,很多域名也已经失效, 因此新建一个项目提供有效的 ipv6 hosts。

What

本项目的主要目的是对支持 IPv6 的资源进行加速访问。
将 ipv6-hosts 地址重新进行分类整理,添加了许多新地址,并且提供了一个刷新地址的脚本。

\
Hosts https://raw.githubusercontent.com/lennylxx/ipv6-hosts/master/hosts
Wiki https://github.com/lennylxx/ipv6-hosts/wiki
Info 1e100 服务器部署信息表, SN 编码服务器列表
  • 虽然本项目给出了一些域名的 IPv6 地址,某些网站仍需要使用 HTTPS 协议才能正常访问。
    推荐使用 HTTPS Everywhere 插件,支持主流的浏览器。

脚本

update_hosts.py

用于更新 hosts 文件中 IPv6 地址的多线程 Python 脚本。

usage: update_hosts [OPTIONS] FILE
A simple multi-threading tool used to update hosts file.

Options:
  -h, --help             show this help message and exit
  -s DNS                 set another dns server, default: 2001:4860:4860::8844
  -o OUT_FILE            ouput file, default: inputfilename.out
  -t QUERY_TYPE          dig command query type, defalut: aaaa
  -c, --cname            write canonical name into hosts file
  -n THREAD_NUM          set the number of worker threads, default: 10

merge_snippets.sh

用于合并 hosts 文件的 BASH 脚本。

usage: ./merge_snippets.sh new_hosts

常用公共 DNS 服务器

  • 如果您的网络环境时延较小 (ping 下列 DNS 时延小于 60ms),强烈建议您 不要 使用本项目,直接配置 IPv6 DNS。
  • 因为 hosts 文件维护起来很麻烦,并不能保证 IP 与 DNS 同步,并且 hosts 文件提供的 IP 地址 (大多来自国外的公共 DNS),在您的网络环境下并不一定能提供最佳的访问速度。
  • 目前几乎所有的 DNS 都支持 IPv6,如果您所在的网络有可信的且不受干扰的 DNS,建议直接配置 DNS。
美国 美国
Hostname ordns.he.net tserv1.lax1.he.net
IPv6 2001:470:20::2 2001:470:0:9d::2
IPv4 74.82.42.42 66.220.18.42
ISP Hurricane Electric Inc. Hurricane Electric Inc.
City Fremont Fremont
香港 日本
Hostname dns.hutchcity.com ns01.miinet.jp
IPv4 202.45.84.58 203.112.2.4
ISP Hutchison Whampoa Ltd. UCOM Corporation
City Hong Kong Tokyo

更多公共 DNS 服务器请查询: http://public-dns.tk

Q & A
Q: 我访问 Google 太慢了,如何加速?
A: 将 Google 的动态 IPv6 前缀换为延时较低的地址段,了解如何加速
当前版本采用了最快的洛杉矶的服务器,北京教育网延时约为 160 ms。

收录原则

  1. 本项目主要收集经常访问的且被屏蔽的支持 IPv6 技术的站点,如 Google Search,Gmail,YouTube,Google Plus,Google Docs,Google Play, Wikipedia,Facebook 等等。
  2. 暂时不收录不支持 IPv6 且被屏蔽的站点,如 Twitter。
    已支持 Twitter,Dropbox,StackOverflow,deviantART等。(查看支持网站列表)
  3. 部分收录严重影响上网体验的 IPv4 站点,如 YouTube 部分视频缓存服务器,OneDrive 等。
  4. 不收录支持 IPv6 但不被屏蔽的站点,如教育网内各大高校的网站。

Q & A
Q: 为什么没有 Twitter?
A: 首先 Twitter 不支持 IPv6,网上流传的地址并不是官方 IPv6 地址; 其次针对 Twitter 采取了 DNS 污染和 IP 封锁等多重封禁手段, 仅靠 hosts+HTTPS 并不能正常访问。

Q: 为什么又有了 Twitter?
A: 因为找到了没有被封的 IP。 XD

关于隐私

  • 互联网上是没有隐私的,不管是 GFW (政府) 还是 Google (公司) 都会监控并收集您的个人信息、搜索历史、发帖内容等等, 特殊情况下,这些信息全部可以用于追踪。
  • 常怀感恩之心,切勿滥用免费资源。

ipv6-hosts's People

Contributors

lennylxx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.