From owner-freebsd-hackers Wed Jan 10 18:35:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail5.sc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 733E637B400; Wed, 10 Jan 2001 18:35:03 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by mail5.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Wed, 10 Jan 2001 21:34:54 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f0B2Zc000693; Wed, 10 Jan 2001 21:35:38 -0500 (EST) (envelope-from dmaddox) Date: Wed, 10 Jan 2001 21:35:38 -0500 From: "Donald J . Maddox" To: Robert Watson Cc: freebsd-hackers@FreeBSD.org Subject: Re: Setting default hostname to localhost Message-ID: <20010110213538.A668@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: Robert Watson , freebsd-hackers@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Wed, Jan 10, 2001 at 09:23:13PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 10, 2001 at 09:23:13PM -0500, Robert Watson wrote: > /etc/default/rc.conf to change the default hostname to "localhost". If > the user configures a hostname, or DHCP provides one, it will be > overridden, of course, so should not impact any configuration but one > where the hostname is left undefined. A cursory glance at /sbin/dhclient-script seems to indicate that DHCP will NOT override the hostname unless it is an empty string. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message