Skip to content

Commit

Permalink
chore: update hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired authored and action_bot committed Nov 16, 2024
1 parent 55f5fba commit 6ed861b
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 196 deletions.
160 changes: 61 additions & 99 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,120 +30,80 @@

```bash

# cnNetTool Start in 2024-11-14 22:07:51 +08:00
# cnNetTool Start in 2024-11-16 12:00:27 +08:00
140.82.113.26 alive.github.com
20.205.243.168 api.github.com
140.82.113.21 central.github.com
140.82.112.21 central.github.com
20.205.243.165 codeload.github.com
140.82.114.21 collector.github.com
140.82.113.3 gist.github.com
140.82.112.22 collector.github.com
20.205.243.166 gist.github.com
20.205.243.166 github.com
140.82.112.17 github.community
151.101.193.194 github.global.ssl.fastly.net
3.5.29.79 github-com.s3.amazonaws.com
52.217.67.108 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.113.25 live.github.com
140.82.114.18 github.community
146.75.29.194 github.global.ssl.fastly.net
52.216.208.209 github-com.s3.amazonaws.com
54.231.228.41 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.114.26 live.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
2620:1ec:21::16 pipelines.actions.githubusercontent.com
185.199.110.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.111.153 github.io
2606:50c0:8003::153 github.io
185.199.111.153 githubstatus.com
2606:50c0:8003::153 githubstatus.com
185.199.111.153 assets-cdn.github.com
2606:50c0:8003::153 assets-cdn.github.com
185.199.109.133 avatars.githubusercontent.com
2606:50c0:8001::154 avatars.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
2606:50c0:8001::154 avatars0.githubusercontent.com
185.199.109.133 avatars1.githubusercontent.com
2606:50c0:8001::154 avatars1.githubusercontent.com
185.199.109.133 avatars2.githubusercontent.com
2606:50c0:8001::154 avatars2.githubusercontent.com
185.199.109.133 avatars3.githubusercontent.com
2606:50c0:8001::154 avatars3.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
2606:50c0:8001::154 avatars4.githubusercontent.com
185.199.109.133 avatars5.githubusercontent.com
2606:50c0:8001::154 avatars5.githubusercontent.com
185.199.109.133 camo.githubusercontent.com
2606:50c0:8001::154 camo.githubusercontent.com
185.199.109.133 cloud.githubusercontent.com
2606:50c0:8001::154 cloud.githubusercontent.com
185.199.109.133 desktop.githubusercontent.com
2606:50c0:8001::154 desktop.githubusercontent.com
185.199.109.133 favicons.githubusercontent.com
2606:50c0:8001::154 favicons.githubusercontent.com
185.199.109.133 github.map.fastly.net
2606:50c0:8001::154 github.map.fastly.net
185.199.109.133 media.githubusercontent.com
2606:50c0:8001::154 media.githubusercontent.com
185.199.109.133 objects.githubusercontent.com
2606:50c0:8001::154 objects.githubusercontent.com
185.199.109.133 private-user-images.githubusercontent.com
2606:50c0:8001::154 private-user-images.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
2606:50c0:8001::154 raw.githubusercontent.com
185.199.109.133 user-images.githubusercontent.com
2606:50c0:8001::154 user-images.githubusercontent.com
18.66.102.107 tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 tmdb.org
18.66.102.107 api.tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 api.tmdb.org
18.66.102.107 files.tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 files.tmdb.org
3.160.150.81 themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 themoviedb.org
3.160.150.81 api.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 api.themoviedb.org
3.160.150.81 www.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 www.themoviedb.org
3.160.150.81 auth.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 auth.themoviedb.org
185.93.1.243 image.tmdb.org
2400:52e0:1a01::996:1 image.tmdb.org
185.93.1.243 images.tmdb.org
2400:52e0:1a01::996:1 images.tmdb.org
52.94.237.74 imdb.com
185.199.110.133 avatars.githubusercontent.com
185.199.110.133 avatars0.githubusercontent.com
185.199.110.133 avatars1.githubusercontent.com
185.199.110.133 avatars2.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.110.133 camo.githubusercontent.com
185.199.110.133 cloud.githubusercontent.com
185.199.110.133 desktop.githubusercontent.com
185.199.110.133 favicons.githubusercontent.com
185.199.110.133 github.map.fastly.net
185.199.110.133 media.githubusercontent.com
185.199.110.133 objects.githubusercontent.com
185.199.110.133 private-user-images.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
13.225.142.102 tmdb.org
13.225.142.102 api.tmdb.org
13.225.142.102 files.tmdb.org
18.154.144.73 themoviedb.org
18.154.144.73 api.themoviedb.org
18.154.144.73 www.themoviedb.org
18.154.144.73 auth.themoviedb.org
84.17.38.229 image.tmdb.org
84.17.38.229 images.tmdb.org
52.94.225.248 imdb.com
13.226.254.49 www.imdb.com
52.94.237.74 secure.imdb.com
52.94.225.248 secure.imdb.com
13.226.254.49 s.media-imdb.com
52.94.225.248 us.dd.imdb.com
52.94.228.167 us.dd.imdb.com
13.226.254.49 www.imdb.to
52.94.225.248 imdb-webservice.amazon.com
98.82.155.134 origin-www.imdb.com
3.166.233.221 m.media-amazon.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 m.media-amazon.com
151.101.129.16 Images-na.ssl-images-amazon.com
2600:9000:274f:8a00:1d:d7f6:39d4:e6e1 Images-na.ssl-images-amazon.com
3.166.233.221 images-fe.ssl-images-amazon.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 images-fe.ssl-images-amazon.com
3.166.233.221 images-eu.ssl-images-amazon.com
2600:9000:274f:3000:1d:d7f6:39d4:e6e1 images-eu.ssl-images-amazon.com
3.166.233.221 ia.media-imdb.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 ia.media-imdb.com
151.101.89.16 f.media-amazon.com
2a04:4e42:15::272 f.media-amazon.com
18.238.192.108 imdb-video.media-imdb.com
13.226.220.89 dqpnq362acqdi.cloudfront.net
2600:9000:223e:6a00:5:ce70:a180:21 dqpnq362acqdi.cloudfront.net
64.233.189.148 translate.google.com
64.233.189.148 translate.googleapis.com
64.233.189.148 translate-pa.googleapis.com
3.166.228.13 plugins.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 plugins.jetbrains.com
3.166.228.13 download.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 download.jetbrains.com
3.166.228.13 cache-redirector.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 cache-redirector.jetbrains.com

# Update time: 2024-11-14 22:07:51 +08:00
52.94.237.74 imdb-webservice.amazon.com
44.215.137.99 origin-www.imdb.com
52.84.244.143 m.media-amazon.com
146.75.29.16 Images-na.ssl-images-amazon.com
18.154.141.169 images-fe.ssl-images-amazon.com
146.75.29.16 images-eu.ssl-images-amazon.com
23.44.201.168 ia.media-imdb.com
199.232.45.16 f.media-amazon.com
3.168.147.2 imdb-video.media-imdb.com
13.226.220.8 dqpnq362acqdi.cloudfront.net
172.217.164.103 translate.google.com
172.217.164.103 translate.googleapis.com
172.217.164.103 translate-pa.googleapis.com
216.137.39.116 plugins.jetbrains.com
216.137.39.116 download.jetbrains.com
216.137.39.116 cache-redirector.jetbrains.com

# Update time: 2024-11-16 12:00:27 +08:00
# GitHub仓库: https://github.com/sinspired/cnNetTool
# cnNetTool End

```

