首页 > 其他分享 >修改 DNS 配置加速Github访问

修改 DNS 配置加速Github访问

时间:2024-04-23 15:00:26浏览次数:21  
标签:githubusercontent Github 140.82 访问 github DNS 185.199 com 111.133

1.3、设置Hosts文件和刷新

  • 文件地址:C:\Windows\System32\drivers\etc\hosts
  • 文件权限:Right Click> Properties> Security
  •  

 

  • 文件修改:注意域名后不要有

 

 

  • 域名刷新(Windows):[cmd] ipconfig /flushdns
  • (Mac): sudo killall -HUP mDNSResponder

 

1.4、配置IP和域名的本地映射文件hosts文件

220.181.38.149 yyy.niubility.com

127.0.0.1 xxx.niubility.com

1.5、本地域名刷新

 

1.6、测试本地域名是否配置成功

[E:\software_install\nginx-1.18.0]$ ping xxx.niubility.com

[E:\software_install\nginx-1.18.0]$ ping yyy.niubility.com

 

# GitHub520 Host Start
140.82.112.26                 alive.github.com
140.82.113.6                  api.github.com
185.199.109.153               assets-cdn.github.com
185.199.111.133               avatars.githubusercontent.com
185.199.111.133               avatars0.githubusercontent.com
185.199.111.133               avatars1.githubusercontent.com
185.199.111.133               avatars2.githubusercontent.com
185.199.111.133               avatars3.githubusercontent.com
185.199.111.133               avatars4.githubusercontent.com
185.199.111.133               avatars5.githubusercontent.com
185.199.111.133               camo.githubusercontent.com
140.82.112.22                 central.github.com
185.199.111.133               cloud.githubusercontent.com
140.82.114.10                 codeload.github.com
140.82.114.21                 collector.github.com
185.199.111.133               desktop.githubusercontent.com
185.199.111.133               favicons.githubusercontent.com
140.82.112.3                  gist.github.com
52.216.53.225                 github-cloud.s3.amazonaws.com
52.217.123.73                 github-com.s3.amazonaws.com
52.217.140.193                github-production-release-asset-2e65be.s3.amazonaws.com
16.182.74.129                 github-production-repository-file-5c1aeb.s3.amazonaws.com
16.182.72.249                 github-production-user-asset-6210df.s3.amazonaws.com
192.0.66.2                    github.blog
140.82.114.4                  github.com
140.82.112.17                 github.community
185.199.111.154               github.githubassets.com
151.101.1.194                 github.global.ssl.fastly.net
185.199.109.153               github.io
185.199.111.133               github.map.fastly.net
185.199.109.153               githubstatus.com
140.82.112.26                 live.github.com
185.199.111.133               media.githubusercontent.com
185.199.111.133               objects.githubusercontent.com
13.107.42.16                  pipelines.actions.githubusercontent.com
185.199.111.133               raw.githubusercontent.com
185.199.111.133               user-images.githubusercontent.com
13.107.246.40                 vscode.dev
140.82.114.21                 education.github.com


# Update time: 2024-04-23T14:06:04+08:00
# Update url: https://raw.hellogithub.com/hosts
# Star me: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

  

标签:githubusercontent,Github,140.82,访问,github,DNS,185.199,com,111.133
From: https://www.cnblogs.com/anyview/p/18152897

相关文章

  • springboot 统计接口耗时及指定时间接口访问次数
     1.使用AOP在不改变原有方法的基础上对接口方法增强,引入依赖<!--引入AOP依赖--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-aop</artifactId></dependency><!--引入Redis依赖--><depen......
  • 62列表和元组访问速度对比
      importtimeimportrandom#python列表和元组通过千万级别的数据访问,对比耗时时间,元组访问速度不一定比列表快,还是列表略快过元组。defListTime():print('正在计算访问列表元素耗时时间')l=[iforiinrange(10000000)]t1=time.time()for_......
  • 使用GitHub Actions和GitHub pages实现前端项目的自动打包部署
    1.引言Asweallknow,前端部署项目是比较简单的,通常情况下只需要将打包的产物(index.html、.js文件、.css文件等)放在Web服务器下就......
  • 最近对接通联支付第三方平台,支付成功后要回调方法告知支付是否成功,通知url必须为直接
    最近公司要做PC端,微信小程序端支付,对接的第三方是通联支付,因为需要用到回调方法,所以想到了natapp内网穿透的方法给通联支付提供回调的地址访问我本机项目第一步:打开natapp,注册账号https://natapp.cn/新手的话,需要购买免费隧道,不用花钱 我几年前已经申请账号也购买免费......
  • 配置Hexo的GitHub Actions自动推送
    还在用hexod来推送你的Blog到Github上吗?本文教您如何使用GithubActions自动推送!生成公私钥对首先,你需要准备一个ssh的公私钥匙对。你可以使用本地的ssh-keygen也可以使用在线网站,例如https://8gwifi.org/sshfunctions.jsp这样的公私钥生成器。生成完后,保存下你的公私钥(分......
  • 记录如何用php做一个网站访问计数器的方法
    简介创建一个简单的网站访问计数器涉及到几个步骤,包括创建一个用于存储访问次数的文件或数据库表,以及编写PHP脚本来增加计数和显示当前的访问次数。方法以下是使用文件存储访问次数的基本步骤:创建一个文本文件来存储计数:在网站的根目录下创建一个名为counter.txt的文件,这个文......
  • C++ 上位软件通过Snap7开源库访问西门子S7-1200/S7-1500数据块的方法
    前言本人一直从事C++上位软件开发工作较多,在之前的项目中通过C++访问西门子PLCS7-200/S7-1200/S7-1500并进行数据交互的应用中一直使用的是ModbusTCP/ModbusRTU协议进行。Modbus上位开源库采用的LibModbus。经过实际应用发现Modbus开源库单次发送和接受的数据不能超......
  • github的Contributions找不到自己:设置git commit邮箱与用户名
    最近发现公司的开源项目github都找不到我的名字公司前端库TDesign无论是vue还是react,都找不到我:https://github.com/Tencent/tdesign-vue/graphs/contributors部门的前端库vue2vue3版本照样没有自己 https://github.com/TencentBlueKing/bkui-vue3 为什么Github没有记录你......
  • 第27天:安全开发-PHP应用&TP框架&路由访问&对象操作&内置过滤绕过&核心漏洞 - Shortcut
     https://www.kancloud.cn/manual/thinkphp5_1/354000ThinkPHP-Vuln-master ......
  • Github进行fork后如何与原仓库同步
    Github进行fork后如何与原仓库同步https://github.com/selfteaching/the-craft-of-selfteaching/issues/671.场景描述太多人同时在帮忙修订错别字或优化xiaolai的the-craft-of-selfteaching了。如果你提交的pullrequest未被接受且得到回复说:“重新fork”,其实是你遇到一......