Home InMillion Web Traffic Misc Article
Flush DNS refers to the process of clearing the DNS (Domain Name System) cache on your computer. This cache stores information about recent domain name lookups and their corresponding IP addresses. Flushing the DNS cache can resolve various internet connectivity issues, such as website loading problems, DNS errors, and changes to DNS settings.
When you visit a website, your computer stores the DNS information for quicker access next time. However, sometimes this cache can become outdated or corrupted, leading to issues with accessing websites or incorrect IP addresses. Flushing the DNS cache forces your computer to retrieve the most current DNS information from the server, which can fix these issues.
sudo killall -HUP mDNSResponder
The method to clear DNS cache on Linux can vary depending on the distribution and DNS service being used. Here are common methods:
sudo systemd-resolve --flush-caches
sudo systemctl restart dnsmasq
sudo /etc/init.d/nscd restart
After performing the steps for your operating system, your DNS cache will be cleared, and you should be able to resolve any related issues you were experiencing.
[ 233 Out of 234 Found Helpful ]
Submit a ticket and we’ll get back to you as soon as possible.