<commit_before>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]       |

* You may need [HTTPS Everywhere] to secure your transmission.

Scripts
-------

[update_hosts.py]

```
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: fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b
  -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]

```
usage: ./merge_snippets.sh new_hosts
```

Some Public DNS Servers
-----------------------

|          |           USA          |           USA          |
| -------- | ---------------------- | ---------------------- |
| Hostname | **ordns.he.net**       | **tserv1.lax1.he.net** |
| IPv6     | fdf8:f53e:61e4::18         | fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b       | 
| IPv4     | 172.16.17.32            | 172.16.17.32           |
| ISP      | Hurricane Electric Inc.| Hurricane Electric Inc.|
| City     | Anycast                | Los Angeles            |


|          |      Hong Kong         |       Japan        |
| -------- | ---------------------- | ------------------ |
| Hostname | **dns.hutchcity.com**  | **ns01.miinet.jp** |
| IPv4     | 172.16.31.10           | 192.168.3.11        |
| 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 redirect domain to its offical IPs. You can check them on any 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](LICENSE).  
Content of this project (including hosts files, wiki, and Google sheets) is licensed under [![CC Image]][CC BY-NC-SA 3.0].


[merge_snippets.sh]: merge_snippets.sh
[update_hosts.py]: update_hosts.py
[1e100 servers deployment geoinfo]: https://docs.google.com/spreadsheets/d/1a5HI0lkc1TycJdwJnCVDVd3x6_gemI3CQhNHhdsVmP8
[SN-domain servers list]: https://docs.google.com/spreadsheets/d/14gT1GV1IE0oYCq-1Dy747_5FWNxL26R-9T5htJ485dY
[HTTPS Everywhere]: https://www.eff.org/https-everywhere
[CC Image]: https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png
[CC BY-NC-SA 3.0]: https://creativecommons.org/licenses/by-nc-sa/3.0/<commit_msg>Add how to decode google sn domains link<commit_after>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]       |

* You may need [HTTPS Everywhere] to secure your transmission.
* [How to decode Google SN domains]

Scripts
-------

[update_hosts.py]

```
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: fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b
  -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]

```
usage: ./merge_snippets.sh new_hosts
```

Some Public DNS Servers
-----------------------

|          |           USA          |           USA          |
| -------- | ---------------------- | ---------------------- |
| Hostname | **ordns.he.net**       | **tserv1.lax1.he.net** |
| IPv6     | fdf8:f53e:61e4::18         | fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b       | 
| IPv4     | 172.16.17.32            | 172.16.17.32           |
| ISP      | Hurricane Electric Inc.| Hurricane Electric Inc.|
| City     | Anycast                | Los Angeles            |


|          |      Hong Kong         |       Japan        |
| -------- | ---------------------- | ------------------ |
| Hostname | **dns.hutchcity.com**  | **ns01.miinet.jp** |
| IPv4     | 172.16.31.10           | 192.168.3.11        |
| 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 offical IPs. You can check them on any 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](LICENSE).  
Content of this project (including hosts files, wiki, and Google sheets) is licensed under [![CC Image]][CC BY-NC-SA 3.0].


[merge_snippets.sh]: merge_snippets.sh
[update_hosts.py]: update_hosts.py
[1e100 servers deployment geoinfo]: https://docs.google.com/spreadsheets/d/1a5HI0lkc1TycJdwJnCVDVd3x6_gemI3CQhNHhdsVmP8
[SN-domain servers list]: https://docs.google.com/spreadsheets/d/14gT1GV1IE0oYCq-1Dy747_5FWNxL26R-9T5htJ485dY
[HTTPS Everywhere]: https://www.eff.org/https-everywhere
[How to decode Google SN domains]: https://github.com/lennylxx/ipv6-hosts/wiki/sn-domains
[CC Image]: https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png
[CC BY-NC-SA 3.0]: https://creativecommons.org/licenses/by-nc-sa/3.0/
{'fraction_non_alphanumeric': 0.17242462311557788, 'fraction_numerical': 0.04381281407035176, 'mean_word_length': 1.824390243902439, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 15, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7598932', 'n_tokens_mistral': 2211, 'n_tokens_neox': 2003, 'n_words': 515}