{"id":686,"date":"2017-05-03T11:02:32","date_gmt":"2017-05-03T11:02:32","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=article&#038;p=686"},"modified":"2023-09-12T07:58:00","modified_gmt":"2023-09-12T07:58:00","slug":"how-to-flush-your-dns-cache","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/how-to-flush-your-dns-cache\/","title":{"rendered":"How To Flush your DNS Cache"},"content":{"rendered":"<p>Did you know your computer has DNS cache which stores stores the locations (IP addresses) of web servers hosting websites you&#8217;ve previously visited?<\/p>\n<p>If the IP address of the web server changes before the entry in your computer&#8217;s DNS cache updates, you may find you&#8217;re no longer able to access the site, or you may be viewing the site from an old server.<\/p>\n<p>To fix this, you just need to flush your DNS cache.<\/p>\n<h3 id=\"how-to-clear-your-dns-cache-using-windows\">How to clear your DNS cache Using Windows<\/h3>\n<h4 id=\"windows-10\">Windows 10<\/h4>\n<p>Flushing the DNS cache on Windows 10 is very easy, however you will need to be an Administrator on the computer which you&#8217;re using to flush the cache. To properly flush the DNS Cache in Windows 10, you must ensure that you run the command prompt as an administrator user.<\/p>\n<ol>\n<li>Ensure that you&#8217;re on the Windows 10 desktop and logged in.<\/li>\n<li>Right click on the start menu and choose Command Prompt (Admin) or Windows Powershell (Admin) from the menu.<\/li>\n<li>Type in the command below and press enter or return on your keyboard.<\/li>\n<\/ol>\n<p><code>ipconfig \/flushdns<\/code><\/p>\n<div class=\"code panel pdl conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"code\">\n<div class=\"codeContent panelContent pdl\">If the command was entered successfully, the system will return the following message:<\/div>\n<\/div>\n    \t\t<div class=\"hts-messages hts-messages--success    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tWindows IP configuration successfully flushed the DNS Resolver Cache.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>Running an older version of Windows, click to expand:<\/p>\n<h4 id=\"windows-8\"><strong>Windows 8<\/strong><\/h4>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache on Windows 8, perform the following steps:<\/p>\n<ol>\n<li>On your keyboard, press <strong>Win+X<\/strong> to open the <em>WinX Menu<\/em>.<\/li>\n<li>Right-click <em>Command Prompt<\/em> and select <em>Run as Administrator<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>ipconfig \/flushdns<\/code><\/p>\n<div class=\"code panel pdl conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"code\">\n<div class=\"codeContent panelContent pdl\">\n<div class=\"code panel pdl conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"code\">\n<div class=\"codeContent panelContent pdl\">If the command was entered successfully, the system will return the following message:<\/div>\n<\/div>\n<div class=\"hts-messages hts-messages--success    \"   >\n<p>\n    \t\t\t\t\tWindows IP configuration successfully flushed the DNS Resolver Cache.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n<\/div>\n<\/div>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h4 id=\"windows-7\">Windows 7<\/h4>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>In Windows 7, you can clear your cache using the following instructions:<\/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:<\/li>\n<\/ol>\n<p><code>ipconfig \/flushdns<\/code><\/p>\n<div class=\"code panel pdl conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"code\">\n<div class=\"codeContent panelContent pdl\">If the command was entered successfully, the system will return the following message:<\/div>\n<\/div>\n<div class=\"hts-messages hts-messages--success    \"   >\n<p>\n    \t\t\t\t\tWindows IP configuration successfully flushed the DNS Resolver Cache.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h3 id=\"how-to-clear-your-dns-cache-in-macos\">How to clear your DNS cache in MacOS<\/h3>\n<p>Apple has made numerous revisions to it&#8217;s OS X, now macOS, Operating System. Over time, the method with which you can clear your DNS cache has changed depending on the version of macOS. To clear the DNS cache on your Mac, use list below to locate the version of macOS you are running and follow the instructions.<\/p>\n<h4 id=\"mac-os-x-13-high-sierra-to-current-version-2020-big-sur\">Mac OS X\u00ae 13 (High Sierra) to current version (2020, Big Sur)<\/h4>\n<p>To clear your DNS cache in Mac OS X version 11 (El Capitan) and 12 (Sierra), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<pre>sudo killall -HUP MDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache<\/pre>\n    \t\t<div class=\"hts-messages hts-messages--alert    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h4 id=\"running-an-older-version-of-macos\">Running an older version of MacOS?<\/h4>\n<p>Not to worry! Find your version below and expand the section to see how to clear the DNS cache on your computer.<\/p>\n<h5 id=\"mac-os-x-10-4-tiger\">Mac OS X\u00ae 10.4 (Tiger)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.4 Tiger, perform the following steps:<\/p>\n<ol>\n<li>Open your Applications Folder.<\/li>\n<li>Open the Utilities Folder.<\/li>\n<li>Open the application called &#8220;Terminal&#8221;.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>lookupd -flushcache<\/code><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-10-5-leopard-thru-10-6-snow-leopard\">Mac OS X\u00ae 10.5 (Leopard) thru 10.6 (Snow Leopard)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.5 (Leopard) thru 10.6 (Snow Leopard), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>dscacheutil -flushcache<\/code><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-10-7-lion-thru-10-8-mountain-lion\">Mac OS X\u00ae 10.7 (Lion) thru 10.8 (Mountain Lion)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.7 (Lion) thru 10.8 (Mountain Lion), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>sudo killall -HUP mDNSResponder<\/code><\/p>\n<div class=\"hts-messages hts-messages--alert    \"   >\n<p>\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-10-9-mavericks\">Mac OS X\u00ae 10.9 (Mavericks)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.9 (Mavericks), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/code><\/p>\n<div class=\"hts-messages hts-messages--alert    \"   >\n<p>\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-10-10-1-10-10-2-and-10-10-3-yosemite\">Mac OS X\u00ae 10.10.1, 10.10.2, and 10.10.3 (Yosemite)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.10.1, 10.10.2, or 10.10.3 (Yosemite), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>sudo discoveryutil udnsflushcaches<\/code><\/p>\n<div class=\"hts-messages hts-messages--alert    \"   >\n<p>\n    \t\t\t\t\tNote: You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.    \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-10-10-4-yosemites-final-build-version\">Mac OS X\u00ae 10.10.4 (Yosemite&#8217;s final build version)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 10.10.4 (Yosemite), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder<\/code><\/p>\n<div class=\"hts-messages hts-messages--alert    \"   >\n<p>\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<h5 id=\"mac-os-x-11-el-capitan-and-12-sierra\">Mac OS X\u00ae 11 (El Capitan) and 12 (Sierra)<\/h5>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Click to Expand<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<p>To clear your DNS cache in Mac OS X version 11 (El Capitan) and 12 (Sierra), perform the following steps:<\/p>\n<ol>\n<li>Click\u00a0<em>Applications<\/em>.<\/li>\n<li>Click\u00a0<em>Utilities<\/em>.<\/li>\n<li>Click\u00a0<em>Terminal<\/em>.<\/li>\n<li>Run the following command:<\/li>\n<\/ol>\n<p><code>sudo killall -HUP mDNSResponder<\/code><\/p>\n<div class=\"hts-messages hts-messages--alert    \"   >\n<p>\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\n<\/p><\/div>\n<p><!-- \/.ht-shortcodes-messages --><\/p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n<p>&nbsp;<\/p>\n<h3 id=\"how-to-clear-your-dns-cache-using-linux\">How to clear your DNS cache Using Linux<\/h3>\n<ol class=\"steps_list_2\">\n<li class=\"hasimage\">\n<div class=\"step\"><b class=\"whb\">Open the terminal.<\/b> Open the terminal as root, or enter <code>sudo<\/code> before entering the DNS flush command.<\/div>\n<div class=\"clearall\"><\/div>\n<\/li>\n<li class=\"final_li\">\n<div class=\"step_num\"><b class=\"whb\">Restart the service <code>network-manager<\/code>.<\/b> In the terminal, enter <code>service network-manager restart<\/code> and press Enter.<\/div>\n<\/li>\n<\/ol>\n    \t\t<div class=\"hts-messages hts-messages--alert    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tNote: This command\u00a0<strong>is case sensitive.<\/strong> You will also be asked to authenticate with your User Password as you are using the &#8220;sudo&#8221; command. You will need to be an Administrator to perform this function.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>This will flush your DNS Cache.<\/p>\n<p><strong>That&#8217;s it! Now you know how to flush your DNS cache.<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know your computer has DNS cache which stores stores the locations (IP addresses) of web servers hosting websites you&#8217;ve previously visited? If the IP address of the web server changes before the entry in your computer&#8217;s DNS cache updates, you may find you&#8217;re no longer able to access&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[188],"ht-kb-tag":[],"class_list":["post-686","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-support-resources"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=686"}],"version-history":[{"count":10,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/686\/revisions"}],"predecessor-version":[{"id":7989,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/686\/revisions\/7989"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=686"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=686"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}