On Sun, Jan 4, 2015 at 11:20 AM, William H. Magill <mag...@mac.com> wrote:
> > BIND9 at least comes with a local zone definition that includes > "localhost." as a name, with the usual mapping. That said, people *usually* > get it from /etc/hosts... *but* OS X is a little weird in how/when it uses > the hosts file. > > If one believes the contents of /etc/hosts -- OSX only consults it at boot > time. > That comment is an approximation of the truth. But, while BSD API stuff follows similar rules to other Unixes (checks hosts first then the name service --- but since the name service isn't up yet at boot time, it only uses the hosts file), Cocoa API doesn't appear to do so. (I admit to not knowing exactly what that API does, just that it seems to be different.) -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users