{"id":13017,"date":"2021-05-21T12:46:55","date_gmt":"2021-05-21T12:46:55","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=13017"},"modified":"2021-05-21T12:46:55","modified_gmt":"2021-05-21T12:46:55","slug":"flush-dns-cache-mac","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/","title":{"rendered":"How To Flush DNS Cache on macOS?"},"content":{"rendered":"<p>The macOS stores the name resolution information like\u00a0computer hostnames, account user names, group names, and others as the DNS cache. It helps to considerably quicken the project&#8217;s load times as the IP addresses for the queried domains are stored in the cache. The DNS cache allows the system to answer queries more directly rather than rerouting to DNS servers.<\/p>\n<h2>To Flush DNS on macOS<\/h2>\n<p>1.\u00a0Open <strong>Applications<\/strong> and go to <strong>Utilities<\/strong> or press <strong>Command+Space<\/strong>. It will launch <strong>Spotlight<\/strong>.<\/p>\n<p>2.\u00a0Search for the <strong>Terminal<\/strong> application by entering <strong>Terminal<\/strong> in the <strong>Search<\/strong> box.<\/p>\n<p>3.\u00a0Run the\u00a0<strong>terminal.app<\/strong><\/p>\n<p>4.\u00a0Enter:<\/p>\n<pre class=\"lang:default decode:true \">sudo killall -HUP mDNSResponder<\/pre>\n<p>5. Press the <strong>Return<\/strong> button on the keyboard.<\/p>\n<p>6. Enter the <strong>administrator password<\/strong> of the account and press the <strong>Return<\/strong> key.<\/p>\n<div class=\"kb-wisdom-wrapr kb-wisdom-bulb kb-wisdom-wrapr-green\">\n<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n<div class=\"kb-wisdom-icon\">\n<div><\/div>\n<\/div>\n<\/div>\n<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n<p><strong>Note<\/strong>: You can enable an audio notification to confirm if the DNS flush is complete or not. You have to type <strong>say\u00a0<\/strong>and enter a notification message after you type the command.<\/p>\n<p>For Example,<\/p>\n<pre class=\"lang:default decode:true \">sudo killall -HUP mDNSResponder; say dns is flushed successfully<\/pre>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The macOS stores the name resolution information like\u00a0computer hostnames, account user names, group names, and others as the DNS cache. It helps to considerably quicken the project&#8217;s load times as the IP addresses for the queried domains are stored in the cache. The DNS cache allows the system to answer queries more directly rather than [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,41],"tags":[1001,2242,2241,821,2240,2239],"class_list":["post-13017","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-domain-name-dns-issues","category-howtos","tag-clear-dns","tag-clear-dns-cache","tag-dns-cache","tag-flush-dns-cache","tag-flush-dns-cache-on-mac","tag-how-to-flush-dns-cache-on-mac"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-21T12:46:55+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How To Flush DNS Cache on macOS?\",\"datePublished\":\"2021-05-21T12:46:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\"},\"wordCount\":158,\"commentCount\":0,\"keywords\":[\"clear DNS\",\"Clear DNS cache\",\"DNS cache\",\"flush DNS cache\",\"Flush DNS Cache on Mac\",\"How To Flush DNS Cache on mac\"],\"articleSection\":[\"Domain Name &amp; DNS Issues\",\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\",\"name\":\"How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2021-05-21T12:46:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Flush DNS Cache on macOS?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb","description":"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/","og_locale":"en_US","og_type":"article","og_title":"How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb","og_description":"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-05-21T12:46:55+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How To Flush DNS Cache on macOS?","datePublished":"2021-05-21T12:46:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/"},"wordCount":158,"commentCount":0,"keywords":["clear DNS","Clear DNS cache","DNS cache","flush DNS cache","Flush DNS Cache on Mac","How To Flush DNS Cache on mac"],"articleSection":["Domain Name &amp; DNS Issues","How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/","name":"How To Flush DNS Cache on macOS? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2021-05-21T12:46:55+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"You have to flush or clear the DNS cache to resolve local issues like inaccessible website. This article will show you how to flush DNS cache in macOS.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/flush-dns-cache-mac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Flush DNS Cache on macOS?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=13017"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13017\/revisions"}],"predecessor-version":[{"id":13018,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13017\/revisions\/13018"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=13017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=13017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=13017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}