A question about Localhost with Safari

Justin C. Walker justin at mac.com
Sun Jan 4 16:51:42 PST 2015


On Jan 4, 2015, at 16:31 , Brandon Allbery wrote:

> On Sun, Jan 4, 2015 at 7:27 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> 
>> On Sun, Jan 4, 2015 at 7:08 PM, Justin C. Walker <justin at mac.com> wrote:
>> 
>>> To answer another question from earlier in the thread, I believe the
>>> "database" used by Mac OS X during the early years was a hold-over from
>>> NeXT days (netinfo?).  I think it was essentially gone by the time 10.6 was
>>> released.
>>> 
>> 
>> Incorrect; it just changed form. Netinfo is indeed gone, but instead we
>> have DirectoryServices and dscl.
>> 
> 
> ...and indeed:
> 
>    pyanfar:3276 Z$ dscl . read /Computers/localhost
>    dsAttrTypeNative:KerberosFlags: 110
>    AppleMetaNodeLocation: /Local/Default
>    IPAddress: 127.0.0.1
>    IPv6Address: ::1 fe80::1%lo0
>    KerberosServices: host afpserver cifs vnc
>    RecordName: localhost
>    RecordType: dsRecTypeStandard:Computers
> 
> (It is *not*, however, in /Hosts.)

Do you mean that "localhost" is not mentioned in /etc/hosts?  I can't verify that one way or another since my 10.10 system is an upgrade from several versions back.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
      - Homer J Simpson
--------




More information about the macports-users mailing list