From owner-freebsd-questions Mon Mar 20 14:19:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id BF54137B510 for ; Mon, 20 Mar 2000 14:19:12 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12X8ew-000PqQ-00; Mon, 20 Mar 2000 20:20:18 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12X8ew-000JGS-00; Mon, 20 Mar 2000 20:20:18 +0000 Date: Mon, 20 Mar 2000 20:20:18 +0000 From: Ben Smithurst To: Kevin Havener Cc: freebsd-questions@freebsd.org Subject: Re: Can't resolve localhost Message-ID: <20000320202018.F17092@strontium.scientia.demon.co.uk> References: <38D6394D.8A62059D@afccc.af.mil> <20000320163816.A17092@strontium.scientia.demon.co.uk> <38D67310.8D4C96C2@afccc.af.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38D67310.8D4C96C2@afccc.af.mil> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kevin Havener wrote: > As you can see, this has always been flaky for me. How would I make > sure the hosts file gets re-read by the system (besides rebooting)? > Maybe I haven't been consistent in this respect. You don't need to do anything - applications read the /etc/hosts file when they need it (I'm not sure if they only read it the first time it's needed, and cache the results, so you might at most need to kill and restart any applications affected). -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message