{"id":821,"date":"2022-11-20T13:32:31","date_gmt":"2022-11-20T07:47:31","guid":{"rendered":"https:\/\/yoho.cloud\/blog\/?p=821"},"modified":"2022-11-20T13:33:36","modified_gmt":"2022-11-20T07:48:36","slug":"how-to-flush-dns-cache","status":"publish","type":"post","link":"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/","title":{"rendered":"How To Flush DNS Cache \u2014 Detailed Guide"},"content":{"rendered":"<h2><span class=\"ez-toc-section\" id=\"What_is_DNS\"><\/span>What is DNS?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>DNS is a system that allows computers to connect to each other on the internet. It converts human-readable domain names into numerical IP addresses that computers can use to connect to each other.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#What_is_DNS\" >What is DNS?<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Flush_DNS_on_Windows_11\" >Flush DNS on Windows 11<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Flush_DNS_on_macOS\" >Flush DNS on macOS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Flush_DNS_on_Linux\" >Flush DNS on Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Flush_your_DNS_Cache_on_Google_Chrome\" >Flush your DNS Cache on Google Chrome<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Why_Flush_Your_DNS_Cache\" >Why Flush Your DNS Cache?<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Prevent_DNS_Spoofing\" >Prevent DNS Spoofing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Avoiding_404_Errors\" >Avoiding 404 Errors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#Remove_Old_DNS_Data\" >Remove Old DNS Data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/yoho.cloud\/blog\/how-to-flush-dns-cache\/#After_Action_Report_%E2%80%94_Flush_Your_DNS_Cache_Periodically\" >After Action Report \u2014 Flush Your DNS Cache Periodically<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n<p>It&#8217;s important to keep your DNS cache flushed so that you can prevent DNS spoofing and avoid 404 errors. Yoho.Cloud makes it easy to flush your DNS cache with our simple guide.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Flush_DNS_on_Windows_11\"><\/span><strong>Flush DNS on Windows 11<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>1. Open the start menu and type in \u201ccmd\u201d<br \/>\n2. Right-click on the \u201cCommand Prompt\u201d and select \u201cRun as Administrator\u201d<br \/>\n3. In the command prompt, type \u201c<em>ipconfig \/flushdns<\/em>\u201d and press \u201cEnter\u201d<br \/>\n4. You should see a message that says \u201cSuccessfully flushed the DNS Resolver Cache.\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Flush_DNS_on_macOS\"><\/span><strong>Flush DNS on macOS<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>1. Open the Terminal application<br \/>\n2. In the Terminal window, type \u201c<em>sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/em>\u201d and press \u201cEnter\u201d<br \/>\n3. You will be prompted to enter your password<br \/>\n4. Once you enter your password, you should see a message that says \u201cmdnsresponder(8) killed.\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Flush_DNS_on_Linux\"><\/span><strong>Flush DNS on Linux<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>1. Open the Terminal application<br \/>\n2. In the Terminal window, type \u201c<em>sudo systemd-resolve &#8211;flush-caches<\/em>\u201d and press \u201cEnter\u201d<br \/>\n3. You will be prompted to enter your password<br \/>\n4. Once you enter your password, you should see a message that says \u201cCleaning DNS cache.\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Flush_your_DNS_Cache_on_Google_Chrome\"><\/span><strong>Flush your DNS Cache on Google Chrome<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>1. Open Google Chrome<br \/>\n2. In the address bar, type \u201c<em>chrome:\/\/net-internals\/#dns<\/em>\u201d and press \u201cEnter\u201d<br \/>\n3. Click on the \u201cClear host cache\u201d button<br \/>\n4. You should see a message that says \u201cHost resolver cache was cleared.\u201d<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_Flush_Your_DNS_Cache\"><\/span>Why Flush Your DNS Cache?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>There are several reasons why you might want to flush your DNS cache. Doing so can prevent DNS spoofing, avoid 404 errors, and remove old DNS data.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Prevent_DNS_Spoofing\"><\/span><strong>Prevent DNS Spoofing<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>DNS spoofing is a type of attack that can redirect your traffic to a malicious server. This can happen if your DNS cache is poisoned with false DNS data. Flushing your DNS cache can help to prevent this type of attack.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Avoiding_404_Errors\"><\/span><strong>Avoiding 404 Errors<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If you\u2019re trying to access a website and you see a 404 error, it means that the DNS cache doesn\u2019t have the correct IP address for the website. Clearing the DNS cache can help to resolve this issue.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Remove_Old_DNS_Data\"><\/span><strong>Remove Old DNS Data<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Over time, your DNS cache can become filled with old or outdated DNS data. This can cause problems if you\u2019re trying to access a website that has changed its IP address. Flushing your DNS cache can help to resolve this issue.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"After_Action_Report_%E2%80%94_Flush_Your_DNS_Cache_Periodically\"><\/span><strong>After Action Report \u2014 Flush Your DNS Cache Periodically<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>It\u2019s a good idea to flush your DNS cache periodically, even if you\u2019re not experiencing any problems. This will help to prevent DNS spoofing and other issues. Yoho.Cloud makes it easy to flush your DNS cache.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is DNS? DNS is a system that allows computers to connect to each other on the internet. It converts human-readable domain names into numerical IP addresses that computers can use to connect to each other. It&#8217;s important to keep your DNS cache flushed so that you can prevent DNS spoofing and avoid 404 errors. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":763,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/posts\/821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/comments?post=821"}],"version-history":[{"count":2,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/posts\/821\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/posts\/821\/revisions\/823"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/media?parent=821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/categories?post=821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yoho.cloud\/blog\/wp-json\/wp\/v2\/tags?post=821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}