xLzgkddTywk9ALsX
V2EX  ›  问与答

解析时,选择 cname 后,TTL 还有没有意义?

  •  
  •   xLzgkddTywk9ALsX · May 28, 2014 · 3901 views
    This topic created in 4398 days ago, the information mentioned may be changed or developed.
    假设 a.com cname==> b.com

    a.com TTL为3600
    b.com为A解析,TTL600

    那么理论上,b域名更改IP后, a.com多久生效?
    3 replies    2014-05-28 15:44:14 +08:00
    xiaolang
        1
    xiaolang  
       May 28, 2014
    a.com 生效 应该是 <=3600s+<=600s 吧?
    Lax
        2
    Lax  
       May 28, 2014
    a.com CNAME b.com TTL 3600

    b.com A xx.xx.xx.xx TTL 600

    如果修改b.com的A解析,a.com的CNAME并未更改,也就不用生效。

    dig 看一眼就很清楚啦。比如dig www.baidu.com
    www.baidu.com. 1094 IN CNAME www.a.shifen.com.
    www.a.shifen.com. 194 IN A 220.181.112.244
    www.a.shifen.com. 194 IN A 220.181.111.188

    数字是剩余过期时间
    Lone
        3
    Lone  
       May 28, 2014   ❤️ 1
    同一DNS访问过为3600(老用户),同一DNS没有访问过即时生效(新用户)。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1112 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 18:11 · PVG 02:11 · LAX 11:11 · JFK 14:11
    ♥ Do have faith in what you're doing.