g r o t t o 1 1

Peeve Farm
Breeding peeves for show, not just to keep as pets
Brian Tiemann
Silicon Valley-based purveyor of a confusing mixture of Apple punditry and political bile.

btman at grotto11 dot com

Read These Too:

InstaPundit
USS Clueless
James Lileks
Little Green Footballs
As the Apple Turns
Entropicana
Cold Fury
Capitalist Lion
Red Letter Day
Eric S. Raymond
Tal G in Jerusalem
Secular Islam
Aziz Poonawalla
Corsair the Rational Pirate
.clue
Ravishing Light
Rosenblog
Cartago Delenda Est

« ? Blogging Brians # »





Book Plugs:


Buy 'em and I get
money. I think.
BSD Mall


Amazon Honor System Click Here to Pay Learn More



11/29/2004 - 11/30/2004
11/22/2004 - 11/28/2004
11/15/2004 - 11/21/2004
 11/8/2004 - 11/14/2004
 11/1/2004 -  11/7/2004
10/25/2004 - 10/31/2004
10/18/2004 - 10/24/2004
10/11/2004 - 10/17/2004
 10/4/2004 - 10/10/2004
 9/27/2004 -  10/3/2004
 9/20/2004 -  9/26/2004
 9/13/2004 -  9/19/2004
  9/6/2004 -  9/12/2004
 8/30/2004 -   9/5/2004
 8/23/2004 -  8/29/2004
 8/16/2004 -  8/22/2004
  8/9/2004 -  8/15/2004
  8/2/2004 -   8/8/2004
 7/26/2004 -   8/1/2004
 7/19/2004 -  7/25/2004
 7/12/2004 -  7/18/2004
  7/5/2004 -  7/11/2004
 6/28/2004 -   7/4/2004
 6/21/2004 -  6/27/2004
 6/14/2004 -  6/20/2004
  6/7/2004 -  6/13/2004
 5/31/2004 -   6/6/2004
 5/24/2004 -  5/30/2004
 5/17/2004 -  5/23/2004
 5/10/2004 -  5/16/2004
  5/3/2004 -   5/9/2004
 4/26/2004 -   5/2/2004
 4/19/2004 -  4/25/2004
 4/12/2004 -  4/18/2004
  4/5/2004 -  4/11/2004
 3/29/2004 -   4/4/2004
 3/22/2004 -  3/28/2004
 3/15/2004 -  3/21/2004
  3/8/2004 -  3/14/2004
  3/1/2004 -   3/7/2004
 2/23/2004 -  2/29/2004
 2/16/2004 -  2/22/2004
  2/9/2004 -  2/15/2004
  2/2/2004 -   2/8/2004
 1/26/2004 -   2/1/2004
 1/19/2004 -  1/25/2004
 1/12/2004 -  1/18/2004
  1/5/2004 -  1/11/2004
12/29/2003 -   1/4/2004
12/22/2003 - 12/28/2003
12/15/2003 - 12/21/2003
 12/8/2003 - 12/14/2003
 12/1/2003 -  12/7/2003
11/24/2003 - 11/30/2003
11/17/2003 - 11/23/2003
11/10/2003 - 11/16/2003
 11/3/2003 -  11/9/2003
10/27/2003 -  11/2/2003
10/20/2003 - 10/26/2003
10/13/2003 - 10/19/2003
 10/6/2003 - 10/12/2003
 9/29/2003 -  10/5/2003
 9/22/2003 -  9/28/2003
 9/15/2003 -  9/21/2003
  9/8/2003 -  9/14/2003
  9/1/2003 -   9/7/2003
 8/25/2003 -  8/31/2003
 8/18/2003 -  8/24/2003
 8/11/2003 -  8/17/2003
  8/4/2003 -  8/10/2003
 7/28/2003 -   8/3/2003
 7/21/2003 -  7/27/2003
 7/14/2003 -  7/20/2003
  7/7/2003 -  7/13/2003
 6/30/2003 -   7/6/2003
 6/23/2003 -  6/29/2003
 6/16/2003 -  6/22/2003
  6/9/2003 -  6/15/2003
  6/2/2003 -   6/8/2003
 5/26/2003 -   6/1/2003
 5/19/2003 -  5/25/2003
 5/12/2003 -  5/18/2003
  5/5/2003 -  5/11/2003
 4/28/2003 -   5/4/2003
 4/21/2003 -  4/27/2003
 4/14/2003 -  4/20/2003
  4/7/2003 -  4/13/2003
 3/31/2003 -   4/6/2003
 3/24/2003 -  3/30/2003
 3/17/2003 -  3/23/2003
 3/10/2003 -  3/16/2003
  3/3/2003 -   3/9/2003
 2/24/2003 -   3/2/2003
 2/17/2003 -  2/23/2003
 2/10/2003 -  2/16/2003
  2/3/2003 -   2/9/2003
 1/27/2003 -   2/2/2003
 1/20/2003 -  1/26/2003
 1/13/2003 -  1/19/2003
  1/6/2003 -  1/12/2003