该内容会自动定时更新, 数据更新时间:2024-11-14 22:07:51 +08:00
以上内容会自动定时更新, 数据更新时间:2024-11-16 12:00:27 +08:00

#### 1.2.2 修改 hosts 文件

Expand All @@ -160,6 +120,8 @@ hosts 文件在每个系统的位置不一,详情如下:
2. Linux、Mac 使用 Root 权限:`sudo vi /etc/hosts`
3. iPhone、iPad 须越狱、Android 必须要 root。

> [!NOTE]
> 请先把 `hosts` 文件复制到其他目录,修改后再复制回去,否则可能无法修改。
## 二、安装

Expand All @@ -181,7 +143,7 @@ pip install -r requirements.txt
* --debug 启用调试日志
* --show-availbale-list, --list 显示可用dns列表,通过 --num 控制显示数量
* --best-dns-num BEST_DNS_NUM, --num 显示最佳DNS服务器的数量
* --algorithm --mode {region,overall} 默认 `region` 平衡IPv4和ipv6 DNS
* --algorithm --mode {region,overall} 默认 `region` 平衡IPv4和ipv6 DNS,选择 `overall` 则会在所有IP中选择最快IP
* --show-resolutions, --show 显示域名解析结果

### Hosts文件工具 `SetHosts.py`
Expand Down
154 changes: 57 additions & 97 deletions hosts
Original file line number Diff line number Diff line change
@@ -1,111 +1,71 @@

