{"id":1009,"date":"2021-06-23T14:16:28","date_gmt":"2021-06-23T09:46:28","guid":{"rendered":"https:\/\/www.spicom.com\/help\/?p=1009"},"modified":"2021-07-06T09:57:33","modified_gmt":"2021-07-06T05:27:33","slug":"flush-dns-tutorial","status":"publish","type":"post","link":"https:\/\/www.spicom.com\/help\/hosting\/dns\/flush-dns-tutorial","title":{"rendered":"Flush DNS tutorial"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row] [vc_column] [vc_column_text]<\/p>\n<p>Flush DNS tutorial<\/p>\n<p>First, we need to know what Flush DNS is and why you should flush DNS.<\/p>\n<p>We use Flush DNS when we need to clear the cached DNS in our system.<\/p>\n<p>When and when do we need Flush DNS? When we have set a new DNS and need the system to use the new DNS.<\/p>\n<p>In this tutorial, we will introduce you to how Flush DNS works in different operating systems.<\/p>\n<p>Windows XP up to 10 Windows servers<\/p>\n<p>In Microsoft Windows, from XP to 10 and Windows servers, Flush DNS is the same.<\/p>\n<p>First,m press Windows Logo + R and type the word cmd in the opened box.<\/p>\n<p>When the command prompt black screen opens, type the following phrase.<\/p>\n<p>ipconfig \/ flushdns<br \/>\nThe cache for your DNS is now cleared, and new DNS can be replaced.<\/p>\n<p>Mac OS<\/p>\n<p>First, we go to the Application Folder.<\/p>\n<p>Then open Utilities and double click on Terminal.<\/p>\n<p>Then type the following phrase in the command prompt<\/p>\n<p>sudo discoveryutil mdnsflushcache; Sudo discoveryutil udnsflushcaches; say flushed<\/p>\n<p>Enter the admin username and password, and you&#8217;re done.<\/p>\n<p>Your DNS cache is now completely cleared. [\/vc_column_text] [\/vc_column] [\/vc_row] [vc_row] [vc_column] [vc_column_text]<\/p>\n<p>Linux operating system<\/p>\n<p>In Linux, the story is a little different.<\/p>\n<p>Because Linux has different distributions, there are different commands for Flush DNS per distribution.<\/p>\n<p>In Gnome, open the terminal and type the following phrase.<\/p>\n<p>\/etc\/init.d\/nscd restartYou may need Sudo, in which case the command you need will be as follows.<\/p>\n<p>sudo \/etc\/init.d\/nscd restart<\/p>\n<p>Some distributions support the following command<\/p>\n<p>sudo \/etc\/init.d\/dns-clean start<\/p>\n<p>Or they support this command<\/p>\n<p>sudo service nscd restart<\/p>\n<p>Well, in this article, we learned Flush DNS across all operating systems.<\/p>\n<p>[\/vc_column_text] [\/vc_column] [\/vc_row]<\/p>\n<div class=\"likebtn_container\" style=\"text-align:center;\"><!-- LikeBtn.com BEGIN --><span class=\"likebtn-wrapper\"  data-identifier=\"post_1009\"  data-theme=\"mini\"  data-icon_l=\"hrt1\"  data-icon_d=\"hrt1\"  data-show_dislike_label=\"true\"  data-counter_type=\"percent\"  data-white_label=\"true\"  data-popup_content_order=\"false\"  data-i18n_like=\"Like\"  data-i18n_dislike=\"Dislike\"  data-style=\"\"  data-unlike_allowed=\"\"  data-show_copyright=\"\"  data-item_url=\"https:\/\/www.spicom.com\/help\/hosting\/dns\/flush-dns-tutorial\"  data-item_title=\"Flush DNS tutorial\"  data-item_date=\"2021-06-23T14:16:28+04:30\"  data-engine=\"WordPress\"  data-plugin_v=\"2.6.50\"  data-event_handler=\"likebtn_eh\" ><\/span><!-- LikeBtn.com END --><\/div><\/section>","protected":false},"excerpt":{"rendered":"<p>[vc_row] [vc_column] [vc_column_text] Flush DNS tutorial First, we need to know what Flush DNS is and why you should flush DNS. We use Flush DNS when we need to clear the cached DNS in our system. When and when do we need Flush DNS? When we have set a new DNS and need the system [&hellip;]<\/p>\n<div class=\"likebtn_container\" style=\"text-align:center;\"><!-- LikeBtn.com BEGIN --><span class=\"likebtn-wrapper\"  data-identifier=\"post_1009\"  data-theme=\"mini\"  data-icon_l=\"hrt1\"  data-icon_d=\"hrt1\"  data-show_dislike_label=\"true\"  data-counter_type=\"percent\"  data-white_label=\"true\"  data-popup_content_order=\"false\"  data-i18n_like=\"Like\"  data-i18n_dislike=\"Dislike\"  data-style=\"\"  data-unlike_allowed=\"\"  data-show_copyright=\"\"  data-item_url=\"https:\/\/www.spicom.com\/help\/hosting\/dns\/flush-dns-tutorial\"  data-item_title=\"Flush DNS tutorial\"  data-item_date=\"2021-06-23T14:16:28+04:30\"  data-engine=\"WordPress\"  data-plugin_v=\"2.6.50\"  data-event_handler=\"likebtn_eh\" ><\/span><!-- LikeBtn.com END --><\/div>","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[72,73,74],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/posts\/1009"}],"collection":[{"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/comments?post=1009"}],"version-history":[{"count":3,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/posts\/1009\/revisions"}],"predecessor-version":[{"id":1331,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/posts\/1009\/revisions\/1331"}],"wp:attachment":[{"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/media?parent=1009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/categories?post=1009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/tags?post=1009"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.spicom.com\/help\/wp-json\/wp\/v2\/yst_prominent_words?post=1009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}