7 Comments

  • Mark Jaquith January 25, 2008 @ 4:15 pm

    Googling a technical problem and finding the answer on your own blog is simultaneously humbling and thrilling. Also creepy. :-)

  • Chris January 25, 2008 @ 4:24 pm

    That is a really nerdy post title! I’m glad I only semi-understand what you’re talking about.

  • erik January 25, 2008 @ 7:22 pm

    alert(“hah”)

  • Christoph Voigt January 26, 2008 @ 5:43 am

    Good to see you discovered this evil trap too :D

  • lildude January 26, 2008 @ 9:58 am

    Not necessarily. If you’re using Linux, Solaris, OS X, or any other *nix variant, you should find putting “files” before “dns” in your /etc/nsswitch.conf file will cause your localhost to refer to your local /etc/hosts file before DNS (except for Sendmail, but that’s a completely different can of worms ;-) ). I’m not sure how Windows works, but I’m sure there’s a similar method of forcing it to query your hosts/lmhosts file before DNS.

  • James Davis January 28, 2008 @ 12:50 am

    FoxyProxy, an extension to Firefox, amongst many other wonderful things allows you to chose whether to perform DNS resolution locally or on the proxy server.

Share Your Thoughts