# cnNetTool Start in 2024-11-14 22:07:51 +08:00
# cnNetTool Start in 2024-11-16 12:00:27 +08:00
140.82.113.26 alive.github.com
20.205.243.168 api.github.com
140.82.113.21 central.github.com
140.82.112.21 central.github.com
20.205.243.165 codeload.github.com
140.82.114.21 collector.github.com
140.82.113.3 gist.github.com
140.82.112.22 collector.github.com
20.205.243.166 gist.github.com
20.205.243.166 github.com
140.82.112.17 github.community
151.101.193.194 github.global.ssl.fastly.net
3.5.29.79 github-com.s3.amazonaws.com
52.217.67.108 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.113.25 live.github.com
140.82.114.18 github.community
146.75.29.194 github.global.ssl.fastly.net
52.216.208.209 github-com.s3.amazonaws.com
54.231.228.41 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.114.26 live.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
2620:1ec:21::16 pipelines.actions.githubusercontent.com
185.199.110.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.111.153 github.io
2606:50c0:8003::153 github.io
185.199.111.153 githubstatus.com
2606:50c0:8003::153 githubstatus.com
185.199.111.153 assets-cdn.github.com
2606:50c0:8003::153 assets-cdn.github.com
185.199.109.133 avatars.githubusercontent.com
2606:50c0:8001::154 avatars.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
2606:50c0:8001::154 avatars0.githubusercontent.com
185.199.109.133 avatars1.githubusercontent.com
2606:50c0:8001::154 avatars1.githubusercontent.com
185.199.109.133 avatars2.githubusercontent.com
2606:50c0:8001::154 avatars2.githubusercontent.com
185.199.109.133 avatars3.githubusercontent.com
2606:50c0:8001::154 avatars3.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
2606:50c0:8001::154 avatars4.githubusercontent.com
185.199.109.133 avatars5.githubusercontent.com
2606:50c0:8001::154 avatars5.githubusercontent.com
185.199.109.133 camo.githubusercontent.com
2606:50c0:8001::154 camo.githubusercontent.com
185.199.109.133 cloud.githubusercontent.com
2606:50c0:8001::154 cloud.githubusercontent.com
185.199.109.133 desktop.githubusercontent.com
2606:50c0:8001::154 desktop.githubusercontent.com
185.199.109.133 favicons.githubusercontent.com
2606:50c0:8001::154 favicons.githubusercontent.com
185.199.109.133 github.map.fastly.net
2606:50c0:8001::154 github.map.fastly.net
185.199.109.133 media.githubusercontent.com
2606:50c0:8001::154 media.githubusercontent.com
185.199.109.133 objects.githubusercontent.com
2606:50c0:8001::154 objects.githubusercontent.com
185.199.109.133 private-user-images.githubusercontent.com
2606:50c0:8001::154 private-user-images.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
2606:50c0:8001::154 raw.githubusercontent.com
185.199.109.133 user-images.githubusercontent.com
2606:50c0:8001::154 user-images.githubusercontent.com
18.66.102.107 tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 tmdb.org
18.66.102.107 api.tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 api.tmdb.org
18.66.102.107 files.tmdb.org
2600:9000:275d:9e00:5:da10:7440:93a1 files.tmdb.org
3.160.150.81 themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 themoviedb.org
3.160.150.81 api.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 api.themoviedb.org
3.160.150.81 www.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 www.themoviedb.org
3.160.150.81 auth.themoviedb.org
2600:9000:27e3:c00:e:5373:440:93a1 auth.themoviedb.org
185.93.1.243 image.tmdb.org
2400:52e0:1a01::996:1 image.tmdb.org
185.93.1.243 images.tmdb.org
2400:52e0:1a01::996:1 images.tmdb.org
52.94.237.74 imdb.com
185.199.110.133 avatars.githubusercontent.com
185.199.110.133 avatars0.githubusercontent.com
185.199.110.133 avatars1.githubusercontent.com
185.199.110.133 avatars2.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.110.133 camo.githubusercontent.com
185.199.110.133 cloud.githubusercontent.com
185.199.110.133 desktop.githubusercontent.com
185.199.110.133 favicons.githubusercontent.com
185.199.110.133 github.map.fastly.net
185.199.110.133 media.githubusercontent.com
185.199.110.133 objects.githubusercontent.com
185.199.110.133 private-user-images.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
13.225.142.102 tmdb.org
13.225.142.102 api.tmdb.org
13.225.142.102 files.tmdb.org
18.154.144.73 themoviedb.org
18.154.144.73 api.themoviedb.org
18.154.144.73 www.themoviedb.org
18.154.144.73 auth.themoviedb.org
84.17.38.229 image.tmdb.org
84.17.38.229 images.tmdb.org
52.94.225.248 imdb.com
13.226.254.49 www.imdb.com
52.94.237.74 secure.imdb.com
52.94.225.248 secure.imdb.com
13.226.254.49 s.media-imdb.com
52.94.225.248 us.dd.imdb.com
52.94.228.167 us.dd.imdb.com
13.226.254.49 www.imdb.to
52.94.225.248 imdb-webservice.amazon.com
98.82.155.134 origin-www.imdb.com
3.166.233.221 m.media-amazon.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 m.media-amazon.com
151.101.129.16 Images-na.ssl-images-amazon.com
2600:9000:274f:8a00:1d:d7f6:39d4:e6e1 Images-na.ssl-images-amazon.com
3.166.233.221 images-fe.ssl-images-amazon.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 images-fe.ssl-images-amazon.com
3.166.233.221 images-eu.ssl-images-amazon.com
2600:9000:274f:3000:1d:d7f6:39d4:e6e1 images-eu.ssl-images-amazon.com
3.166.233.221 ia.media-imdb.com
2600:9000:274f:b200:1d:d7f6:39d4:e6e1 ia.media-imdb.com
151.101.89.16 f.media-amazon.com
2a04:4e42:15::272 f.media-amazon.com
18.238.192.108 imdb-video.media-imdb.com
13.226.220.89 dqpnq362acqdi.cloudfront.net
2600:9000:223e:6a00:5:ce70:a180:21 dqpnq362acqdi.cloudfront.net
64.233.189.148 translate.google.com
64.233.189.148 translate.googleapis.com
64.233.189.148 translate-pa.googleapis.com
3.166.228.13 plugins.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 plugins.jetbrains.com
3.166.228.13 download.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 download.jetbrains.com
3.166.228.13 cache-redirector.jetbrains.com
2600:9000:2365:f400:12:7c44:15c0:93a1 cache-redirector.jetbrains.com
52.94.237.74 imdb-webservice.amazon.com
44.215.137.99 origin-www.imdb.com
52.84.244.143 m.media-amazon.com
146.75.29.16 Images-na.ssl-images-amazon.com
18.154.141.169 images-fe.ssl-images-amazon.com
146.75.29.16 images-eu.ssl-images-amazon.com
23.44.201.168 ia.media-imdb.com
199.232.45.16 f.media-amazon.com
3.168.147.2 imdb-video.media-imdb.com
13.226.220.8 dqpnq362acqdi.cloudfront.net
172.217.164.103 translate.google.com
172.217.164.103 translate.googleapis.com
172.217.164.103 translate-pa.googleapis.com
216.137.39.116 plugins.jetbrains.com
216.137.39.116 download.jetbrains.com
216.137.39.116 cache-redirector.jetbrains.com

# Update time: 2024-11-14 22:07:51 +08:00
# GitHub²Ö¿â: https://github.com/sinspired/cnNetTool
# Update time: 2024-11-16 12:00:27 +08:00
# GitHub仓库: https://github.com/sinspired/cnNetTool
# cnNetTool End

0 comments on commit 6ed861b

Please sign in to comment.