Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 14:04:22 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        fbsd_user@a1poweruser.com
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   Re: need info on hostname
Message-ID:  <3FBD1E46.4060405@daleco.biz>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGMEKKENAA.fbsd_user@a1poweruser.com>
References:  <MIEPLLIBMLEEABPDBIEGMEKKENAA.fbsd_user@a1poweruser.com>

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



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