hosts is ignored

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Sep 12 00:33:48 PDT 2007


-----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-----


More information about the freebsd-questions mailing list