{"id":8585,"date":"2023-01-25T11:00:01","date_gmt":"2023-01-25T03:00:01","guid":{"rendered":"https:\/\/www.cldy.com\/support\/?post_type=docs&#038;p=8585"},"modified":"2023-01-25T23:48:17","modified_gmt":"2023-01-25T15:48:17","password":"","slug":"clear-dns-cache-on-mac-computer","status":"publish","type":"docs","link":"https:\/\/www.cldy.com\/support\/help\/clear-dns-cache-on-mac-computer\/","title":{"rendered":"How To Clear DNS Cache on Mac Computer"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">The DNS cache is an important service which helps to reduce the process of making DNS requests. This will speed up your web browsing experience on some of your favourite websites. But at some point, it may take up a significant amount of space in your drive. That&#8217;s why it&#8217;s important to clear DNS cache from time to time.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The initial loading of websites and applications may be slightly slower when you relaunch them, but they will also load much better. Here&#8217;s how you can flush and clear DNS cache on your Mac computer:<\/span><\/p>\n<p><em><span class=\"\" style=\"font-size: 14px;\">Note: Saved passwords, browser histories, and website login credentials may also be cleared when flushing DNS cache. Make sure to have a copy of your logins and passwords, or bookmark your preferred links before proceeding to flush DNS cache.<\/span><\/em><\/p>\n<p>1. <span style=\"font-weight: 400;\">On your keyboard, click Command (or Cmd) \u2318 + Space. Search for \u201cTerminal\u201d and open the program.<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">You can also click on <\/span><b>Launchpad<\/b><span style=\"font-weight: 400;\"> from your home screen, and look for the <\/span><b>Terminal<\/b><span style=\"font-weight: 400;\"> app.<\/span><\/li>\n<\/ul>\n<figure id=\"attachment_8586\" aria-describedby=\"caption-attachment-8586\" style=\"width: 506px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/flic.kr\/p\/2awfZB\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" class=\"wp-image-8586 size-full\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/mac-os-terminal-sample.png\" alt=\"mac os terminal sample\" width=\"506\" height=\"365\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/mac-os-terminal-sample.png 506w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/mac-os-terminal-sample-300x216.png 300w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><figcaption id=\"caption-attachment-8586\" class=\"wp-caption-text\"><em>This screenshot is from <a href=\"https:\/\/flic.kr\/p\/2awfZB\" rel=\"nofollow noopener\" target=\"_blank\">Flickr<\/a>.<\/em><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>2. <span style=\"font-weight: 400;\">The command you need to input will depend on the OS version your Mac is currently running on. Here\u2019s the list of OS and the corresponding command code for your Mac:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Ventura &amp; Monterey<\/span>\n<ul>\n<li><span style=\"font-weight: 400; font-family: 'Courier New';\">sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400;\">Lion, Mountain Lion, Mavericks, El Capitan, Sierra, High Sierra, Mojave<\/span>\n<ul>\n<li><span style=\"font-weight: 400; font-family: 'Courier New';\">sudo killall -HUP mDNSResponder<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400;\">Yosemite<\/span>\n<ul>\n<li><span style=\"font-weight: 400; font-family: 'Courier New';\">sudo discoveryutil mdnsflushcache<\/span><\/li>\n<\/ul>\n<\/li>\n<li>Tiger\n<ul>\n<li><span style=\"font-weight: 400; font-family: 'Courier New';\">lookupd -flushcache<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>3. <span style=\"font-weight: 400;\">Hit <\/span><b>Enter<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Type in your password if prompted, then hit <\/span><b>Enter<\/b><span style=\"font-weight: 400;\"> again on your keyboard.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>4. <span style=\"font-weight: 400;\">Terminal will confirm once the clear DNS cache process is completed.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The DNS cache is an important service which helps to reduce the process of making DNS requests. This will speed up your web browsing experience on some of your favourite websites. But at some point, it may take up a significant amount of space in your drive. That&#8217;s why it&#8217;s important to clear DNS cache [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[49],"doc_tag":[],"class_list":["post-8585","docs","type-docs","status-publish","hentry","doc_category-dns"],"year_month":"2026-06","word_count":268,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"syd123","author_nicename":"syd123","author_url":"https:\/\/www.cldy.com\/support\/author\/syd123\/"},"doc_category_info":[{"term_name":"DNS","term_url":"https:\/\/www.cldy.com\/support\/help-category\/dns\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/comments?post=8585"}],"version-history":[{"count":2,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8585\/revisions"}],"predecessor-version":[{"id":8588,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8585\/revisions\/8588"}],"wp:attachment":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/media?parent=8585"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_category?post=8585"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}