Help Center
Clear DNS cache: solution to resolution problems
Clearing the DNS cache on Windows and Mac can be useful in various situations. If you're experiencing name resolution issues, such as websites not loading correctly or incorrect redirects, clearing the DNS cache can help resolve these problems.
If you've made changes to the DNS configuration of a domain, clearing the DNS cache will ensure that the changes are immediately reflected on your device.
Follow this step-by-step tutorial to clear the DNS cache and enjoy smoother and more accurate browsing.
The DNS cache is used to speed up access to frequently visited websites. However, sometimes it's necessary to clear the DNS cache to address name resolution issues. Follow these steps to clear the DNS cache on Windows and Mac:
On Windows:
- Open Command Prompt as an administrator.
- Enter the command "
ipconfig /flushdns
" and press Enter. - The DNS cache will be cleared, and you will receive a confirmation.
On Mac:
- Open Terminal from the Applications > Utilities folder.
- Enter the command "
sudo killall -HUP mDNSResponder
" and press Enter. - You will be prompted for the administrator password.
- The DNS cache will be cleared, and you will receive a confirmation.
There you go! You've cleared your browser's cache, and now you should be able to view your site correctly.
Related articles
- Screen command in CentOs: more efficient sessions
- Solution: 'Service Unavailable' on CloudLinux servers
- Database export via command line
- Protect your data: configure RAID notifications with S.M.A.R.T.
- List CronJobs for all cPanel users
- Delete unnecessary files from the /tmp partition
- Change reserved disk space in CentOS
- Know your hardware: get accurate information on CentOS 7
- Basic SSH commands
- Optimize accounts with manual rearrange
- IP blocking in CSF via command line
- Change file permissions via command line
- How to open and close ports using CSF in WHM?
- How to Modify the Hosts File in Windows, Linux, and macOS
- How to Use Telnet to Test SMTP Connectivity on Port 25
- Adjusting reserved space on Linux disks
- Adjusting reconstruction speed in RAID on Linux
- Where are NGINX logs stored?
- Configuring RAID failure notifications with mdadm
- Differences between Legacy VPS and Cloud VPS
- Install cPanel in your server or VPS
- How to send emails via SSH?
- Manage screen session