hostname question

Bryan Cassidy b_cassidy at bellsouth.net
Tue Nov 25 15:45:27 PST 2003


-----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-----


More information about the freebsd-questions mailing list