Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2003 18:50:19 -0600
From:      Bryan Cassidy <b_cassidy@bellsouth.net>
To:        freebsd-questions@freebsd.org
Subject:   hostname question
Message-ID:  <20031125185019.45791127.b_cassidy@bellsouth.net>

next in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031125185019.45791127.b_cassidy>