title: Mac OSX Lion DNS lookup order
body: <p>After upgrading to Mac OSX Lion I figured out that /etc/hosts is not looked up in first place for name resolution anymore. This leads to some side effects like:</p>
  
  <ol>
  <li>Entries in /etc/hosts are resolved painfully slow</li>
  <li>You can't not override existing domains, e.g. 127.0.0.1 www.google.com</li>
  <li>If you get search domain entries from DHCP, let say .lan, and some funny guy configured localhost.lan to something else then 127.0.0.1 in the local DNS you can not reach your localhost anymore.</li>
  </ol>
  
  <p>Is this behavior intended? Does it make any sense? And most important, how can I come back to the old behavior.</p>