<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: Flushing OS X DNS cache</title>
    <link>http://blog.kineticweb.com/articles/2007/12/10/flushing-os-x-dns-cache</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Flushing OS X DNS cache</title>
      <description>I don&amp;#8217;t know why it took me so long to learn this but this command is very handy:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;dscacheutil -flushcache&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: I originally posted that the command was &lt;strong&gt;dns&lt;/strong&gt;cacheutil. It&amp;#8217;s actually just &lt;strong&gt;ds&lt;/strong&gt;cacheutil. I&amp;#8217;ve fixed it above. I also learned this is a Leopard-only tool.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s equivelant to the following Windows, which was always very handy when changing &lt;span class="caps"&gt;DNS&lt;/span&gt; configuration around:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;ipconfig /flushdns&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
      <pubDate>Mon, 10 Dec 2007 11:39:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1e1fa0e9-0018-4bd1-9003-50975695583d</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/12/10/flushing-os-x-dns-cache</link>
      <category>OSX</category>
    </item>
  </channel>
</rss>
