1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Resolve a DNS cache issue
This guide explains how to resolve anomalies that may occur with a Web Hosting if it has undergone changes to its IP address (such as a server relocation) and your computer still holds the old location in its DNS cache.
Clearing the DNS Cache
When you visit a website, your computer stores an association between the domain name and its IP address in the local DNS cache. This speeds up the DNS resolution process for future visits to the same site because the computer can avoid querying the DNS servers again for the IP address.
By clearing the DNS cache, you force your computer to query the DNS servers again to obtain the latest up-to-date information on the IP addresses of the sites you visit.
on Windows
- Open the Start menu
- Type cmd
- In the search results, click on Command Prompt
- Run the command
ipconfig /flushdns
on macOS
- Open the Terminal
- Run the command
lookupd -flushcache
(if it fails:dscacheutil -flushcache
)
on Linux
- Open the Terminal
- Run the command
sudo systemctl restart nscd
orsudo /etc/init.d/nscd restart
to restart nscd