Git Product home page Git Product logo

Comments (1)

aofei avatar aofei commented on August 16, 2024

为了保证模块的下载速度 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.