Date: Fri, 3 May 2002 10:04:14 +0100 From: Byron Schlemmer <me@byron.me.uk> To: freebsd-questions@freebsd.org Subject: /etc/hosts Message-ID: <20020503100414.2ca1b66d.me@byron.me.uk>
next in thread | raw e-mail | index | archive | help
Hi folks, I'm sure this is a trivial question however I'm struggling to find a definative answer, maybe I'm not looking hard enough. /etc/hosts, does it resolve names to IPs, IPs to names, or both? Does gethostbyname() and gethostbyaddr() both query /etc/hosts? Does it just depend on the application. -- -byron -- "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020503100414.2ca1b66d.me>