{"id":14635,"date":"2024-09-24T16:15:17","date_gmt":"2024-09-24T08:15:17","guid":{"rendered":"https:\/\/lightningxvpn.com\/blog\/?p=14635"},"modified":"2026-01-16T11:39:27","modified_gmt":"2026-01-16T03:39:27","slug":"how-to-flush-dns","status":"publish","type":"post","link":"https:\/\/lightningxvpn.com\/blog\/en\/how-to-flush-dns\/","title":{"rendered":"How to Flush DNS Cache on Windows 10\/11, Mac, Android, iPhone"},"content":{"rendered":"\n<p>In this post, you will learn how to flush DNS on Windows 10\/11, Mac, Android, iPhone\/iPad, Google Chrome, etc. The step-by-step guides are included.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Flush DNS on Windows 10\/11<\/h2>\n\n\n\n<p>You can use the flush DNS command in CMD to easily flush the cache on your Windows 10\/11 computer. Check the simple steps below.<\/p>\n\n\n\n<p><strong>Step 1. Open Command Prompt<\/strong><\/p>\n\n\n\n<p>Press <strong>Windows + R<\/strong>, type<strong> cmd<\/strong>, and press <strong>Ctrl + Shift + Enter<\/strong> to run Command Prompt as administrator.<\/p>\n\n\n\n<p>Alternatively, you can press <strong>Windows + S<\/strong> to open Windows Search, type <strong>cmd<\/strong> in the search box, right-click <strong>Command Prompt<\/strong>, and select <strong>Run as administrator<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"422\" src=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-1.png\" alt=\"Open Command Prompt\" class=\"wp-image-14647\" style=\"border-width:1px\" srcset=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-1.png 816w, https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-1-300x155.png 300w, https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-1-768x397.png 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure>\n\n\n\n<p><strong>Step 2. Run the Flush DNS Command<\/strong><\/p>\n\n\n\n<p>In the Command Prompt window, type the command:<strong> <\/strong><strong>ipconfig \/flushdns<\/strong>. Press <strong>Enter<\/strong> to run the command.<\/p>\n\n\n\n<p>After it finishes, you should see a message saying that the DNS Resolver Cache has been successfully flushed.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"113\" src=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-2.png\" alt=\"Type the \u201cipconfig \/flushdns\u201d Command\" class=\"wp-image-14648\" srcset=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-2.png 404w, https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-2-300x84.png 300w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/figure>\n\n\n\n<p><strong>Tip:<\/strong> If you also want to <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/ip-release-and-renew\/\" target=\"_blank\" rel=\"noopener\" title=\"\">renew your IP address<\/a> along with flushing the NDS cache, you can type the following command lines in Command Prompt. This action sometimes also helps fix network problems.<\/p>\n\n\n\n<ul>\n<li>ipconfig \/release<\/li>\n\n\n\n<li>ipconfig \/renew<\/li>\n\n\n\n<li>ipconfig \/flushdns<\/li>\n<\/ul>\n\n\n\n<p>Related: <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/server-dns-address-could-not-be-found\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Server DNS Address Could Not Be Found: 10 Fixes<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Flush DNS Cache on Mac<\/h2>\n\n\n\n<p>To flush DNS on Mac, you can use the Terminal app. Check the steps below.<\/p>\n\n\n\n<p><strong>Step 1. Open Terminal on Mac<\/strong><\/p>\n\n\n\n<ul>\n<li>Press <strong>Command + Space<\/strong> or click the Spotlight icon to open Spotlight on Mac.<\/li>\n\n\n\n<li>Type \u201cTerminal\u201d.<\/li>\n\n\n\n<li>Open the Terminal app.<\/li>\n<\/ul>\n\n\n\n<p><strong>Step 2. Type the Flush DNS Command<\/strong><\/p>\n\n\n\n<p>In the Terminal window, type the command: <strong>sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/strong>. Press Enter to execute the command.<\/p>\n\n\n\n<p>Enter your Mac computer\u2019s password to confirm the action. It will start clearing the DNS cache on your Mac.<\/p>\n\n\n\n<div class=\"wp-block-group has-background has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\" style=\"border-radius:15px;background-color:#ffefd8;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--10);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--10)\">\n<p><strong>Tip:<\/strong><\/p>\n\n\n\n<p>To <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/how-to-unblock-websites\/\" target=\"_blank\" rel=\"noopener\" title=\"\">unblock websites<\/a> and apps worldwide and change IP addresses, you can use <strong><a href=\"https:\/\/lightningxvpn.com\/\" target=\"_blank\" rel=\"noopener\" title=\"\">LightningX VPN<\/a><\/strong>. This VPN offers 2000+ servers in 70+ countries. It is ultra-fast, stable, secure, and reliable. It uses strong encryption methods to encrypt your online data and privacy. Support Windows, Mac, Android, iOS, TV, Linux, Chrome, Firefox, Edge, etc.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-1 wp-block-buttons-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10)\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 has-custom-font-size is-style-outline\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.292), 1.05rem);\"><a class=\"wp-block-button__link has-base-2-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/lightningxvpn.com\/download\" style=\"border-style:none;border-width:0px;border-radius:100px;background-color:#ffb700;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Get LightningX VPN<\/strong><\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to Flush DNS on Google Chrome<\/h2>\n\n\n\n<p>If you have issues with site loading or meet some errors when visiting websites, e.g., <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/fix-err-connection-timed-out\/\" target=\"_blank\" rel=\"noopener\" title=\"\">ERR_CONNECTION_TIMED_OUT<\/a>, DNS_PROBE_FINISHED_NXDOMAIN, etc., you may flush the browser\u2019s DNS cache to see if it helps.<\/p>\n\n\n\n<p>To flush Google Chrome\u2019s DNS cache, you can follow the steps below.<\/p>\n\n\n\n<p>Step 1. Open your Google Chrome browser. Enter \u201c<a href=\"https:\/\/lightningxvpn.com\/blog\/en\/chrome-net-internals-dns\/\" target=\"_blank\" rel=\"noopener\" title=\"\">chrome:\/\/net-internals\/#dns<\/a>\u201d in the address bar and press Enter.<\/p>\n\n\n\n<p>Step 2. Click the \u201cClear host cache\u201d button next to \u201cHost resolver cache\u201d to reset the DNS settings of Chrome.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"503\" height=\"198\" src=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/fix-dns-server-not-responding-1.png\" alt=\"Flush DNS Chrome\" class=\"wp-image-13732\" style=\"border-width:1px\" srcset=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/fix-dns-server-not-responding-1.png 503w, https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/fix-dns-server-not-responding-1-300x118.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/figure>\n\n\n\n<p><strong>Tip:<\/strong> The DNS cache is different from the browser cache. If you want to clear the Chrome browser\u2019s cache, follow the steps below.<\/p>\n\n\n\n<ul>\n<li>You can click the three-dot icon at the top-right corner of Chrome and select \u201cDeleting browsing data\u201d. Alternatively, you can open Chrome and press Ctrl + Shift + Del keyword shortcut to open the window.<\/li>\n\n\n\n<li>Then select a time range and select what types of data you want to clear. To clear cache, cookies, and history, tick the \u201cBrowsing history\u201d, \u201cCookies and other site data\u201d, and \u201cCached images and files\u201d options.<\/li>\n\n\n\n<li>Click the \u201cDelete Data\u201d button to remove the browser cache and cookies.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"519\" height=\"481\" src=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-3.png\" alt=\"Clear Cache in Chrome\" class=\"wp-image-14650\" srcset=\"https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-3.png 519w, https:\/\/lightningxvpn.com\/blog\/wp-content\/uploads\/2024\/09\/how-to-flush-dns-3-300x278.png 300w\" sizes=\"(max-width: 519px) 100vw, 519px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to Flush DNS on Android Device<\/h2>\n\n\n\n<p>While Android devices don\u2019t offer a direct method to delete the DNS cache, you can still try the ways below to realize the task.<\/p>\n\n\n\n<p>Method 1. Restart your Android device.<\/p>\n\n\n\n<p>Method 2. Turn on and turn off the \u201cAirplane Mode\u201d.<\/p>\n\n\n\n<p>Method 3. Reconnect the network.<\/p>\n\n\n\n<ul>\n<li>Open Settings.<\/li>\n\n\n\n<li>Tap Wi-Fi.<\/li>\n\n\n\n<li>Tap the \u201ci\u201d icon next to your connected network.<\/li>\n\n\n\n<li>Select \u201cForgot This Network\u201d.<\/li>\n\n\n\n<li>Go back to the Wi-Fi window, select your network, and enter the password to reconnect to it.<\/li>\n<\/ul>\n\n\n\n<p>Method 4. <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/reset-network-settings\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Reset network settings<\/a>.<\/p>\n\n\n\n<ul>\n<li>Tap Settings.<\/li>\n\n\n\n<li>Tap System.<\/li>\n\n\n\n<li>Tap \u201cReset options\u201d or \u201cReset\u201d.<\/li>\n\n\n\n<li>Tap \u201cReset network settings\u201d or \u201cReset Wi-Fi, mobile &amp; Bluetooth\u201d.<\/li>\n\n\n\n<li>Tap \u201cReset settings\u201d to confirm the action.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note:<\/strong> Resetting network settings will remove all your saved Wi-Fi networks, paired Bluetooth devices, all mobile data settings, etc. You need to reconnect to your network and repair your Bluetooth devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Flush DNS Cache on iPhone\/iPad<\/h2>\n\n\n\n<p>To clear the DNS cache on an iPhone or iPad, you have two methods.<\/p>\n\n\n\n<p>Method 1. Restart your iPhone or iPad should clear the DNS.<\/p>\n\n\n\n<p>Method 2. Turning Airplane Mode on and off should be able to flush the DNS cache.<\/p>\n\n\n\n<ul>\n<li>Tap Settings on your iPhone or iPad.<\/li>\n\n\n\n<li>Find \u201cAirplane Mode\u201d and turn it on.<\/li>\n\n\n\n<li>Then turn off \u201cAirplane Mode\u201d.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What Does Flushing DNS Do?<\/h2>\n\n\n\n<p>Flushing DNS will clear the DNS cache on your device, removing stored entries of previously accessed domain names and their IP addresses.<\/p>\n\n\n\n<p>It ensures that your device fetches the most recent DNS records of websites.<\/p>\n\n\n\n<p>It also clears corrupted or outdated DNS entries that may prevent you from accessing some websites or services.<\/p>\n\n\n\n<p>Still, a cluttered DNS cache may slow down your browsing speed. Clearing it can speed up the loading times and improve your network efficiency.<\/p>\n\n\n\n<p>Besides, it also helps reduce the risks of being tracked by the visited websites.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When Do You Need to Flush DNS on Your Device?<\/h2>\n\n\n\n<p><a href=\"https:\/\/lightningxvpn.com\/blog\/en\/what-is-dns\/\" target=\"_blank\" rel=\"noopener\" title=\"\">DNS<\/a>, short for Domain Name System, is mainly used for translating domain names into IP addresses. It allows users to access websites or services on the internet without the need to remember the complex numerical IP addresses. DNS simplifies the users\u2019 web navigation.<\/p>\n\n\n\n<p>The DNS cache helps reduce the response time of users\u2019 frequently visited websites. It also helps balance traffic across multiple servers to improve the website&#8217;s performance.<\/p>\n\n\n\n<p>However, sometimes you may need to flush the DNS cache. Below are the common situations.<\/p>\n\n\n\n<ul>\n<li>If you <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/fix-this-site-cant-be-reached-error\/\" target=\"_blank\" rel=\"noopener\" title=\"\">can\u2019t access a website<\/a> because it has changed its IP address, you can clear the DNS cache to get the updated site information and regain access.<\/li>\n\n\n\n<li>Flushing DNS can help you troubleshoot network problems on your computer or mobile, especially when you are experiencing inconsistent network connections or slow load times.<\/li>\n\n\n\n<li>If the DNS cache is corrupted, it may lead to device errors or site access issues. You can flush the cache to fix the problem.<\/li>\n\n\n\n<li>Flushing the DNS cache will remove your traces of visited websites. It makes it harder for others to track you and this helps enhance your privacy.<\/li>\n\n\n\n<li>Too much DNS cache may slow down your device. Flushing it can help free up more space and improve device performance.<\/li>\n<\/ul>\n\n\n\n<p>Related: <a href=\"https:\/\/lightningxvpn.com\/blog\/en\/fix-dns-server-not-responding\/\" target=\"_blank\" rel=\"noopener\" title=\"\">How to Fix DNS Server Not Responding Error on Windows 10\/11, etc.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This post introduces how to flush DNS on Windows 10\/11, Mac, Android, iPhone, and Google, and explains the benefits of flushing the cache. Hope now you have a smoother online experience and better device performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, you will learn how to flush DNS on Window [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":15012,"comment_status":"closed","ping_status":"open","sticky":false,"template":"wp-custom-template-en","format":"standard","meta":{"footnotes":""},"categories":[500],"tags":[],"aioseo_notices":[],"lang":"en","translations":{"en":14635,"cn":14659,"tw":14667,"ja":14674,"ko":14683,"ru":14696,"es":14688},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/posts\/14635"}],"collection":[{"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/comments?post=14635"}],"version-history":[{"count":12,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/posts\/14635\/revisions"}],"predecessor-version":[{"id":86233,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/posts\/14635\/revisions\/86233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/media\/15012"}],"wp:attachment":[{"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/media?parent=14635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/categories?post=14635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lightningxvpn.com\/blog\/wp-json\/wp\/v2\/tags?post=14635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}