{"id":180,"date":"2015-05-31T22:41:16","date_gmt":"2015-05-31T11:41:16","guid":{"rendered":"https:\/\/4it.com.au\/kb\/?post_type=article&#038;p=180"},"modified":"2022-11-14T20:05:44","modified_gmt":"2022-11-14T09:05:44","slug":"how-to-flush-the-dns-cache-on-an-imac","status":"publish","type":"article","link":"https:\/\/4it.com.au\/kb\/article\/how-to-flush-the-dns-cache-on-an-imac\/","title":{"rendered":"How to Flush the DNS Cache on an iMac"},"content":{"rendered":"<p>Here are the commands to flush the DNS cache on an iMac (or any other Mac) starting at Leopard through to Yosemite.<\/p>\n<p>To do this you will need to open a Terminal Prompt &#8211; Click on Launchpad and type in Terminal<\/p>\n<p><a href=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/05\/Flush-DNS-iMac.png\"><img class=\"aligncenter size-full wp-image-181\" data-original=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/05\/Flush-DNS-iMac.png\" alt=\"Flush DNS iMac\" width=\"355\" height=\"324\" \/><\/a><\/p>\n<h3>OSX 10.10 &#8211; Yosemite Flush DNS<\/h3>\n<p>sudo discoveryutil udnsflushcaches<\/p>\n<h3>OSX 10.9 \u00a0&#8211; Mavericks Flush DNS<\/h3>\n<p>dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/p>\n<h3>OSX 10.7 \u2013 10.8 \u00a0&#8211; Lion and Mountain Lion Flush DNS<\/h3>\n<p>sudo killall -HUP mDNSResponder<\/p>\n<h3>OSX 10.5 \u2013 10.6 &#8211; Leopard and Snow Leopard Flush DNS<\/h3>\n<p>sudo dscacheutil -flushcache<\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Here are the commands to flush the DNS cache on an iMac (or any other Mac) starting at Leopard through to Yosemite. To do this you will need to open a Terminal Prompt &#8211; Click on Launchpad and type in Terminal OSX 10.10 &#8211; Yosemite Flush DNS sudo discoveryutil udnsflushcaches OSX 10.9 \u00a0&#8211; Mavericks Flush [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","article-category":[25],"article-tag":[115,113,114,116,112],"class_list":["post-180","article","type-article","status-publish","format-standard","hentry","article-category-apple-mac","article-tag-flush-dns-lion","article-tag-flush-dns-mavericks","article-tag-flush-dns-mountain-lion","article-tag-flush-dns-snow-leopard","article-tag-flush-dns-yosemite"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":3,"sum_votes":11},"_links":{"self":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":0,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/180\/revisions"}],"wp:attachment":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-category?post=180"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-tag?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}