From owner-freebsd-questions@FreeBSD.ORG Thu Nov 20 12:04:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF0A16A4CE for ; Thu, 20 Nov 2003 12:04:57 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011B543FDD for ; Thu, 20 Nov 2003 12:04:56 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 20 Nov 2003 14:07:46 -0600 Message-ID: <3FBD1E46.4060405@daleco.biz> Date: Thu, 20 Nov 2003 14:04:22 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fbsd_user@a1poweruser.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2003 20:07:47.0109 (UTC) FILETIME=[F75BCD50:01C3AFA1] cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: need info on hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 20:04:57 -0000 Quid pro quo: I'm not an expert, and don't play one on TV. fbsd_user wrote: >During the install you are asked for the host name which adds the >following line to rc.conf. >hostname="gateway.homepc.com" > >What does FBSD use this for? > > DNS? Same stuff as any other system, with the possible exception of that stuff from Redmond. Since 'Nix is/has always been very network oriented, this is its primary means of human readable identification. Or something like that ;) >Did I use the correct format for the host name? > > Yes, more or less. Since homepc.com seems to actually exist, this could either be a good or bad choice, depending on whether or not you own 'homepc.com'. If the machine is on a private network and will do all it's connecting via another box, it could probably get away with 'foo.bar.baz' if you set up your DNS correctly. >What are the rules for creating the hostname name? > > See /etc/hosts. paraphrase ---"If you're directly connected to the internet, you can't just make it up...." >Are the rules published anywhere? > > > I'd check RFC's if I was *real* concerned. The good news? If something about your selected hostname is causing problems, all you have to do (as root) $hostname my.new.name HTH, Kevin Kinsey DaleCo, S.P.