为什么更新域的名称服务器需要这么长时间? [英] Why does updating a domain's nameservers take so long?

查看:38
本文介绍了为什么更新域的名称服务器需要这么长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我更改我的域(.com)名称服务器时,最多可能需要 2 天时间.
我知道这很平常,但为什么会这样?

When I change my domain's (a dot com) nameservers it can take up to 2 days.
I know that that's usual, but WHY is that?

只是好奇,因为我的虚拟主机出现故障,我现在必须等待,因为我更改了名称服务器,为什么?

Just curious because my webhosting went down and I have to wait now because I changed nameservers, why?


做了一些小调查,我的虚拟主机说它最多可能需要 24 小时.
好吧,我知道大约是 24 - 48 小时,但显然只有 24 小时.
无论如何,我找到了这篇文章:http://www.tech-faq.com/how-to-flush-dns.html
它说你可以用 ipconfig blabla 刷新 DNS,也已经知道了.
但值得注意的是,这是站在第二段:


Did some little research and my webhosting says it can MAXIMUM take up to 24 hours.
Ok, I knew it was around 24 - 48 hours, but it is apperently only 24 hours.
Anyways, I found this article: http://www.tech-faq.com/how-to-flush-dns.html
And it says that you can flush DNS with ipconfig blabla, also already knew that.
But what is remarkable is that this is standing at the second paragraph:

MaxCacheTtl 表示 DNS 查找%u2019s 结果将被缓存的最长时间.默认值为 86,400 秒.如果此值设置为 1,则 DNS 条目将仅缓存一秒钟.
The MaxCacheTtl represents the maximum time that a DNS lookup%u2019s results will be cached for. The default value is 86,400 seconds. If this value is set to 1, DNS entries will only be cached for a single second.

现在拿起计算器输入:86,400/60/60 = TADAH!!24(小时)
我还没有尝试过,因为我的注册中没有注册密钥:S

Now take your calculator and type in: 86,400 / 60 / 60 = TADAH!! 24 (hours)
I haven't tried it yet because the registery key wasn't present in my registery :S

推荐答案

当您更改名称服务器时,您必须确保 名称服务器也包含新信息,否则某些解析器不会注意到.com 区域中的委托已更改.

When you change your nameservers you have to ensure that the old nameservers also contain the new information, otherwise some resolvers won't notice that the delegation in the .com zone has changed.

有关更多信息,请参阅https://serverfault.com/questions/322490/what-is-the-correct-behaviour-when-nameservers-change/322524#322524

这篇关于为什么更新域的名称服务器需要这么长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