12/30/2002 -   1/5/2003
12/23/2002 - 12/29/2002
12/16/2002 - 12/22/2002
 12/9/2002 - 12/15/2002
 12/2/2002 -  12/8/2002
11/25/2002 -  12/1/2002
11/18/2002 - 11/24/2002
11/11/2002 - 11/17/2002
 11/4/2002 - 11/10/2002
10/28/2002 -  11/3/2002
10/21/2002 - 10/27/2002
10/14/2002 - 10/20/2002
 10/7/2002 - 10/13/2002
 9/30/2002 -  10/6/2002
 9/23/2002 -  9/29/2002
 9/16/2002 -  9/22/2002
  9/9/2002 -  9/15/2002
  9/2/2002 -   9/8/2002
 8/26/2002 -   9/1/2002
 8/19/2002 -  8/25/2002
 8/12/2002 -  8/18/2002
  8/5/2002 -  8/11/2002
 7/29/2002 -   8/4/2002
 7/22/2002 -  7/28/2002
 7/15/2002 -  7/21/2002
  7/8/2002 -  7/14/2002
  7/1/2002 -   7/7/2002
 6/24/2002 -  6/30/2002
 6/17/2002 -  6/23/2002
 6/10/2002 -  6/16/2002
  6/3/2002 -   6/9/2002
 5/27/2002 -   6/2/2002
 5/20/2002 -  5/26/2002
 5/13/2002 -  5/19/2002
  5/6/2002 -  5/12/2002
 4/29/2002 -   5/5/2002
 4/22/2002 -  4/28/2002
 4/15/2002 -  4/21/2002
  4/8/2002 -  4/14/2002
  4/1/2002 -   4/7/2002
 3/25/2002 -  3/31/2002
 3/18/2002 -  3/24/2002
 3/11/2002 -  3/17/2002
  3/4/2002 -  3/10/2002
 2/25/2002 -   3/3/2002
 2/18/2002 -  2/24/2002
 2/11/2002 -  2/17/2002
  2/4/2002 -  2/10/2002
 1/28/2002 -   2/3/2002
 1/21/2002 -  1/27/2002
 1/14/2002 -  1/20/2002
  1/7/2002 -  1/13/2002
12/31/2001 -   1/6/2002
12/24/2001 - 12/30/2001
12/17/2001 - 12/23/2001
Monday, November 29, 2004
23:09 - Second time's the charm
http://www.codepoetry.net/archives/2004/11/03/doubledip_dns.php

(top) link
Having problems with your Mac giving you "Host not found" errors every time you try to open a new site in Safari—only to be able to reload the page and have it go through just fine? Why, so was I, until this evening! That's when I found this site, with an explanation for why it's happening, and a solution that may work.

There is a long standing bug in BSD, or i should say, so I am told, that of course is also in OS X, that causes problems with name resolution under IPv6.

OS X also seems to have a hard time turning off IPv6, I did some googling on it and found reference in some of Apple's open source mail lists where people were complaining that even though they disable it, that the resolver still sends back a IPv6 address.

. . .

In my specific case of being behind an ABS this worked for me: I went into /etc/hostconfig and changed IPV6 to -NO- and rebooted. Delay-free browsing to new domains for me. Huzzah. (Screw that recompiling stuff in the linked page; who uses IPv6 anyway? :) )

It's done the trick for me thus far. Excellent!

UPDATE: Further investigation by myself and Chris suggests that this is probably actually two or maybe three different problems layered on top of each other. First there's the BSD DNS issue, where IPv6 name lookups don't work right, or take too long, or are issued when they're not supposed to. And then there's the Mac OS X DNS framework, which has a daft 2-second timeout that overrides the natural (longer) timeout in the BSD resolver. On top of that, or perhaps related, is that simply turning off IPv6 in the Network Preferences doesn't actually affect the IPv6=-YES- setting in /etc/hostconfig, and doesn't seem to get noticed by whatever in BSD is asking for IPv6 name resolution either.

So the solution of editing /etc/hostconfig and disabling IPv6 there will work, but (possibly) only because it reduces the wait time on the lookups to less than the 2-second timeout imposed by OS X. Or possibly it suppresses the BSD IPv6 lookup altogether; I don't know. Either way, this is just a patchy workaround, one that might fail under certain circumstances, and they'd better be addressing it formally.


Back to Top


© Brian Tiemann