From owner-freebsd-questions@FreeBSD.ORG Thu May 17 17:55:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D72F16A400 for ; Thu, 17 May 2007 17:55:08 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 014BA13C46A for ; Thu, 17 May 2007 17:55:07 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l4HHt6c5020498; Thu, 17 May 2007 13:55:07 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Thu, 17 May 2007 13:54:52 -0400 User-Agent: KMail/1.9.6 References: In-Reply-To: X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705171354.52627.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Mike Barborak Subject: Re: hostname setting in rc.conf ignored? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 17:55:08 -0000 On Thursday 17 May 2007 01:27:52 pm Mike Barborak wrote: > Hello, > > I have a FreeBSD 4.7-RELEASE-p28 server that was initially configured with > the hostname mydomain.com. I am trying to permanently change that to be > www.mydomain.com. I have added this line to my /etc/rc.conf file: > > hostname="www.mydomain.com" > > but after restarting the server it continues to return mydomain.com when i > run the command hostname. Can anyone tell me what I am doing wrong? Is there a second hostname entry further down in rc.conf with the original value? JN