Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 08:32:12 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Peter Boosten <peter@boosten.org>
Cc:        Erich Dollansky <oceanare@pacific.net.sg>, freebsd-questions@freebsd.org
Subject:   Re: hosts is ignored
Message-ID:  <46E795FC.7070001@infracaninophile.co.uk>
In-Reply-To: <46E785B6.7030908@boosten.org>
References:  <46E77DD0.3050705@pacific.net.sg> <46E78548.80308@boosten.org> <46E785B6.7030908@boosten.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Peter Boosten wrote:
> Peter Boosten wrote:
>> What is host.conf used for? Never heard of it.
>>
> 
> Ah, found it...
> 
> ra# cat host.conf
> # Auto-generated from nsswitch.conf, do not edit
> hosts
> bind

hosts.conf is a legacy thing, from before the days when FreeBSD had
nsswitch.conf.  It provides a small subset of the functionality that
nsswitch.conf does, and unlike nsswitch.conf it isn't extensible to
allow such things as looking up hosts from LDAP.  I think most apps
nowadays don't use it, except perhaps for old binaries run in
compatability mode.

	Cheers,

	Matthew

- --
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG55X83jDkPpsZ+VYRAxVTAKC3gPYk4IX7ZA/BBJYISjRYbS5kQACfdAwS
RMNRObVXGLeNoxp2iDZnzh0=
=B1Yk
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E795FC.7070001>