Cacheing issue?

My Macbook (OS High Sierra) keeps showing an old version of a website that I manage - I have tried everything I can find to clear my cache - anyone got any ideas?! Thank you!

Posted on Dec 14, 2017 7:47 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 18, 2017 1:57 AM

DNS takes time to propagate. If you have modified the records for a domain the old data may be cached on DNS servers in-between you & the main DNS record (at your router, at your ISP etc).


Try using another DNS server, maybe try Google DNS.

Public DNS | Google Developers

You can check what IP Google DNS is reporting for the site in question…

Google Public DNS

Compare that to the one reported on your Mac, try this in Terminal

nslookup name-of-site.com

The IP should be shown in the output - does that match the new IP?


Another provider is Quad9

Quad 9 | Internet Security and Privacy in a Few Easy Steps


This covers setting a DNS server on your Mac.

http://osxdaily.com/2015/12/05/change-dns-server-settings-mac-os-x/


Eventually the DNS gets propagated & it stops happening.


If you are the controller of the DNS records then consider setting a short TTL (time to live) when updating records. It causes the caches to be cleared faster & can reduce this issue.



P.S. If you are in control of the router you can try rebooting that as it can cache DNS for the local network too.

7 replies
Question marked as Top-ranking reply

Dec 18, 2017 1:57 AM in response to Clarkysquirrel

DNS takes time to propagate. If you have modified the records for a domain the old data may be cached on DNS servers in-between you & the main DNS record (at your router, at your ISP etc).


Try using another DNS server, maybe try Google DNS.

Public DNS | Google Developers

You can check what IP Google DNS is reporting for the site in question…

Google Public DNS

Compare that to the one reported on your Mac, try this in Terminal

nslookup name-of-site.com

The IP should be shown in the output - does that match the new IP?


Another provider is Quad9

Quad 9 | Internet Security and Privacy in a Few Easy Steps


This covers setting a DNS server on your Mac.

http://osxdaily.com/2015/12/05/change-dns-server-settings-mac-os-x/


Eventually the DNS gets propagated & it stops happening.


If you are the controller of the DNS records then consider setting a short TTL (time to live) when updating records. It causes the caches to be cleared faster & can reduce this issue.



P.S. If you are in control of the router you can try rebooting that as it can cache DNS for the local network too.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cacheing issue?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.