Why does updating a domain's nameservers take so long? [closed]
Asked Answered
B

2

25

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?

EDIT:
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:

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.

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

Bashan answered 26/11, 2011 at 21:33 Comment(2)
I'm having a .ma domain (registered at domain.ma), in their cpanel it shows that it was updated 6 days ago but all whois services and my new dns service also confirms that it hasn't change... For my requests they promised responses in 24 hour but missed all the times... about 5 times in consecutive days until now, no response ever since.Enisle
These days updates to the authoritative DNS servers usually takes a minute or two, depending on your registrar and TLD operator. The problem is caching by user devices and service provider DNS servers. You can flush the user device cache but nothing you can do about DNS servers devices are connecting to. As you found out TTL is usually a day.Oneman
S
11

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.

For more information see https://serverfault.com/questions/322490/what-is-the-correct-behaviour-when-nameservers-change/322524#322524

Spalato answered 26/11, 2011 at 22:15 Comment(0)
B
10

First of all, I think the 2 days figure is outdated. I've seen it take UP TO 48 hours, but standard now is more like 4-8 hours. Also, because of the nature of DNS, your computer may see the dns resolve hours before (or after) your phone does.

Anyways, the answer to your question boils down to the concept of propagation. The DNS server you update has to tell all the other DNS servers out there about the change. The other servers only request an update once the TTL has passed, and those numbers can all add up when you're talking about all the DNS servers around the world.

Bel answered 26/11, 2011 at 21:42 Comment(3)
DNS does not "propagate" - it simply expires from cacheSpalato
This is technically true, but the term propagation is widely used to describe the process. I thought my post was clear that other DNS servers request updates from one another, and aren't "pushed". More reading for those curious: wiki.dreamhost.com/DNS_propagationBel
In order for it to expire from the cache, it must have propagated. So, yes, DNS changes DO propagate.Hamitosemitic

© 2022 - 2024 — McMap. All rights reserved.