How long does it take for a DNS record to update when using DNS Manager?
v=spf1 mx ~all
and it hasn't updated. Looking at the zone file it doesn't include the TXT record. Granted it's only been about 5 minutes but how long does it talk for DNS Manager to update with new records. When I changed an A and MX record the other day it happend almost immediately. Not so with TXT. Is this normal?
Also, I have never setup SPF records before. Does the above look right?
7 Replies
The canonical answer is 24 hours. However, it's always much shorter than that these days. Depending on where you live, it could be minutes…as some here have reported.
Beware though…just because you see DNS changes right away does not mean that the rest of the world sees them when you do.
-- sw
Updates are pushed to the Linode nameservers within 60-90 seconds I believe.
If you have never queried for that record, that is how long it takes for you to be able to use that record, as no intermediary servers will have cached it.
If you have previously requested that record (e.g. trying to connect in your local browser before the new record was “live”) then your ISP’s or other intermediary server may have cached the result (known as a negative/non-existent lookup.)
How long this negative result will be cached depends on the policies of the intermediary server, and/or the “negative TTL” configured on your domain.
Personally, when I add new records, I do a “dig” direct at ns1.linode.com, as this queries Linode’s nameserver directly with no risk of caching the negative result anywhere along the way.
dig +short @ns1.linode.com your.new.record
When your new record’s value (e.g. IP address) appears, it should be safe to request it in your browser.