<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Mac OS X Leopard &#38; Tiger Dual Boot &#187; fixes</title>
	<atom:link href="http://installingcats.com/category/fixes/feed/" rel="self" type="application/rss+xml" />
	<link>http://installingcats.com</link>
	<description>Fixes for Apple AirPort, QuickTime AVI, and other Leopard Issues</description>
	<pubDate>Thu, 12 Feb 2009 11:59:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Firefox Stops Loading Pages - Fix</title>
		<link>http://installingcats.com/2009/02/07/firefox-stops-loading-pages-fix/</link>
		<comments>http://installingcats.com/2009/02/07/firefox-stops-loading-pages-fix/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 06:06:15 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[firefox stops loading pages]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=166</guid>
		<description><![CDATA[Firefox stops loading pages after several hours or days of continuous use.The problem often starts with only some page loading errors: stylesheets not being applied (ugly white pages with no images), buttons not working, forms not submitting, etc., then quickly gets worse until Firefox is completely unusable and often cannot be restarted.
Sound familiar?
The problem has [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox stops loading pages after several hours or days of continuous use.The problem often starts with only some page loading errors: stylesheets not being applied (ugly white pages with no images), buttons not working, forms not submitting, etc., then quickly gets worse until Firefox is completely unusable and often cannot be restarted.</p>
<p>Sound familiar?</p>
<p>The problem has to do with Adobe Flash Player.</p>
<h2><img class="size-full wp-image-182 alignright" title="firefox_302" src="http://installingcats.com/wp-content/uploads/2009/02/firefox_302.jpg" alt="firefox_302" width="299" height="234" /></h2>
<h2>Symptoms</h2>
<p>Common symptoms of the Firefox loading problem:</p>
<ul>
<li>web page buttons in Firefox stop working (clicking doesn&#8217;t do anything)</li>
<li>links stop working (clicking links produces no action)</li>
<li>parts of web pages stop loading in Firefox (or Camino)</li>
<li>stylesheets stop being rendered or applied, which make pages show up with:
<ul>
<li>a plain white background web page,</li>
<li>1994-style bright blue links,</li>
<li>plain times new roman font text,</li>
<li>simple bulleted lists,</li>
<li>borders on table cells.</li>
</ul>
</li>
<li>new tabs or windows show up completely blank</li>
<li>Firefox won&#8217;t quit or shutdown</li>
</ul>
<p>When Firefox stops loading pages properly, the problem begins with subtlety, then the situation degrades quickly until Firefox is completely unusable.  Previously, the only solution was to restart Firefox, killing the Firefox process (using Activity Monitor - Quit Process) if Firefox wouldn&#8217;t shutdown properly.</p>
<p>This solution was only a temporary fix with the root Firefox page load problem still there.  Clearing the cache in Firefox, then restarting, also seemed to help reset the loading problem on Firefox, up until it starts again after several hours or days of web surfing.</p>
<h2>Fixing &#8220;Firefox Stops Loading Pages&#8221; Problem</h2>
<p>A permanent fix to this Firefox loading problem: <a href="http://www.adobe.com/products/flashplayer/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.adobe.com');"><strong>upgrade Adobe Flash Player to version 10</strong></a> from version 9.  Strangely, Mozilla/Firefox nor Mac OS X Leopard never recommended this update, even when Adobe published version 10 of Flash Player, wheres Firefox 3 comes by default with Flash Player 9, and actually, still does.  Perhaps Mozilla considers Flash Player a system component, rather than a browser component and doesn&#8217;t notify Firefox users of updates to such pieces of software.  This seems a bit odd to me, considering the only time I use Flash Player&#8230; is with web browsers, regardless of whether its Firefox, Safari,  or Camino.</p>
<h4>Step 1: Check your version of Adobe Shockwave/Flash in Firefox</h4>
<p>Open a new Firefox tab or window.</p>
<p>In the address bar type in <strong>about:plugins</strong> and hit enter.</p>
<p><img class="alignnone size-full wp-image-175" title="Firefox About Plugins" src="http://installingcats.com/wp-content/uploads/2009/02/firefox_about_plugins.gif" alt="Firefox About Plugins" width="308" height="154" /></p>
<p>This will load a special Firefox configuration page showing you all the plugins installed for use with your version of Firefox.</p>
<p>Scroll down to the bottom until you see a heading for <strong>Shockwave Flash</strong>.</p>
<p><img class="alignnone size-full wp-image-177" title="Firefox Flash Version" src="http://installingcats.com/wp-content/uploads/2009/02/firefox_flash_version1.gif" alt="Firefox Flash Version" width="473" height="143" /></p>
<p>The key piece of information in this section is just above the blue bar where it reads: Shockwave Flash 9.0 r115</p>
<p>This tells me that I&#8217;m running Adobe Flash player version 9 and what I need to do is upgrade to Flash version 10.</p>
<p>Update: Another way to check which version of Flash Player you have installed is to visit <a href="http://www.adobe.com/products/flash/about/" onclick="javascript:urchinTracker ('/outbound/article/www.adobe.com');">Adobe Flash - About page</a>, which will tell you your currently installed Shockwave Flash version (bottom right hand corner in the <strong>Version Information</strong> box.)</p>
<p><img class="alignnone size-medium wp-image-197" title="adobe_flash_installed_version" src="http://installingcats.com/wp-content/uploads/2009/02/adobe_flash_installed_version-300x208.gif" alt="adobe_flash_installed_version" width="300" height="208" /></p>
<h4>Step 2: Download &amp; Install Adobe Flash 10</h4>
<p>In Firefox (or any browser) go to <a href="http://get.adobe.com/flashplayer/" onclick="javascript:urchinTracker ('/outbound/article/get.adobe.com');">http://get.adobe.com/flashplayer/</a>. You&#8217;ll see this page:</p>
<p><img class="alignnone size-medium wp-image-179" title="Adobe Flash 10 Mac Download" src="http://installingcats.com/wp-content/uploads/2009/02/adobe_flash_10_mac_download-300x180.gif" alt="Adobe Flash 10 Mac Download" width="300" height="180" /></p>
<p>Click on the big bright Agree and Install Now button.  Let Adobe install Flash 10 on your computer.</p>
<p>After the install is complete, we can check that Flash 10 has been installed.  Restart Firefox and again visit the <strong>about:plugins</strong> configuration web page.  You should now see the following:</p>
<p><img class="alignnone size-full wp-image-180" title="firefox_flash_10_upgraded" src="http://installingcats.com/wp-content/uploads/2009/02/firefox_flash_10_upgraded.gif" alt="firefox_flash_10_upgraded" width="315" height="201" /></p>
<p>Congratulations. You&#8217;ve upgraded to Flash 10. Firefox should now be able to load web pages continually, without restarting/cache clearing, no matter how long you keep Firefox open and running.</p>
<p>I&#8217;ve been running with Firefox 3.0.2 on Mac OS X 10.5.2 Leopard with Adobe Flash 10 for nearly a month now and Firefox hasn&#8217;t stopped loading pages once after having upgraded to the new version of Flash Player.  I&#8217;m confident this is a permanent fix for those who&#8217;ve been running Firefox with Flash 9 and have been troubled by the eventual page load problem.</p>
<p>(I want to thank unsound of the <a href="http://forums.mozillazine.org" onclick="javascript:urchinTracker ('/outbound/article/forums.mozillazine.org');">Mozillazine Forums</a> for pointing me in the right direction with this problem.)</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2009/02/07/firefox-stops-loading-pages-fix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPod Touch Wifi Password</title>
		<link>http://installingcats.com/2008/11/10/ipod-touch-wifi-password/</link>
		<comments>http://installingcats.com/2008/11/10/ipod-touch-wifi-password/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 03:36:15 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[ipod touch]]></category>

		<category><![CDATA[ipod touch wifi password]]></category>

		<category><![CDATA[ipod touch wifi problem]]></category>

		<category><![CDATA[ipod touch wireless]]></category>

		<category><![CDATA[ipod touch wireless password]]></category>

		<category><![CDATA[ipod touch wireless problems]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=155</guid>
		<description><![CDATA[Our brand new iPod Touch 16GB version 2 arrived today.  First problem: can&#8217;t connect to wifi router (Wanadoo/Orange). Our wireless password was not accepted.  After entering the wifi password multiple times we discovered that the wireless password on the iPod is case sensitive (capital letters vs. small letters makes a difference).
Entering the WEP/WPA wireless key [...]]]></description>
			<content:encoded><![CDATA[<p>Our brand new iPod Touch 16GB version 2 arrived today.  First problem: can&#8217;t connect to wifi router (Wanadoo/Orange). Our wireless password was not accepted.  After entering the wifi password multiple times we discovered that the wireless password on the iPod is case sensitive (capital letters vs. small letters makes a difference).</p>
<p>Entering the WEP/WPA wireless key into the iPod touch in <strong>all upper case letters</strong> solved the wireless password problem.  And <a href="http://forums.macrumors.com/showthread.php?t=366375" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/forums.macrumors.com');">I&#8217;ve heard</a> to <strong>not use the Caps Lock key</strong> to do this, rather, just use the Shift key (requires it to be pressed each time while tapping a letter or number).  This doesn&#8217;t make logical sense to me (Shift key vs.Caps Lock for upper case letters), so feel free to give Caps Lock a try first.</p>
<p><img class="alignnone size-full wp-image-156" title="iPod Touch 2 Thin" src="http://installingcats.com/wp-content/uploads/2008/11/ipod_touch_thin.png" alt="iPod Touch 2 Thin" width="329" height="43" /></p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/11/10/ipod-touch-wifi-password/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 3 Question Mark Diamond</title>
		<link>http://installingcats.com/2008/07/27/firefox-3-question-mark-diamond/</link>
		<comments>http://installingcats.com/2008/07/27/firefox-3-question-mark-diamond/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 15:49:11 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[character set problems]]></category>

		<category><![CDATA[firefox 3]]></category>

		<category><![CDATA[question mark diamond]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=110</guid>
		<description><![CDATA[On web pages with accented characters, such as on French language websites, Firefox 3 may show a diamond question mark symbol instead of the accented character.
To fix this character set display problem in Firefox 3, change the Character Encoding under the Menu -&#62; View -&#62; Character Encoding from Unicode to Western ISO-8859-1 if you&#8217;re reading [...]]]></description>
			<content:encoded><![CDATA[<p>On web pages with accented characters, such as on French language websites, Firefox 3 may show a diamond question mark symbol instead of the accented character.</p>
<p>To fix this character set display problem in Firefox 3, change the Character Encoding under the Menu -&gt; View -&gt; Character Encoding from Unicode to Western ISO-8859-1 if you&#8217;re reading Western European language based web pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/07/27/firefox-3-question-mark-diamond/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Not allowed to connect to this MySQL server</title>
		<link>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/</link>
		<comments>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 10:25:42 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[mysql not allowed to connect]]></category>

		<category><![CDATA[mysql server]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=109</guid>
		<description><![CDATA[When connecting to a remote mysql server, the login/user must have rights to connect to the mysql server from outside of the local server, i.e. localhost. You need to edit the user record within the mysql.user table or add a new record for this user, giving it access to connect to the mysql server from [...]]]></description>
			<content:encoded><![CDATA[<p>When connecting to a remote mysql server, the login/user must have rights to connect to the mysql server from outside of the local server, i.e. localhost. You need to edit the user record within the mysql.user table or add a new record for this user, giving it access to connect to the mysql server from a host other than localhost.</p>
<p>Login to the mysql server add run the following command:<br />
<code>grant all privileges on *.* to 'user'@'192.168.25.1' identified by 'password' with GRANT OPTION;</code><br />
Replace &#8220;user&#8221; and &#8220;password&#8221; and &#8220;192.168.25.1&#8243; with your mysql username, password, and the IP address of your computer that you&#8217;re connecting (to the mysql server) from.</p>
<p>Remember that your <a href="http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/" >mysql server must also allow connections from remote hosts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Can&#8217;t connect to mysql server on remote server</title>
		<link>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/</link>
		<comments>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 10:18:06 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[mysql can't connect]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=108</guid>
		<description><![CDATA[By default mysql does not allow connects to itself from any host besides localhost, for security reasons.
When you get an error &#8220;Can&#8217;t connect to mysql server on [remote server]&#8221; when trying to connect to the remote SQL server via the mysql command line tool, log into the server running the mysql server and edit the [...]]]></description>
			<content:encoded><![CDATA[<p>By default mysql does not allow connects to itself from any host besides localhost, for security reasons.</p>
<p>When you get an error &#8220;Can&#8217;t connect to mysql server on [remote server]&#8221; when trying to connect to the remote SQL server via the mysql command line tool, log into the server running the mysql server and edit the /etc/mysql/my.cnf config file.</p>
<p>In particular, comment out the following line:<br />
<code>bind-address           = 127.0.0.1</code><br />
This allows for connections from any host.</p>
<p>Next, update the <a href="http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/" >mysql user to allow it access from a host other than &#8216;localhost&#8217;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 3 Keyword Tag Search with OpenDNS Not Working</title>
		<link>http://installingcats.com/2008/06/30/firefox-3-keyword-tag-search-opendns-not-working/</link>
		<comments>http://installingcats.com/2008/06/30/firefox-3-keyword-tag-search-opendns-not-working/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 04:11:11 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[firefox 3]]></category>

		<category><![CDATA[firefox 3 keyword search]]></category>

		<category><![CDATA[firefox 3 keyword tag search]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=104</guid>
		<description><![CDATA[Using keyword tag searching in Firefox 3 is broken and not working with OpenDNS.  Keyword tag searching, i.e. typing the letter G for Google in the address bar, then typing the search words or terms, then hitting enter, should do a google search.  If you&#8217;re using OpenDNS, Firefox 3&#8217;s keyword tag searching in the address [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-105" title="firefox3_keyword_search" src="http://installingcats.com/wp-content/uploads/2008/06/firefox3_keyword_search.png" alt="" width="292" height="140" />Using keyword tag searching in Firefox 3 is broken and not working with OpenDNS.  Keyword tag searching, i.e. typing the letter G for Google in the address bar, then typing the search words or terms, then hitting enter, should do a google search.  If you&#8217;re using OpenDNS, Firefox 3&#8217;s keyword tag searching in the address bar gets hijacked by OpenDNS, returning OpenDNS results instead of Google search results.</p>
<p>To fix this, go into Firefox&#8217;s hidden configuration page by typing into the address bar &#8220;about:config&#8221;.</p>
<p>A warning will come up.  Just click &#8220;I&#8217;ll be careful, I promise&#8221;.</p>
<p>Then filter the items you&#8217;re shown by typing &#8220;keyword&#8221;.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/firefox3_about_config_keyword.png" ><img class="alignnone size-medium wp-image-107" title="firefox3_about_config_keyword" src="http://installingcats.com/wp-content/uploads/2008/06/firefox3_about_config_keyword-300x100.png" alt="" width="300" height="100" /></a></p>
<p>Double click on the Value for Keyword.URL and replace the value with the following (without quotes) &#8220;http://www.google.com/search?q=&#8221;</p>
<p>Click OK.</p>
<p>Try doing a keyword tag address bar search in Firefox: &#8220;g peanut butter&#8221;. Hopefully you&#8217;ll get something like this:</p>
<p><img class="alignnone size-full wp-image-106" title="firefox3_keyword_search_results" src="http://installingcats.com/wp-content/uploads/2008/06/firefox3_keyword_search_results.png" alt="" width="388" height="263" /></p>
<p>You may have to quit and restart Firefox to have this change take effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/30/firefox-3-keyword-tag-search-opendns-not-working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deleting Locked Files in Leopard OS X</title>
		<link>http://installingcats.com/2008/06/14/deleting-locked-files-in-leopard-os-x/</link>
		<comments>http://installingcats.com/2008/06/14/deleting-locked-files-in-leopard-os-x/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 15:43:50 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[can't empty trash]]></category>

		<category><![CDATA[locked files os x]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=88</guid>
		<description><![CDATA[Can&#8217;t empty the trash bin because some files are locked? &#8220;Operation not permitted&#8221; when moving files?  Try unlocking the files first in Finder.
Open Finder.  Highlight the files in question.  Right click on the files and select Get Info.  Uncheck the Locked checkbox.
Continue deleting or moving the files as you please.
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft alignnone size-full wp-image-89" style="margin: 4px 8px; float: left;" title="Locked Files OS X" src="http://installingcats.com/wp-content/uploads/2008/06/locked_files.gif" alt="" width="257" height="339" />Can&#8217;t empty the trash bin because some files are locked? &#8220;Operation not permitted&#8221; when moving files?  Try unlocking the files first in Finder.</p>
<p>Open Finder.  Highlight the files in question.  Right click on the files and select Get Info.  Uncheck the Locked checkbox.</p>
<p>Continue deleting or moving the files as you please.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/14/deleting-locked-files-in-leopard-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AirPort wireless connection Drops on Leopard 10.5.2</title>
		<link>http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/</link>
		<comments>http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 23:44:19 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[airport wireless drops]]></category>

		<category><![CDATA[Apple AirPort]]></category>

		<category><![CDATA[Apple Keychain Access]]></category>

		<category><![CDATA[Apple wireless problems]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[leopard 10.5.2]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=87</guid>
		<description><![CDATA[
Symptoms

AirPort wireless connection randomly stops working, even though signal strength to base station is good.
Wireless connection strength drops, clicking on AirPort starts scanning, wireless strength returns to full, but Internet connection is lost.
Can&#8217;t create wireless connection to DLink DIR-625 wireless router after upgrading to 10.5.2.

Possible Causes

AirPort attempts to connect to stronger &#8220;Recent networks&#8221; listed in [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://upload.wikimedia.org/wikipedia/en/a/a0/Connectwaves_20070109.png" alt="Apple AirPort Wireless Logo" /></p>
<h3>Symptoms</h3>
<ul>
<li>AirPort wireless connection randomly stops working, even though signal strength to base station is good.</li>
<li>Wireless connection strength drops, clicking on AirPort starts scanning, wireless strength returns to full, but Internet connection is lost.</li>
<li>Can&#8217;t create wireless connection to DLink DIR-625 wireless router after upgrading to 10.5.2.</li>
</ul>
<h3>Possible Causes</h3>
<ul>
<li>AirPort attempts to connect to stronger &#8220;Recent networks&#8221; listed in preferences file /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist</li>
<li>Apple has updated its AirPort wireless connectivity to a more recent draft of the &#8220;wireless n&#8221; proposed standard.  This is a faster version of wifi than the previous 802.11 wireless g, b, and a standards. (References: <a href="http://en.wikipedia.org/wiki/IEEE_802.11#802.11n" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Wikipedia 802.11</a>, <a href="http://discussions.apple.com/thread.jspa?threadID=1394194" onclick="javascript:urchinTracker ('/outbound/article/discussions.apple.com');">Discussions at Apple.com</a>).</li>
<li>[<strong>Added 080618</strong>]: AirPort is finding neighboring wireless router base stations on the current wifi channel and is attempting to connect to them. (References: <a href="http://gedblog.com/2008/02/20/solving-airports-mystery-dropouts/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/gedblog.com');">Gedblog</a>, <a href="http://www.tuaw.com/2008/02/24/mysterious-airport-dropouts-solved/" target="_self" onclick="javascript:urchinTracker ('/outbound/article/www.tuaw.com');">TUAW.com</a>)</li>
<li>[<strong>Added 080824</strong>]: AirPort attempts to connect to based stations listed in &#8220;Preferred networks&#8221;, listed in System Preferences =&gt; Network =&gt; Advanced =&gt; AirPort =&gt; Preferred Networks. See the <a href="#preferred_networks">fix for AirPort Preferred Networks problem</a>.</li>
<li>[<strong>Added 090105]</strong>: Real Player Downloader.  Mechanics of problem unknown. <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/#comment-453" >See comment below by Jerry Zakariasen</a>.</li>
</ul>
<h3>Diagnostics</h3>
<ul>
<li>[<strong>Added 080618</strong>]: <a href="http://www.macupdate.com/info.php/id/11859/ap-grapher" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.macupdate.com');">AP Grapher reports on nearby wireless internet base station signals</a>. This is useful in determining if you&#8217;re having interference or competing wireless access point problems. If this is the case you can try changing wireless channels on <strong>your router</strong>.</li>
<li>[<strong>Added 080618</strong>]: <a href="http://www.istumbler.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.istumbler.com');">iStumbler is another wireless base station search tool</a> similar to AP Grapher that you may find more to your liking.</li>
</ul>
<h3>Fixes/Solutions/Workarounds</h3>
<p>Please, before implementing any of these fixes, <strong>try them one at a time</strong> and wait to see if there is any improvement in the situation before trying the next.  Keep track of which fixes you have tried and report back when one of them (or none of them) in particular solved your problem so that we know which solutions are useful and which are less likely to help, thus moving forward in our knowledge of how to diagnose and fix wireless dropouts on Apple AirPort connections. Many thanks. ~ Ben.</p>
<ul>
<li>Backup /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist file, then delete it. Reboot. Leopard will create a new AirPort preferences file with a single entry with your current wireless base station.</li>
<li>For D-Link DIR-625 wireless router (from <a href="http://discussions.apple.com/thread.jspa?threadID=1394194" onclick="javascript:urchinTracker ('/outbound/article/discussions.apple.com');">discussions.apple.com</a>):
<ol>
<li>Within Setup =&gt; Advanced =&gt; Advanced Wireless, change RTS Threshold to 2306</li>
<li>Change Fragmentation Threshold to 2306</li>
<li>Use &#8220;Mixed 802.11n, 802.11g, and 802.11b&#8221; within Setup =&gt; Wireless Settings</li>
</ol>
</li>
<li>[<strong>Added 080618</strong>]: Change wireless channel on your wifi router (e.g. AirPort Extreme base station, NetGear, Linksys) from 6 (the default) to anything from 1-4 or 8 to 11. Please refer to your router&#8217;s instruction manual on how to do this. The reason for avoiding channels 5 and 7 is that wifi routers by design will automatically switch to one channel above or below their current channel when wifi signal noise passes a certain value. Thus, if you were having problems on channel 6, your router and AirPort have already tried channels 5 and 7 and you&#8217;re still experiencing problems.</li>
<li>[<strong>Added 080618</strong>]: If possible, use the 5Ghz transmission frequency/band for your wireless router.  Most wireless devices (nearly all wireless routers and cordless telephones) in homes use the 2.4Ghz transmission band. Avoiding this band will result in much less radio noise. Again, this is a setting on your wireless access point rather than on your Mac.  Please refer to your wireless base station&#8217;s instructions on how to change radio frequency (if possible).</li>
<li>[<strong>Added 080618</strong>]: <strong>Keychain Access</strong> is an Apple program that saves passwords to websites, to your Mac itself, to wireless base stations, etc.  The keychain entries related to wireless base stations is a potential cause of wireless drops in Leopard 10.5.2 with the theory being that Keychain Access was modified in this release, breaking (somewhat) keychain items created in older versions (10.5.1 and prior). Deleting and recreating the keys in 10.5.2 and beyond may resolve this issue if you are affected.<img class="alignnone size-full wp-image-95" title="Apple Keychain Access" src="http://installingcats.com/wp-content/uploads/2008/06/keychain_access.jpg" alt="" width="430" height="265" />Launch Keychain Access within Finder: Applications =&gt; Utilities =&gt; Keychain Access.  On the top left, select <strong>System</strong>, underneath <strong>login</strong>. Find the name of your wireless base station or router, often called an SSID in networking terms. For me it&#8217;s WANADOO-D310.  Under the Kind column it should read <strong>AirPort network password</strong>. You may find multiple keychain entries for wireless base stations you&#8217;ve used in the past.  We want to delete them all, but before doing that, save their passwords.  You do this by right clicking on the item, for me WANADOO-D310, and choosing Copy Password to Clipboard.  If you are asked to allow access to this item by kcproxy, click Allow.<img class="alignnone size-full wp-image-96" title="kcproxy allow" src="http://installingcats.com/wp-content/uploads/2008/06/kcproxy_allow.gif" alt="" width="434" height="193" /><br />
Then create a new text file somewhere on your mac and paste the password that&#8217;s been copied to your clipboard.  This will make it easier when you have to reconnect to this base station.  You might want to note which base station/wireless router this password is related to while doing this. I did this by simply writing the name of the wireless router beside the password.  After backing up the passwords, delete all the keychain items of kind <strong>AirPort network password</strong>.  Now turn off the AirPort connection by clicking on the AirPort menu bar icon (looks like the image at the top of this post) and selecting Turn AirPort Off.  Open System Preferences =&gt; Network.  You&#8217;ll notice that Network Name select list will no longer have your base station listed. Click Turn AirPort On. AirPort will search for wireless networks (takes about 30 seconds) and will eventually pop up with a window saying None of your preferred networks are available, but you should see your wireless base station listed as one of the networks.<img class="alignnone size-full wp-image-97" title="preferred_wifi_networks" src="http://installingcats.com/wp-content/uploads/2008/06/preferred_wifi_networks.gif" alt="" width="427" height="309" /><br />
Select your network and click Join. You&#8217;ll be asked for your password.  Hopefully you remembered to save that password somewhere and can simply copy and paste it back in.  (Use right click =&gt; Paste rather than Apple Key + V, which won&#8217;t work for this password field). After this you should be reconnected to your wifi base station.  If you return to your Keychain Access window, you should once again see your base station listed with the System Keychains.  You can close the Keychain Access and Network preferences pane windows.  If you have multiple wireless networks that you use often, you&#8217;ll have to search and reconnect to them with the passwords you&#8217;ve saved.  Hopefully the recreated keychain items will keep you connected.</li>
<li><a name="preferred_networks">[Added 080624]</a>: <strong>Remove Preferred Networks</strong>. From within System Preferences =&gt; Network =&gt; Advanced =&gt; AirPort, using the minus button, remove all preferred networks except for the current wireless access point you&#8217;re connected to.<br />
<img class="alignnone size-full wp-image-100" title="airport_preferred_networks" src="http://installingcats.com/wp-content/uploads/2008/06/airport_preferred_networks.jpg" alt="" width="340" height="203" /></li>
<li>[Added 090105]: <strong>Remove Real Player Downloader</strong>. Jerry Zakariasen mentions in the comments below that uninstalling Real Player Downloader for Mac has fixed wireless network drops on his mac.  <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/#comment-453" >See his comment below</a> for more details. Thanks Jerry.</li>
</ul>
<h2>Background</h2>
<p>Just after upgrading to 10.5.2 I noticed that once in a while my AirPort wireless connection would drop to 2 or 3 bars, then return to full signal strength, but I couldn&#8217;t access the Internet after that.  There didn&#8217;t seem to be any pattern to these dropouts of wireless connection.  No interference from neighboring base stations either.  Yet everything was ultra stable with 10.5 and the only change I made was upgrading (finally) to 10.5.2.</p>
<p>After doing some research, I had a theory that AirPort was searching through old wireless connections within /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist constantly looking for a better signal. And whenever the current wireless connection suffered from minor transient interference (say cordless telephones), it would immediately try to connect to another base station or try to switch to a different channel. Have a look at your version of the airport preferences file by navigating to it in Finder, starting with Macintosh HD, then Library, Preferences, and finally within the SystemConfiguration folder. You can simply hit enter with the file highlighted to use Quick Look.  You can also use Terminal to quickly print the file to the screen with the following command: <code>cat /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist</code></p>
<p>Once the AirPort control software in 10.5.2 set about trying to find a better wireless connection, it would never successfully get back your original wireless connection which was really fine.  Hence, from time to time, you would see a slight drop in wireless signal strength, then after clicking on the AirPort wireless icon, it would scan for networks for a few seconds, then return to full strength, yet you would have already lost Internet access.</p>
<p><strong>The fix is simple</strong>:</p>
<ol>
<li>Drag the /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist file to your desktop (as a backup),</li>
<li>Delete the file within SystemConfiguration,</li>
<li>Reboot and let Leopard create a new airport preferences file with only your current wireless connection listed within it.</li>
</ol>
<p>With only one base station listed in &#8220;Recent Networks&#8221; within the file, AirPort won&#8217;t try scanning for other stronger networks and you&#8217;ll stay connected.</p>
<p>That&#8217;s the theory anyways. It&#8217;s worked for me so far.  Hope it helps you too.</p>
<p>Leave a comment if you have questions or have tried the fix with success/failure.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slow Internet with Leopard</title>
		<link>http://installingcats.com/2008/06/05/slow-internet-with-leopard/</link>
		<comments>http://installingcats.com/2008/06/05/slow-internet-with-leopard/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 08:50:37 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[leopard dns]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[os x]]></category>

		<category><![CDATA[slow dns lookup]]></category>

		<category><![CDATA[slow domain name lookup]]></category>

		<category><![CDATA[slow internet]]></category>

		<category><![CDATA[slow internet in leopard]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=66</guid>
		<description><![CDATA[How to fix Slow Web Browsing and Slow Internet in Leopard (10.5.x)

Symptoms

Web pages load slowly in Safari or Firefox in Leopard.
Web sites won&#8217;t load, only load partially, stop loading after a few hours.
Slow DNS (domain name) lookup in Leopard. First load of web site is slow with &#8220;looking up domain&#8221; in browser status bar.
Once website [...]]]></description>
			<content:encoded><![CDATA[<h2>How to fix Slow Web Browsing and Slow Internet in Leopard (10.5.x)</h2>
<p><a name="top"></a></p>
<h3>Symptoms</h3>
<ul>
<li>Web pages load slowly in Safari or Firefox in Leopard.</li>
<li>Web sites won&#8217;t load, only load partially, stop loading after a few hours.</li>
<li>Slow DNS (domain name) lookup in Leopard. First load of web site is slow with &#8220;looking up domain&#8221; in browser status bar.</li>
<li>Once website is loaded, browsing to that site is fast.</li>
<li><a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" >AirPort wireless strength drops, then Internet connection is lost</a> (see related post).</li>
<li>Email programs are slow in connecting to servers.</li>
<li>SSH sessions are slow to connect to remote servers.</li>
</ul>
<h3>Possible Causes of Slow Internet under Leopard</h3>
<ul>
<li>Your ISP&#8217;s DNS servers are (sometimes) slow to respond due to high traffic.</li>
<li>Firefox, <a href="http://installingcats.com/tag/camino/" >Camino</a>, Safari is requesting domain name lookups in <a href="http://en.wikipedia.org/wiki/IPv6" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv6 format</a> (2001:db8::1428:57ab), but your DSL router/cable modem answers with <a href="http://en.wikipedia.org/wiki/IPv4" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv4 addresses</a> (192.0.2.235) (references: <a href="http://kb.mozillazine.org/Network.dns.disableIPv6"title="disable IPv6"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/kb.mozillazine.org');">mozillazine.org</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=231607"title="dns delays ipv6 buggy dns servers"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/bugzilla.mozilla.org');">mozilla.org bug</a>, <a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/619001401931/p/1"title="leopard dns broken"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/episteme.arstechnica.com');">arstechnica.com</a>). Safari may not be affected by this as WebKit is said to use IPv4 domain lookups first, then uses IPv6 if IPv4 fails.</li>
<li>Your router, acting as a DNS Proxy, doesn&#8217;t recognize nor forward IPv6 domain name lookup requests.</li>
<li>Leopard is now requesting SRV (service) records for domain name lookups. Your router does not recognize nor forward to SRV requests.</li>
<li>Your ISP&#8217;s DNS servers don&#8217;t recognize or doesn&#8217;t respond to SRV queries or respond with NXDOMAIN.</li>
<li>[<strong>Added 080618</strong>] Poor wireless router performance in general (references: <a href="http://www.entropy.ch/blog/Mac+OS+X/2007/09/03/More-802-11n-AirPort-Extreme-Wireless-Notes.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.entropy.ch');">entropy.ch</a>). To test this, try connecting directly to your DSL router/modem if you are using an intermediate router such as an Apple AirPort Base Station, or NetGear/Linksys wireless router and seeing if web and internet speeds increase.</li>
</ul>
<h3>Fixes/Solutions/Workarounds</h3>
<ul>
<li><a href="#direct_dns_better_dns">Use better faster DNS servers, like OpenDNS.org (208.67.222.222, 208.67.220.220)</a>.</li>
<li><a href="#direct_dns_better_dns">Connect directly to DNS servers to avoid DNS forwarding through your router (acting as a DNS proxy)</a>.</li>
<li><a href="#disable_ipv6_dns_lookups">Turn off IPv6 DNS lookups in Firefox/Camino</a> (references: <a title="firefox cannot load web sites but other programs can" href="http://support-stage.mozilla.org/en-US/kb/Firefox+cannot+load+web+sites+but+other+programs+can" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/support-stage.mozilla.org');">mozilla.org</a>).</li>
<li>If DNS forwarding is required, <a href="#update_dns_servers_on_router"></a>change the DNS servers directly on the router.</li>
<li><a href="#update_router_firmware">Update your router&#8217;s firmware</a> (references: <a href="http://blog.jungledisk.com/2007/10/31/leopard-dns-issues-and-work-around/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blog.jungledisk.com');">jungledisk.com</a>, <a href="https://lists.ubuntu.com/archives/ubuntu-users/2006-January/065657.html"title="cannot surf but can ping"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/lists.ubuntu.com');">ubuntu.com</a>) for better SRV and IPv6 handling and better performance overall.</li>
<li>Below are detailed instructions on applying these fixes to slow dns lookups/slow Internet on Leopard</li>
</ul>
<h2>Details</h2>
<p>After upgrading to Leopard, plenty of Mac OS X users have complained of &#8220;slow internet&#8221; when browsing the web, yet Windows PCs or Macs with Tiger (10.4) on the same network are much faster.</p>
<h3>DNS Lookups</h3>
<p>A domain name lookup or DNS lookup is done every time you visit a web page, say &#8220;apple.com&#8221;, as you&#8217;re actually visiting &#8220;17.149.160.49&#8243;. A DNS Resolver on your computer sends a request to a DNS Server that handles this lookup or translation from names (easy to remember) to numbers (hard to remember). Once your browser has this numerical IP address it can start loading the web pages at that server location.</p>
<h3>Domain Name System Lookups in Leopard</h3>
<p>With Leopard, a major change occurred in DNS lookups. Any program in Leopard that can use version 6 IP addresses (IPv6 explained below) will send out a new type of DNS lookup request - the SRV Record. In Tiger and previous OS X versions, DNS lookups were A record requests.</p>
<p>SRV records are new (sadly, 8 years old is new in the DNS world), provide more information than A records, but have <strong>terrible support</strong> in terms of hardware (your DSL router or cable modem) and DNS servers that answer with SRV information.  For every SRV request that Leopard sends it must wait for a valid reply. If the request fails, Leopard must try again. If it fails again, Leopard will finally  ask for an A record. This is one reason why Mac users are experiencing slow Internet on new Macs with Leopard or after upgrading to Leopard from Tiger.</p>
<h3>Domain Name Lookup Chain</h3>
<p>Diagnosing slow Internet problems under Leopard is difficult due to the many different slowdowns that can occur along the domain name lookup chain when connecting to the Internet in OS X. For an application like Firefox or Safari to find a domain name, this is roughly what happens:</p>
<ol>
<li>Firefox/Safari is asked to load a web page at a domain name (example: &#8220;apple.com&#8221;).</li>
<li>Browser starts work on getting an IP address for that domain (a domain name lookup).</li>
<li>Browser checks for recently translated domain names in its own internal &#8220;cache&#8221; and thus already has the IP address.</li>
<li>If &#8220;apple.com&#8221; is not found in cache, Firefox/Safari then asks Directory Services (an OS X program that does DNS lookups) for the answer.</li>
<li>Directory Services (DS) searches for the domain in <em>its own</em> DS cache (view the DS cache <a href="http://installingcats.com/2008/05/23/terminal-in-os-x-leopard-or-tiger/"title="Terminal"  target="_blank" >using Terminal</a>: dscacheutil -cachedump -entries).</li>
<li>If domain is not found in cache, DS checks flat (text) files such as /etc/hosts for the domain name (see the file using Terminal: cat /etc/hosts).</li>
<li>If domain is still not found then DS sends a domain name lookup request to the first DNS server listed for your AirPort wireless card or your Ethernet card (your <em>network interfaces</em>). The first (and usually only) DNS server is often your router (often listed as 192.168.1.1 in System Preferences =&gt; Network =&gt; Advanced =&gt; DNS tab).</li>
<li>If the router <em>doesn&#8217;t</em> recognize the name lookup request (SRV/IPv6), the request will be either ignored, returned without result, returned with error. If the router <em>does</em> recognize the DNS request, it checks its own DNS cache for a matching domain lookup.</li>
<li>If domain name is <em>not found</em> in cache, the router forwards the request to the ISP&#8217;s DNS server.</li>
<li>If the first ISP DNS server doesn&#8217;t respond or doesn&#8217;t have the record, the router sends a second lookup request  to the next DNS server listed in its configuration. Continue until all DNS servers are exhausted.</li>
<li>When name lookup result is received by router, it saves the result to cache, then forwards the domain name record back to the requesting computer.</li>
<li>Directory Services on Leopard, receives the answer, places it in cache, then returns the results to the requesting application: your browser.</li>
<li>Firefox/Safari receives the DNS record, with IP address, stores it in cache, then starts to retrieve the web page at that location.</li>
</ol>
<p><img class="alignnone size-full wp-image-75" title="DNS Resolution" src="http://installingcats.com/wp-content/uploads/2008/06/dns_resolution.jpg" alt="" width="500" height="171" /></p>
<p>(Illustration by <a href="http://en.wikipedia.org/wiki/Domain_Name_System#DNS_resolvers" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Lion Kimbro on Wikipedia - Domain Name Systems article</a>)</p>
<p>Any one of the links in the chain can be a potential source of slow Internet speeds when browsing or retrieving mail, etc.  The difficulty lies is finding out where the problem exists and how it can be fix. Compound this complexity with the number of different DSL routers in use in homes, the number of different firmware (software inside the router), number of different ISP DNS servers</p>
<h3>Caches</h3>
<p>Caches store recent domain name lookup results in order to save time when the domain is requested again.  Each time a domain name lookup is made, caches are checked to see if the lookup has occurred recently and if so, use the cache result.  If no result is found in cache, the domain name lookup has failed and the DNS lookup request continues down the chain. A domain lookup may fail all the way down the chain until it&#8217;s finally resolved with the second or third DNS server listed, taking maybe 15 seconds to finally succeed. But, once domain lookup has been successfully performed, this domain request &#8220;answer&#8221; is cached all the way <em>back</em> up the chain, for varying amounts of time.  Browsers like Safari and Firefox normally cache domain name lookups for 1 minute (30 minutes if you&#8217;re Internet Explorer in Vista). Leopard&#8217;s Directory Services program caches lookups for one hour (3600 seconds) by default.</p>
<p>Once a successful domain lookup has occurred, web pages from the same site will load very quickly, since the domain and its IP address are known and cached in memory. When the cached domain lookup result expires, the vicious cycle of slow domain lookups restarts. This often leads to the confusing pattern of fast Internet / slow Internet performance that can be seen sporadically throughout a browsing session.</p>
<h3>IPv6</h3>
<p><a href="http://en.wikipedia.org/wiki/IPv6" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv6, the new way of addressing all things on the Internet</a>, is important and necessary as we&#8217;ll eventually run out of IPv4 addresses (like 17.149.160.49). But part of the issue with slow browsing and slow Internet on Leopard is the combination of how IPv6 is used in Mac OS X and the current state of DSL routers and cable modems.</p>
<p>Whenever a program on Leopard can use IPv6 addressing, such as Firefox, it will request IP addresses for domains in IPv6 and if that fails, Firefox will then try IPv4 domain lookups. The reason this adds to the slow Internet problem is that many routers and DSL or cable modems in peoples homes are not capable of handling/routing IPv6 domain name queries (properly). This can cause repeated, failed DNS queries in IPv6 format, with the requesting application eventually falling back to sending IPv4 domain lookup requests that are successfully answered.  The unfortunate problem with this &#8220;IPv6 then IPv4&#8243; order of domain lookups is users end up with <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=231607#c8" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/bugzilla.mozilla.org');">delays of 5 to 10 seconds &#8220;looking up&#8221; a domain name</a>, which is not a very long time to wait, but suffering short delays every time you visit a different website can be extremely frustrating.</p>
<h3>SRV (Service Record) Requests</h3>
<p>Part of the issue may be related to Apple&#8217;s decision to follow the <a href="http://en.wikipedia.org/wiki/IETF" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Internet Engineering Task Force</a>&#8217;s recommendation of using SRV queries instead of &#8220;A record&#8221; queries when looking up domain names in Leopard.</p>
<p>The problem with Leopard asking for <a href="http://en.wikipedia.org/wiki/Srv_record" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">SRV records</a> from DNS servers is that many DNS servers still don&#8217;t recognize or respond to SRV type DNS requests, or respond with a non-existent domain (NXDOMAIN) error code.  This is not exactly Apple&#8217;s fault for asking, it&#8217;s actually the fault of DNS server owners who are not updating their servers to the latest standards.  Regardless, whenever a program like a web browser requests a DNS record and gets failed responses, or no response at all, the program retries its requests, but only after a certain delay.  Each failed SRV request and subsequent retry adds time the user must wait before the browser or application eventually gives up on the SRV requests and tries an old-school basic A record request in an attempt to get the IP address of the domain name. And all DNS servers answer to A record requests, even the old dingy ones not following the latest IETF standards.  You, the user, sees this request &#8212; no response &#8212; retry dance as the browser taking a long time &#8220;Looking up domain.com&#8230;.&#8221;, often seen as such on the browser status bar at the bottom left hand corner of the window. Only when the browser or application has received a valid IP address from a domain lookup can it contact the web server and start to download the HTML and display the page.</p>
<h3>Timeouts</h3>
<p>The delay between lookup retries is important to prevent overloading DNS servers, DNS resolvers (like Directory Services on your Mac) and simply makes sense.  It&#8217;s similar to walking up to someone&#8217;s house and knocking on the door: Normally you wait a few moments for a response before trying again.  If you don&#8217;t wait, you don&#8217;t know whether no one&#8217;s home, or whether they&#8217;re just taking a few seconds to respond. Continued knocking doesn&#8217;t help you. (And perhaps will earn you a stern look if not make you the target of a hissy fit).</p>
<p>Hammering a DNS server with domain lookups without pause is not very productive since the DNS server will simply drop (not answer) requests that it cannot handle within a timely fashion, based on its current load and worse, may get you blocked from the DNS server.</p>
<p>Next we&#8217;ll see how we can solve or workaround the issues discussed above that could be slowing down Leopard&#8217;s Internet speed.</p>
<p><a name="solutions"></a></p>
<h2>Solutions</h2>
<ul>
<li><a href="#direct_dns_better_dns">Direct DNS / Better DNS</a></li>
<li><a href="#disable_ipv6_dns_lookups">Disable IPv6 DNS Lookups</a></li>
<li><a href="#update_dns_servers_on_router">Update DNS Servers on Router</a></li>
<li><a href="#update_router_firmware">Update Router Firmware</a></li>
</ul>
<p><a name="direct_dns_better_dns"></a></p>
<h3>Direct DNS / Better DNS</h3>
<p>Update 080606: <span style="text-decoration: line-through;"><a href="#update_080606_1">Leopard 10.5.3 may have changed the order in which DNS Servers are used</a>.</span></p>
<p>Update 080606: DNS servers entered on a DHCP configured setup are used in reverse order. I.e. the last server entered is the first to be used.  If you&#8217;ve manually configured a network location, DNS servers are used in the order that you&#8217;ve entered them/see them.</p>
<p><strong>New 080606</strong>: If you wish to save your current network setup and have the option of returning to it easily, follow the <a href="#create_new_network_location">instructions for Creating a New Network Location</a>.  Otherwise, follow the instructions immediately below to quickly add new DNS servers.</p>
<h4>Add DNS servers to Current Network Configuration</h4>
<p>This is the quickest &amp; easiest way to use new DNS servers, which is to simply add them to the DNS tab found in System Preferences =&gt; Network =&gt; Advanced =&gt; click on DNS tab.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/network_dhcp_add_dns.gif" ><img class="alignnone size-medium wp-image-86" title="Network Dhcp Add Dns" src="http://installingcats.com/wp-content/uploads/2008/06/network_dhcp_add_dns-234x300.gif" alt="" width="234" height="300" /></a></p>
<p>Click on the + sign at the bottom left hand corner near IPv6 or IPv6 addresses and type in the addresses of the DNS servers you wish, in reverse priority order. (Recommended: OpenDNS servers at 208.67.220.220 and 208.67.222.222).  I.e. the server that you want to use first, enter it last.  Afterwards, click Ok.  Then in the Network pane, click Apply to make your changes active.  If you&#8217;re using an AirPort wireless connection, wait a few moments for the connection to be re-established<br />
<a name="create_new_network_location"></a></p>
<h4>Creating a New Network Location</h4>
<p>The advantage of creating a new network location is the ease of which you can move back and forth between different network setups.  By creating and using a new network location, you can always revert your changes  by simply selecting your original (Automatic) network location from the Location drop down list.</p>
<p>In Leopard, open <strong>System Preferences</strong> =&gt; <strong>Network</strong> =&gt; click the <strong>Advanced</strong> button (bottom right corner)</p>
<p><img class="alignnone size-full wp-image-71" title="Network Preferences Pane" src="http://installingcats.com/wp-content/uploads/2008/06/network.jpg" alt="" width="340" height="273" /><br />
Click <strong>TCP/IP</strong> tab (top left).<br />
Write down on a piece of paper (or in TextEdit) the <strong>IPv4 Address</strong>, <strong>Subnet Mask</strong> (255.255.255.0), <strong>Router</strong>,  and <strong>Configure IPv6</strong> setting. Click <strong>Cancel</strong>.</p>
<p><img class="alignnone size-full wp-image-68" title="Network Advanced TCP IP Settings" src="http://installingcats.com/wp-content/uploads/2008/06/network_advanced_tcp_ip.jpg" alt="" width="340" height="242" /></p>
<p>Find the<strong> Location</strong> drop down at top of the Network preferences pane. Click it and choose <strong>Edit Locations</strong>.</p>
<p><img class="alignnone size-full wp-image-69" title="network_locations" src="http://installingcats.com/wp-content/uploads/2008/06/network_locations.jpg" alt="" width="355" height="170" /><br />
Highlight &#8220;Automatic&#8221; if not already<br />
Click the <strong>Gear icon</strong> on the bottom center, choose <strong>Duplicate Location</strong></p>
<p><img class="alignnone size-full wp-image-70" title="network_locations_duplicate" src="http://installingcats.com/wp-content/uploads/2008/06/network_locations_duplicate.jpg" alt="" width="315" height="310" /><strong></strong><br />
Choose a name, I used &#8220;Home&#8221;.<br />
Change the <strong>Location</strong> drop down box by clicking on &#8220;Automatic&#8221; and then switch it to &#8220;Home&#8221; (or the name you chose in the last step)<br />
You&#8217;ll see the following:</p>
<p><img class="alignnone size-full wp-image-72" title="Network with new Location Home" src="http://installingcats.com/wp-content/uploads/2008/06/network_location_home_new.jpg" alt="" width="400" height="322" /><br />
Select <strong>Airport</strong> on the left (or <strong>Ethernet</strong> if you&#8217;re not using a wireless connection).<br />
Click <strong>Advanced</strong> at the bottom right.<br />
Click on the <strong>TCP/IP</strong> tab-button.<br />
Change the <strong>Configure IPv4</strong> drop down box to &#8220;Manually&#8221;.<br />
Here&#8217;s where you use the values you saved in Step 2. Fill out <strong>IPv4 address</strong>, <strong>subnet mask</strong>, <strong>router</strong>, <strong>configure IPv6</strong> settings. <em>Do not</em> click <strong>OK</strong>, instead click on <strong>DNS</strong> near the top.<br />
Click the <strong>+</strong> button, bottom left hand corner. This creates a blue outline under DNS Servers on the left half of this window.</p>
<p><img class="alignnone size-full wp-image-73" title="Network Home DNS" src="http://installingcats.com/wp-content/uploads/2008/06/network_home_dns.jpg" alt="" width="400" height="285" /></p>
<p><img class="alignnone size-full wp-image-74" title="Network Home DNS Entry" src="http://installingcats.com/wp-content/uploads/2008/06/network_home_dns_entry.jpg" alt="" width="500" height="399" /></p>
<p>Enter in the DNS server of your choice. I recommend OpenDNS at 208.67.222.222. (Don&#8217;t include a period at the end). Add a second OpenDNS server by clicking again on the + button and entering 208.67.220.220. These DNS servers will automatically redirect you to the closest / best server for you, regardless of whether you&#8217;re in France (like me) or in North America. Click <strong>OK</strong>. You should be returned to the Network preferences pane and see something like the following:</p>
<p><img class="alignnone size-full wp-image-80" title="Network Location Home Done" src="http://installingcats.com/wp-content/uploads/2008/06/network_location_home_done.jpg" alt="" width="400" height="322" /></p>
<p>At this point you&#8217;ve created a new Location called &#8220;Home&#8221;, having setup AirPort or Ethernet with the correct settings and &#8220;Services&#8221; (i.e. DNS), but none of these changes have been made active.  Let&#8217;s make a backup of the configuration file that will be updated <em>before</em> you apply your changes. In Finder, click on the hard disk icon at the top left corner (usually Macintosh HD), then navigate to this directory: <strong>/Library/Preferences/SystemConfiguration</strong> and find this file: <strong>preferences.plist</strong>.  Simply copy the file to your Documents folder or to a spot of your choice. If you have to rollback the applied changes, you can copy this file back to the above location.  If you&#8217;re using Time Machine, this file should be backed up already.  Now you know where this file is, so replacing it with a Time Machine version should be straightforward.</p>
<p>Before we make our changes effective, we&#8217;re going to check how DNS requests are handled now, before the changes, and after to make sure we&#8217;ve changed our Network Settings properly.<br />
<a name="listen_tcpdump"></a><br />
Leave the Network window open as is and <a href="http://installingcats.com/2008/05/23/terminal-in-os-x-leopard-or-tiger/" target="_blank" >open up a Terminal window</a>. We&#8217;re going to be using the <a href="http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/" target="_blank" >tcpdump program to listen to DNS traffic</a> between your computer and your DNS server.</p>
<p>Type this command and hit Enter: <code>sudo tcpdump -i en1 -s 128 port 53</code></p>
<p>(If you&#8217;re using Ethernet with a cable, use <strong>en0</strong> instead of <strong>en1</strong>, which is the AirPort wireless interface).</p>
<p>Supply your password when asked to do so.</p>
<p>You should see something like the following:</p>
<p><code>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br />
listening on en1, link-type EN10MB (Ethernet), capture size 96 bytes</code></p>
<p>tcpdump should now be running.</p>
<p>Open up another Terminal window and type the following command: <code>curl http://www.csu.edu</code></p>
<p>This uses the curl program to read the web page located at www.csu.edu.</p>
<p>Going back to your tcpdump window you should see something similar to this:</p>
<p>00:31:37.026520 IP 192.168.1.132.56645 &gt; WANADOO-D310.domain: 19279+ SRV? _http._tcp.www.csu.edu. (40)<br />
00:31:37.029352 IP WANADOO-D310.domain &gt; 192.168.1.132.56645: 19279* 0/0/0 (40)<br />
00:31:37.029849 IP 192.168.1.132.56646 &gt; WANADOO-D310.domain: 49549+ SRV? _http._tcp.www.csu.edu. (40)<br />
00:31:37.032657 IP WANADOO-D310.domain &gt; 192.168.1.132.56646: 49549* 0/0/0 (40)<br />
00:31:37.034345 IP 192.168.1.132.56647 &gt; WANADOO-D310.domain: 46004+ A? www.csu.edu. (29)<br />
00:31:37.279043 IP WANADOO-D310.domain &gt; 192.168.1.132.56647: 46004 1/0/0 A www.csu.edu (45)</p>
<p>Notice 192.168.1.132. That&#8217;s me, or really, my MacBook Pro&#8217;s AirPort wireless card. Then there&#8217;s a greater than sign (&gt;) showing the direction of DNS traffic.  WANADOO-D310 is my DNS server, which is actually the DSL modem/router, a.k.a. 192.168.1.1, which is passing domain name lookups to the real DNS servers at my Internet Service Provider (WANADOO, yeah I know goofy name).  Remember the network settings we wrote down before starting all this?  You&#8217;ll notice that the DNS server is 192.168.1.1.</p>
<p>OK, we&#8217;ve got a baseline of what our Mac is doing when looking up domain names, let&#8217;s apply our new network location &#8220;Home&#8221; that we created and see the difference.</p>
<p>Back on the Network preference pane, notice the <strong>Apply</strong> button on the bottom right hand corner. Once you apply your changes, your Mac will begin using the new Location you&#8217;ve created.</p>
<p>Take the plunge and click on <strong>Apply</strong>.</p>
<p>For AirPort wireless connections, you may have to click the Turn AirPort Off button, wait fifteen seconds, then click Turn AirPort On again in order for the new DNS settings to be used.</p>
<p>Going back to the Terminal window where we executed the curl command, and with our changes set, let&#8217;s execute another: <code>curl http://www.unc.edu</code></p>
<p>Results will look like the following:</p>
<p>00:32:33.562589 IP 192.168.1.132.56663 &gt; resolver1.opendns.com.domain: 39356+ SRV? _http._tcp.www.unc.edu. (40)<br />
00:32:33.767237 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56663: 39356 NXDomain 0/0/0 (40)<br />
00:32:33.767856 IP 192.168.1.132.56664 &gt; resolver1.opendns.com.domain: 62833+ SRV? _http._tcp.www.unc.edu. (40)<br />
00:32:33.809161 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56664: 62833 NXDomain 0/0/0 (40)<br />
00:32:33.811130 IP 192.168.1.132.56665 &gt; resolver1.opendns.com.domain: 45293+ A? www.unc.edu. (29)<br />
00:32:33.853070 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56665: 45293 1/0/0 A www.unc.edu (45)</p>
<p>Notice what&#8217;s changed?  WANADOO-D310.doman has changed to resolver1.opendns.com.domain.  This is OpenDNS&#8217; name for the DNS server we started using, 208.67.222.222, which we entered as our DNS for the &#8220;Home&#8221; location. Also, note how instead of just getting a 0/0/0 response, we&#8217;re getting NXDOMAIN 0/0/0?  That&#8217;s at least the DNS server <em>responding</em> saying: that domain doesn&#8217;t exist (not exactly true, since the domain does exist, but it just doesn&#8217;t have an SRV record), rather than the DNS server sending back nothing, not even an error code.  Also, notice how our Mac tried twice on asking for SRV records, and the DNS server responded twice, that no record exists for that domain, and then finally our Mac asks for an A record (A?) and gets one answer record back (1/0/0 A ww.unc.edu).</p>
<p>If you want to see a domain that actually has a proper SRV record, try this in the curl terminal window: <code>curl http://s3.amazonaws.com</code></p>
<p>Results should be something like this:</p>
<p>09:36:56.440037 IP 192.168.1.132.61010 &gt; resolver1.opendns.com.domain: 34536+ SRV? _http._tcp.s3.amazonaws.com. (45)<br />
09:36:56.671881 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61010: 34536 2/0/0 CNAME s3-directional-w.amazonaws.com., (97)<br />
09:36:56.673894 IP 192.168.1.132.61011 &gt; resolver1.opendns.com.domain: 18143+ A? s3.amazonaws.com. (34)<br />
09:36:56.715913 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61011: 18143 2/0/0 CNAME s3-1.amazonaws.com., A s3.amazonaws.com (69)<br />
09:36:57.263186 IP 192.168.1.132.61012 &gt; resolver1.opendns.com.domain: 32069+ PTR? 171.206.21.72.in-addr.arpa. (44)<br />
09:36:57.306060 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61012: 32069 1/0/0 PTR s3.amazonaws.com. (74)</p>
<p>Here we&#8217;re getting 2 answer records (the &#8220;2&#8243; in 2/0/0) on the SRV requests, which are CNAME records, first being s3-directional-w.amazonaws.com, second being s3-1.amazonaws.com. CNAME records are &#8220;nickname&#8221; records, which point to true name, or A Record. Right after that our Mac asks for an A record on the first CNAME that was returned to us (s3-directional-w.amazonaws.com) to get back the actual IP address (72.21.207.246), which you can verify by using the <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/dig.1.html" onclick="javascript:urchinTracker ('/outbound/article/developer.apple.com');">dig program.</a></p>
<p>This fix alone has made my Internet connection much faster since my ISP&#8217;s DNS servers were sometimes under heavy load and slow to respond to DNS queries.  Most of the time, I&#8217;d get name requests done in 200-400ms.  Not noticeably slow.  But, on occasion domain name lookups would timeout after 7 seconds, multiple times, resulting in up to 21 seconds of waiting for a single name lookup request to occur. This is excruciatingly long when I often open up multiple different websites one right after another when starting a browsing session.  To make matters worse, many websites are getting into the practice of placing different parts of the web page on different domain names.  Let&#8217;s take CNN.com for example.  To load this single page of President Obama&#8230; oh, I mean senator Obama, waving to the crowd, tcpdump showed name lookups for the following domains:</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/president_obama_cnn.jpg" ><img class="alignnone size-medium wp-image-78" title="President Obama" src="http://installingcats.com/wp-content/uploads/2008/06/president_obama_cnn.jpg" alt="" width="300" height="247" /></a></p>
<ol>
<li>www.cnn.com</li>
<li>edition.cnn.com</li>
<li>i.cdn.turner.com</li>
<li>i2.cdn.turner.com</li>
<li>svcs.cnn.com</li>
<li>ads.cnn.com</li>
<li>i.cnn.net</li>
<li>ad.doubleclick.net</li>
<li>metrics.cnn.com</li>
<li>m1.2mdn.net</li>
</ol>
<p>One Page. Ten domains. Ten DNS lookups. Ouch. And I&#8217;m not including PTR/Reverse Lookups for each domain, making it really 20 DNS queries.</p>
<p>And does anyone wonder why problematic DNS performance in Leopard would slow web browsing to a crawl?<br />
<a name="disable_ipv6_dns_lookups"></a></p>
<h3>Disable IPv6 DNS Lookups</h3>
<p>Firefox and Camino by default do DNS lookups using IPv6 addresses by default, reverting to IPv4 if that fails.  This can be a problem when the router that we are using to connect to the Internet doesn&#8217;t work with IPv6 DNS requests properly, if at all.</p>
<p>To disable IPv6 DNS lookups in Firefox and Camino, type the following into the browser address bar:<br />
<code>about:config</code><br />
If you see a large &#8220;Be Careful&#8221; warning, simply click on &#8220;I understand and I wish to continue&#8221;.  Next, you will see a long list of Preference Name, Status, Type and Value columns.  Above all that is a bar in which you can filter which preferences to view.  In the Filter bar type: ipv6<br />
You should see something like the following:</p>
<p><img class="alignnone size-full wp-image-76" title="Firefox About Config" src="http://installingcats.com/wp-content/uploads/2008/06/about_config.jpg" alt="" width="416" height="135" /></p>
<p>To change the value for this preference simply double-click the name &#8220;network.dns.disableIPv6&#8243;.  The value you want is &#8220;true&#8221;, which means that IPv6 DNS requests are disabled.  If this value is already &#8220;true&#8221;, don&#8217;t double-click this preference.</p>
<p>To make the preference change active, close the browser and Quit Firefox completely (Apple Key + Q), then restart Firefox. You <em>may</em> have to repeat this Quitting and Restarting to have the change take effect.</p>
<p>After making this change, Firefox (or Camino if that&#8217;s what you&#8217;re using) will use IPv4 only when performing DNS requests.</p>
<p><a name="update_dns_servers_on_router"></a></p>
<h3>Update DNS Servers on Router</h3>
<p>If you have access to your router&#8217;s administration web page, you may be able to set its DNS servers manually, avoiding the buggy DNS servers located at your ISP.  Refer the manual that came with your router, or speak with your service provider about how to access the router&#8217;s administration page.  Often this page can be accessed at http://192.168.1.1, so simply type that address into your browser&#8217;s address bar and press Enter.  With any luck you&#8217;ll have access to the Administration login page.  Many router administration sites don&#8217;t have passwords, don&#8217;t have usernames, or use very simple standard passwords such as &#8220;admin&#8221;, leaving it up to the owner to change it to something more secure. Visit the router manufacturer&#8217;s web site for more information about accessing the administration features of the router.</p>
<p>Keep in mind that updating the router&#8217;s DNS servers will not avoid problems you may be encountering with the router&#8217;s poor DNS Proxying/Forwarding support. If your router can&#8217;t handle IPv6 or SRV requests coming from your Mac, these DNS requests will stop here at the router and will not be forwarded onto the new DNS servers you&#8217;ve just specified, making this fix completely ineffective. DNS requests that your router cannot understand will likely be ignored or returned without answer results. DNS Proxy/Forwarding issues are discussed further in the next section.</p>
<p><a name="update_router_firmware"></a></p>
<h3>Update Router Firmware</h3>
<p>For those who need to continue making DNS requests through their router, rather than directly against DNS servers, due to VPN or tunneling requirements, your fix may lie in upgrading your router&#8217;s firmware.  Routers are in effect &#8220;the&#8221; DNS server for the majority of home broadband Internet connections since it acts as the DNS Proxy, taking domain name lookup requests from your computer, passes them to the ISP&#8217;s DNS servers for resolution, receives the results, and finally passes the name lookup results back to your Mac, all transparently in the background.  This is why your DNS server address is the same as your &#8220;Gateway&#8221; which is a fancy name for your router, since all traffic passes through this &#8220;gate&#8221; of sorts.  Thus the Gateway address is often 192.168.1.1, which in turn is also the address of the DNS server for the &#8220;Automatic&#8221; network  Location in Leopard.</p>
<p>Be aware that DNS Proxying is a common failure point in the domain name resolution chain.  If the router is not compliant with the latest Internet Task Force standards, it may not know what to do with SRV requests (which Leopard now uses) and may simply ignore them, return empty results, or return NXDOMAIN (non-existent) errors. Again, a firmware update may bring your router up to the latest standards for DNS servers.</p>
<p>If the router is a DSL Cable modem/router, contact your ISP and ask whether there is updated firmware for the model of router you&#8217;re using.  If you&#8217;re more of a do-it-yourself person you can attempt to find the manufacturer of the router/modem and find the latest firmware from their website, if available.  <strong>Disclaimer</strong>: updating the firmware of your router with the wrong firmware, or not completing the firmware update due to power loss, <strong>will render your router useless</strong>. Do not attempt to update the firmware if you are not confident of what you&#8217;re doing.</p>
<h2>New Information</h2>
<p><a name="update_080606_1"></a><br />
<strong> Update 080606</strong>: As per a <a href="http://forums.macosxhints.com/showthread.php?t=81877&amp;page=3#post474424" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/forums.macosxhints.com');">discussion on Macosxhints forums</a>, <span style="text-decoration: line-through;">Apple may have changed the order in which DNS servers are used</span>.  In the screenshot, the listed DNS servers are used in the order they are seen, under Leopard 10.5.2. This is true for a manually configured Network Location. <span style="text-decoration: line-through;">In 10.5.3, users are seeing the opposite order, i.e</span>. In a DCHP configured Network Location (automatically done by your DSL router and ISP), the DNS servers listed are used in reverse order. (Bottom server is used first, then moves up the list as needed). Thus <a href="#direct_dns_better_dns">adding a new Network Location to use a given DNS server</a> would be unnecessary.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/dns_servers.gif" ><img class="alignnone size-medium wp-image-85" title="Leopard DNS Servers Tab" src="http://installingcats.com/wp-content/uploads/2008/06/dns_servers-211x300.gif" alt="" width="211" height="300" /></a></p>
<p><strong>Update 080614</strong>: Airport Wireless Connection Drops - This is a common problem for Leopard users after upgrading to 10.5.2.  This isn&#8217;t exactly a slow Internet problem, but rather, a &#8220;no Internet&#8221; problem. <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" >See this related post on wireless problems on Apple AirPort connections</a>.</p>
<h2>The Beginning</h2>
<p>This is not the end, but rather, the beginning of an article that I hope will continue to grow in scope to cover more problems and offer more solutions to slow Internet problems in Leopard.  Please leave a comment if you&#8217;re experiencing a problem not discussed here and we&#8217;ll get working on diagnosing the issue and searching for a cure.</p>
<p>If you&#8217;re having troubles implementing a fix listed above, leave a comment and I&#8217;ll try to expand on the topic or reword it so that it is understandable to you and to everyone else I&#8217;ve confused.</p>
<p><a href="http://feeds.feedburner.com/NewFixOnSlowInternetWithLeopard"class="imagelink2"  onclick="javascript:urchinTracker ('/outbound/article/feeds.feedburner.com');"><img class="alignnone size-full wp-image-81" title="RSS Feed - Get Updates on Fixes to Slow Internet on Leopard" src="http://installingcats.com/wp-content/uploads/2008/06/feed-icon32x32.png" alt="" width="32" height="32" /></a> Keep in the Loop</p>
<ul>
<li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2070912&amp;loc=en_US" onclick="javascript:urchinTracker ('/outbound/article/www.feedburner.com');">Get updates and comments to this article by Email through Google&#8217;s FeedBurner:</a><br />
<form style="border:1px solid #ccc;padding:3px;text-align:center;" action="http://www.feedburner.com/fb/a/emailverify" method="post">Enter your email address:</p>
<input style="width: 140px;" name="email" type="text" />
<input name="url" type="hidden" value="http://feeds.feedburner.com/~e?ffid=2070912" />
<input name="title" type="hidden" value="Updates and Comments on: Slow Internet with Leopard" />
<input name="loc" type="hidden" value="en_US" />
<input type="submit" value="Subscribe" />Delivered by <a href="http://www.feedburner.com" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.feedburner.com');">FeedBurner</a></p>
</form>
</li>
<li><a href="http://feeds.feedburner.com/NewFixOnSlowInternetWithLeopard"title="New Fix on Slow Internet in Leopard - Fedd"  onclick="javascript:urchinTracker ('/outbound/article/feeds.feedburner.com');"><strong>Subscribe to the comments feed to keep updated on new fixes and information</strong></a> I&#8217;ll add to this article.  Every time this page is updated with new information, I&#8217;ll add a comment and you&#8217;ll be able to see what&#8217;s changed in your Feed Reader.</li>
</ul>
<p>- Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/05/slow-internet-with-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>1.0.0.127.dnsbugtest. 1.0.0.127.in-addr-arpa</title>
		<link>http://installingcats.com/2008/06/01/fix-repeated-dnsbugtest-dns-queries-from-mac-dns/</link>
		<comments>http://installingcats.com/2008/06/01/fix-repeated-dnsbugtest-dns-queries-from-mac-dns/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 23:16:08 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[bonjour]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[dnsbugtest]]></category>

		<category><![CDATA[multicast dns]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=64</guid>
		<description><![CDATA[Update: Stuart kindly dropped me a note regarding Apple&#8217;s fix for this.  See the end of the article for his response.
This evening while randomly working on articles for Installing Cats, I was watching DNS requests from tcpdump running in a terminal window and noticed something quite odd: a DNS request every three seconds for a [...]]]></description>
			<content:encoded><![CDATA[<p>Update: Stuart kindly dropped me a note regarding Apple&#8217;s fix for this.  See the end of the article for his response.</p>
<p>This evening while randomly working on articles for Installing Cats, I was <a href="http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/" >watching DNS requests from tcpdump</a> running in a terminal window and noticed something quite odd: a DNS request <strong><em>every three seconds</em></strong> for a PTR record as follows:<br />
<code>PTR? 1.0.0.127.dnsbugtest.1.0.0.127.in-addr.arpa</code></p>
<p>The first question was: &#8220;What the heck is making this DNS query?&#8221; Second: &#8220;Why is it so persistent?&#8221;  Thirdly: &#8220;What the hell is with that bizarre address?&#8221;</p>
<ol>
<li>mdnsResponder service is the origin of these repeated reverse-lookup requests.</li>
<li>mdns (multicast dns) / Bonjour is trying to see if you&#8217;re using a buggy router/adsl/cable modem by sending out these ill-formed reverse-lookup requests and seeing what response it gets back.  Unforunately, many routers crash and do not respond to this request. Thus, mdns will repeat the request over and over again incessantly.</li>
<li>Explained in the last point. Address is meant to &#8220;diagnose&#8221; whether the router will respond to the &#8220;test&#8221; query in a poor or proper manner.</li>
</ol>
<p>How did I stop mdns from continue to repeat its &#8220;test&#8221; dns request?  I turned off AirPort for a few moments, waited for the mdnsResponder_Helper service to die off (in Activity Monitor), and then turned my WiFi card back on.  mDns was kind enough to quit sending out these repeated queries.</p>
<p>The interesting thing is that I was using OpenDNS as my only DNS server.  OpenDNS <em>does</em> handle mdns&#8217; dnsbugtest queries fine, so I&#8217;m not sure what happened and why OpenDNS stopped responding to the requests.  Perhaps they were just too fast? And instead of responding with a simple NXDOMAIN, it decided I was doing something malicious and deserved no response at all.</p>
<p>Either way, as a fallback plan, I&#8217;ve added my router&#8217;s dns&#8217; ip into the DNS servers list within Network Preferences (under a new, custom Location where I&#8217;m specifying all settings, most of which are copied from the default Automatic location). If OpenDNS once again decides to not respond to the dnsbugtest queries, my router and ISP&#8217;s DNS servers should provide a second chance at mDns getting the response it&#8217;s looking for.</p>
<p>Read more about the technology of <a href="http://www.wipo.int/pctdb/en/wo.jsp?IA=WO2006108113&amp;DISPLAY=DESC" onclick="javascript:urchinTracker ('/outbound/article/www.wipo.int');">multicast DNS and Apple&#8217;s Bonjour service, created by the brilliant Stuart Cheshire</a>.</p>
<p>From Stuart Cheshire on Sept. 16:</p>
<p>&#8220;[The repeated dnsbugtest requests] was a just bug, fixed and checked in back in March, and finally delivered to customers yesterday in <a href="http://10.5.5./" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/10.5.5.');">10.5.5.</a></p>
<p>The bug was that when mDNSResponder sent its DNS request to IP address X, and the response was sent back with source IP address Y, mDNSResponder would ignore the response as suspect and try again. Why people think it&#8217;s okay to reply with the wrong source IP address I don&#8217;t know, but they do, so now we accept those packets.&#8221;</p>
<p>This is good news for those who keep their Mac&#8217;s patched with the latest updates.  Thanks Stuart.</p>
]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/01/fix-repeated-dnsbugtest-dns-queries-from-mac-dns/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
