google-ipv6

LGA1150 b7d37e9304 Fix #281 and #274 5 years ago
data 062792989b Update googlevideo 6 years ago
snippets b7d37e9304 Fix #281 and #274 5 years ago
tools 63af1dacab Fix broken script 6 years ago
.gitignore ee8dcd7c55 add macOS gitignore 7 years ago
LICENSE 8baedac641 Update LICENSE 7 years ago
README.md 352861150d Update README.md 7 years ago
hosts b7d37e9304 Fix #281 and #274 5 years ago
hosts_lax fc3308eeed Add ogs.google.com (#219) 6 years ago
merge_snippets.sh 679ef17c0e Fix #182, add IPv4 localhost 7 years ago
update_hosts.py 0a5da14f1d Add invalid address check 7 years ago

README.md

What

Hosts file which is used for improving IPv6 access speed to Google, YouTube, Facebook, Wikipedia, etc. in Mainland China.

Hosts https://raw.githubusercontent.com/lennylxx/ipv6-hosts/master/hosts
Wiki https://github.com/lennylxx/ipv6-hosts/wiki
Info 1e100 servers deployment geoinfo, SN-domain servers list

Scripts

update_hosts.py

usage: update_hosts [OPTIONS] FILE
A simple multi-threading tool used for updating 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            output file, default: inputfilename.out
  -t QUERY_TYPE          dig command query type, default: aaaa
  -c, --cname            write canonical name into hosts file
  -n THREAD_NUM          set the number of worker threads, default: 10

merge_snippets.sh

usage: ./merge_snippets.sh new_hosts

Some Public DNS Servers

USA USA
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 Anycast Los Angeles
Hong Kong Japan
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

More public DNS servers please refer to http://public-dns.info

Privacy

  • The hosts file just redirects domain to its official IPs. You can check them on any other public DNS servers.
  • There is no absolute privacy on the Internet. Learn to protect yourself.
  • Act smart.

License

Code of this project is licensed under the MIT license.
Content of this project (including hosts files, wiki, and Google sheets) is licensed under CC Image.