{"id":50,"date":"2009-03-29T19:16:37","date_gmt":"2009-03-29T19:16:37","guid":{"rendered":"http:\/\/smarinier\/comment-vider-le-cache-dns-mac-linux-et-windows\/"},"modified":"2009-03-29T19:16:37","modified_gmt":"2009-03-29T19:16:37","slug":"comment-vider-le-cache-dns-mac-linux-et-windows","status":"publish","type":"post","link":"https:\/\/www.smarinier.net\/comment-vider-le-cache-dns-mac-linux-et-windows\/","title":{"rendered":"Comment vider le cache DNS (Mac, Linux et Windows)"},"content":{"rendered":"<p>Vider le cache de DNS (noms de domaines) sous Linux, c&rsquo;est assez facile, puisqu&rsquo;un service identifi\u00e9 s&rsquo;en occupe:<\/p>\n<blockquote>\n<pre>sudo \/etc\/init.d\/nscd restart<\/pre>\n<\/blockquote>\n<p> <\/p>\n<p>Sous Windows, il existe une commande sp\u00e9cifique (un peu longue!):<\/p>\n<blockquote>\n<pre>ipconfig \/flushdns<\/pre>\n<\/blockquote>\n<p> <\/p>\n<p>Pour finir, sur Mac OSX, il faut passer aussi par une commande sp\u00e9ciale:<\/p>\n<p> Depuis Lion (10.7): <\/p>\n<blockquote>\n<pre>sudo killall -HUP mDNSResponder<\/pre>\n<\/blockquote>\n<p> Pour les anciens syst\u00e8mes: <\/p>\n<blockquote>\n<pre>sudo dscacheutil -flushcache<\/pre>\n<\/blockquote>\n<p> <\/p>\n<p>Si vous n&rsquo;avez pas dscachutil, c&rsquo;est que votre syst\u00e8me n&rsquo;est pas forc\u00e9ment tr\u00e8s r\u00e9cent (<=10.4), il vous faut passer par l'ancienne commande:<\/p>\n<blockquote>\n<pre>sudo lookupd -flushcache<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Vider le cache de DNS (noms de domaines) sous Linux, c&rsquo;est assez facile, puisqu&rsquo;un service identifi\u00e9 s&rsquo;en occupe: sudo \/etc\/init.d\/nscd restart Sous Windows, il existe une commande sp\u00e9cifique (un peu longue!): ipconfig \/flushdns Pour finir, sur Mac OSX, il faut passer aussi par une commande sp\u00e9ciale: Depuis Lion (10.7): sudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-astuces"],"_links":{"self":[{"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smarinier.net\/%77%70%2d%6a%73%6f%6e\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}