{"id":433,"date":"2010-03-06T11:40:48","date_gmt":"2010-03-06T10:40:48","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2010\/03\/06\/flushing-the-dns-cache\/"},"modified":"2010-03-06T11:40:48","modified_gmt":"2010-03-06T10:40:48","slug":"flushing-the-dns-cache","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2010\/03\/06\/flushing-the-dns-cache\/","title":{"rendered":"Flushing the dns cache"},"content":{"rendered":"<p>As we all know, under windows we can flush the DNS cache with <\/p>\n<p><code>ipconfig \/flushdns<\/code><\/p>\n<p>But what is the linux equivalent command? It is so obvious, yet I somehow keep forgetting it. \ud83d\ude42<br \/>\nUnder linux, the standard way to have a daemon reload its configuration, is sending a SIGHUP signal. In case of the name service cache daemon (nscd), this implies flushing its cache!<br \/>\nSo you could use the following command to flush the DNS cache if you&#8217;re using nscd:<\/p>\n<p><code>pkill -1 nscd<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we all know, under windows we can flush the DNS cache with ipconfig \/flushdns But what is the linux equivalent command? It is so obvious, yet I somehow keep forgetting it. \ud83d\ude42 Under linux, the standard way to have a daemon reload its configuration, is sending a SIGHUP signal. In case of the name &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2010\/03\/06\/flushing-the-dns-cache\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Flushing the dns cache<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,10,7],"tags":[],"class_list":["post-433","post","type-post","status-publish","format-standard","hentry","category-linux","category-tweaking","category-windows"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}