V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
victimsss
V2EX  ›  程序员

请教一些 dns 和 cdn 的问题和鉴权的问题

  •  
  •   victimsss · 51 天前 · 921 次点击
    这是一个创建于 51 天前的主题,其中的信息可能已经有所发展或是发生改变。
    先说一下场景:
    目前业务使用阿里云 OSS ,需要绑定自定义域名,比如 xx.oss-cn-shenzhen.aliyuncs.com 绑定到 static.domain.com ,然后再给 static 开启 cdn 加速, 加速地址为 static.domain.w.cdngslb.com (全球)

    1 、这时候 dns 是不是需要将 static 域名同时添加 cname:xx.oss-cn-shenzhen.aliyuncs.comstatic.domain.w.cdngslb.com ? 我绑定之后 通过 nslookup 解析到上面的两个地址。

    2 、一个 oss 的 bucket 支持绑定多个域名,我目前根据不同资源配置不同的域名和加速规则,是否合理。

    3 、cnd 支持 url 鉴权( https://help.aliyun.com/zh/cdn/user-guide/configure-url-signing?spm=5176.11785003.help.dexternal.135e142fB7AhGj ),而 oss 也支持通过签名的方式分享( https://help.aliyun.com/zh/oss/user-guide/how-to-obtain-the-url-of-a-single-object-or-the-urls-of-multiple-objects?spm=a2c4g.11186623.0.0.2dc255f8PqGbB3#4c2493705dduz ),

    这两种场景是否互斥,我之前一直使用后者,今天维护别人代码的时候,才发现公司有的业务使用前者。
    1 条回复
    victimsss
        1
    victimsss  
    OP
       50 天前
    已解决,有空说一下思路。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1783 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:29 · PVG 08:29 · LAX 17:29 · JFK 20:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.