Comments (1)
为了保证模块的下载速度 goproxy.cn 是使用了 CDN 的,CDN 的节点分布在世界各地,在 DNS 解析上根据就近原则为请求分配地理位置最近、运营商线路最优的 CDN 节点。同时为了保证高可用性又会分配多个这样的 CDN 节点,这也就是为什么你多次 ping 出的 IP 会出现不一样的情况。
目前我们无法给出一个完整的 IP 段列表来解决类似公司内网出网策略的需求问题,不过鉴于类似问题被反复提及我们可以考虑一下。
另外 CDN 节点的 IP 很少存在变动的情况,所以有个临时解决方案是你可以用你 ping 到或者 dig 到的 IP 来申请,并且同时在你的机器本地(比如改 hosts 文件)或者你们团队内部的 DNS 服务器上将 goproxy.cn 的 A 记录固定为那几个 IP。
from goproxy.cn.
Related Issues (20)
- 问题:vscode 远程开发,goproxy 怎么配置? HOT 11
- 问题:内网搭建 最近出现了 502 的报错 HOT 4
- 问题go: google.golang.org/protobuf/encoding/[email protected]: reading https://goproxy.cn/google.golang.org/protobuf/encoding/protojson/@v/v1.30.0.mod: 404 Not Found HOT 1
- 问题:找不到我发布的module HOT 1
- 问题:goproxy.io与goproxy.cn go.sum值不同 HOT 9
- 问题:but does not contain package
- Question: goproxy.cn 504 gateway timeout today HOT 4
- 问题:是否可以使用curl去下载某个链接 HOT 2
- 问题:拉取私有仓库代码问题
- 问题:建议goproxy.cn页面的使用指南,去掉两个$符号,方便复制;同时也可以加一个便捷复制按钮; HOT 1
- 问题:github上上传了我的项目,并创建了release,需要多久才能从goproxy.cn获取到我上传的项目的依赖 HOT 1
- 问题:force push 同一版本号后如何刷新代理上的缓存 HOT 4
- 问题:统计数据近30日的数据都是0,是异常还是数据本来是0? HOT 1
- 问题: HOT 1
- Bug: Cant fetch https://github.com/klauspost/compress HOT 5
- 问题:如何引用私有仓库的子项目 HOT 2
- 问题:如果不小心把隐私信息存储到包中,goproxy.cn这边缓存了,那么如何清除掉缓存呢? HOT 1
- 问题:wget下载模块下的某个包 HOT 2
- 问题:如何通过公司内网代理来访问? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goproxy.cn.