William H. Magill on Thu, 14 Aug 2003 09:10:19 -0400 |
I'm curious. Where does OS X keeps its hosts file? This is only semi-true. (The article is a collection of all possible techniques, and despite it's recent date, does not have correct information for release 10.2, aka Jaguar.) OS X has always "supported" /etc/hosts. In different releases of the OS, the technique to read /etc/hosts differed. (see the article.) In the early versions, you had to load the contents of /etc/hosts into netinfo because netinfo was the only place the resolver (lookupd) looked. In later versions the resolver could be configured to look in /etc/hosts in addition to the Netinfo database. However, as of 10.2, /etc/hosts is consulted automatically along with any configured LDAP servers. No modifications to lookupd or netinfo are necessary. T.T.F.N. William H. Magill # Beige G3 - Rev A motherboard - 768 Meg # Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a magill@mcgillsociety.org magill@acm.org magill@mac.com _________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|