{"id":368,"date":"2021-07-23T12:28:36","date_gmt":"2021-07-23T12:28:36","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-clear-your-dns-cache\/"},"modified":"2021-07-23T12:28:36","modified_gmt":"2021-07-23T12:28:36","slug":"how-to-clear-your-dns-cache","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-clear-your-dns-cache\/","title":{"rendered":"How to Clear Your DNS Cache"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>Your DNS cache stores the locations (IP addresses) of web servers that contain web pages which you have recently viewed. If the location of the web server changes before the entry in your DNS cache updates, you can no longer access the site.<\/p>\n<p>If you encounter a large number of HTML 404 error codes, you may need to clear your DNS cache. After you clear your DNS cache, your computer will query nameservers for the new DNS information.<\/p>\n<h3 id=\"how-to-clear-your-dns-cache\">How to clear your DNS cache<\/h3>\n<div class=\"accordion-wrapper\">\n<div class=\"accordion-item\">\n<p>        Windows\u00ae 8<\/p>\n<div class=\"collapse\" id=\"windows-81626990044826640068\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use Windows 8, perform the following steps:<\/p>\n<ol>\n<li>On your keyboard, press <em>Win+X<\/em> to open the <em>WinX<\/em> Menu.<\/li>\n<li>Right-click <em>Command Prompt<\/em> and select Run as <em>Administrator<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">ipconfig <span style=\"color:#f92672\">\/<\/span>flushdns<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">Windows IP configuration successfully flushed the DNS Resolver Cache<span style=\"color:#f92672\">.<\/span><\/code><\/pre>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        Windows\u00ae 7 or 10<\/p>\n<div class=\"collapse\" id=\"windows-7-or-101626990044828536335\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use Windows 7 or 10, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Start<\/em>.<\/li>\n<li>Enter <code>cmd<\/code> in the <em>Start<\/em> menu search text box.<\/li>\n<li>Right-click <em>Command Prompt<\/em> and select <em>Run as Administrator<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">ipconfig <span style=\"color:#f92672\">\/<\/span>flushdns<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">Windows IP configuration successfully flushed the DNS Resolver Cache<span style=\"color:#f92672\">.<\/span><\/code><\/pre>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        Windows XP\u00ae, 2000, or Vista\u00ae<\/p>\n<div class=\"collapse\" id=\"windows-xp-2000-or-vista1626990044830110440\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use Windows XP, 2000, or Vista, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Start<\/em>.<\/li>\n<li>On the <em>Start<\/em> menu, click <em>Run<\/em>.<\/li>\n<li>If you do not see the <em>Run<\/em> command in Vista, enter <code>run<\/code> in the Search bar.<\/li>\n<li>Run the following command in the <em>Run<\/em> text box:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">ipconfig <span style=\"color:#f92672\">\/<\/span>flushdns<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">Successfully flushed the DNS Resolver Cache<span style=\"color:#f92672\">.<\/span><\/code><\/pre>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        macOS\u00ae 10.10.4 and above<\/p>\n<div class=\"collapse\" id=\"macos-10-10-4-and-above1626990044830997979\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use macOS X version 10.10.4 or above, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Applications<\/em>.<\/li>\n<li>Click <em>Utilities<\/em>.<\/li>\n<li>Click <em>Terminal<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo killall <span style=\"color:#f92672\">-<\/span>HUP mDNSResponder<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        To run this command, you <strong>must<\/strong> know the computer\u2019s administrator account password.\n    <\/div>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        macOS 10.10.1, 10.10.2, and 10.10.3<\/p>\n<div class=\"collapse\" id=\"macos-10-10-1-10-10-2-and-10-10-31626990044831823815\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use macOS X version 10.10 through 10.10.3, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Applications<\/em>.<\/li>\n<li>Click <em>Utilities<\/em>.<\/li>\n<li>Click <em>Terminal<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo discoveryutil mdnsflushcache<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        To run this command, you <strong>must<\/strong> know the computer\u2019s administrator account password.\n    <\/div>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        macOS 10.7, 10.8, and 10.9<\/p>\n<div class=\"collapse\" id=\"macos-10-7-10-8-and-10-91626990044832708332\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use macOS X version 10.7, 10.8, or 10.9, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Applications<\/em>.<\/li>\n<li>Click <em>Utilities<\/em>.<\/li>\n<li>Double-click <em>Terminal<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo killall <span style=\"color:#f92672\">-<\/span>HUP mDNSResponder<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        To run this command, you <strong>must<\/strong> know the computer\u2019s administrator account password.\n    <\/div>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        macOS 10.5 and 10.6<\/p>\n<div class=\"collapse\" id=\"macos-10-5-and-10-61626990044833532520\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use macOS X version 10.5 or 10.6, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Applications<\/em>.<\/li>\n<li>Click <em>Utilities<\/em>.<\/li>\n<li>Double-click <em>Terminal<\/em>.<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo dscacheutil <span style=\"color:#f92672\">-<\/span>flushcache<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        To run this command, you <strong>must<\/strong> know the computer\u2019s administrator account password.\n    <\/div>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        ChromeOS<\/p>\n<div class=\"collapse\" id=\"chromeos1626990044834365892\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use ChromeOS, perform the following steps:<\/p>\n<ol>\n<li>Open a new Chrome tab.<\/li>\n<li>Enter the following address\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">chrome:<span style=\"color:#e6db74\">\/\/<\/span>net<span style=\"color:#f92672\">-<\/span>internals<\/code><\/pre>\n<\/div>\n<\/li>\n<li>Hit the <em>Enter<\/em> key.<\/li>\n<li>From the menu, select <em>DNS<\/em>.<\/li>\n<li>Click the <em>Clear host cache<\/em> button.<\/li>\n<\/ol><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        Ubuntu<\/p>\n<div class=\"collapse\" id=\"ubuntu1626990044836071993\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use Ubuntu\u00ae, perform the following steps:<\/p>\n<ol>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo systemd<span style=\"color:#f92672\">-<\/span>resolve <span style=\"color:#f92672\">--<\/span>flush<span style=\"color:#f92672\">-<\/span>caches<\/code><\/pre>\n<\/div>\n<\/li>\n<li>Run the following command:\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">sudo systemd<span style=\"color:#f92672\">-<\/span>resolve <span style=\"color:#f92672\">--<\/span>statistics<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol><\/div>\n<p>\n    <\/div>\n<\/div>\n<div class=\"accordion-item\">\n<p>        Red Hat\u00ae Enterprise Linux\u00ae, CentOS, and related Linux\u00ae releases<\/p>\n<div class=\"collapse\" id=\"red-hat-enterprise-linux-centos-and-related-linux-releases1626990044836824621\">\n<div class=\"card card-body\">\n<p>To clear your DNS cache if you use CentOS or related Linux releases (for example, CloudLinux\u2122 or AlmaLinux), run the following command:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">systemctl restart dnsmasq<span style=\"color:#f92672\">.<\/span>service<\/code><\/pre>\n<\/div><\/div>\n<p>\n    <\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web pages which you have recently viewed. If the location of the web server changes before the entry in your DNS cache updates, you can no longer access the site. If you encounter a large number of HTML 404 error codes, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/368"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/369"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}