From owner-freebsd-questions Tue Mar 25 11:19:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02238 for questions-outgoing; Tue, 25 Mar 1997 11:19:18 -0800 (PST) Received: (from jmb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02226; Tue, 25 Mar 1997 11:19:11 -0800 (PST) From: "Jonathan M. Bresler" Message-Id: <199703251919.LAA02226@freefall.freebsd.org> Subject: Re: /etc/hosts no longer used for both 2.1.7 and 2.2 ? To: jin@george.lbl.gov (Jin Guojun[ITG]) Date: Tue, 25 Mar 1997 11:19:11 -0800 (PST) Cc: questions@freebsd.org, bugs@freebsd.org In-Reply-To: <199703251803.KAA27286@george.lbl.gov> from "Jin Guojun[ITG]" at Mar 25, 97 10:03:57 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jin Guojun[ITG] wrote: > > > It seems that /etc/hosts is no longer used by FreeBSD design. > Is this a bug or intended to do in this way? The FreeBSD seems intend to > use DNS all the time, regardless the content of the /etc/hosts. the file "/etc/host.conf" lists the methods of converting domain names to ip addresses. if you want to use "/etc/hosts" in preference to DNS, list "hosts" before "bind" in "/etc/host.conf" kryten: {13} cat /etc/host.conf hosts bind kryten: {14} > > Would some one please tell me if any way to force FreeBSD to use /etc/hosts > to do the name resolving? jmb