From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 15:45:27 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 4BBAD16A4CE for ; Tue, 25 Nov 2003 15:45:27 -0800 (PST) Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net [205.152.59.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29F3843F93 for ; Tue, 25 Nov 2003 15:45:26 -0800 (PST) (envelope-from b_cassidy@bellsouth.net) Received: from bellsouth.net ([68.217.185.169]) by imf24aec.mail.bellsouth.netSMTP <20031125234521.LQJQ1903.imf24aec.mail.bellsouth.net@bellsouth.net> for ; Tue, 25 Nov 2003 18:45:21 -0500 Date: Tue, 25 Nov 2003 18:50:19 -0600 From: Bryan Cassidy To: freebsd-questions@freebsd.org Message-Id: <20031125185019.45791127.b_cassidy@bellsouth.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: hostname question 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: Tue, 25 Nov 2003 23:45:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I got a quick question (just one for this minute). I was told I should add a hostname. (my domain name maybe? bsdjunky.dyndns.org? Will that do?) He said I should put an entry in /etc/hosts that maps the IP of your box to the hostname you gave it. Then put that hostname into main.cf. How would I go about adding a hostname to /etc/hosts that maps the IP of my box? I use DHCP if that matters. Never added anything to /etc/hosts before so don't know the syntax or anything about what I should add. Just add simply on the first line without any whitespaces bsdjunky.homeunix.org or something else? Thanks, Bryan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/w/jL3TDgpNGRSLARAhtSAJ0cPwzWA+vVNKJaeCAF0B+B0+xTXACgwFC2 dZI7IPZ01EuGONY/kqOp+dI= =H4Wk -----END PGP SIGNATURE-----