Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 13:58:44 -0500 (EST)
From:      Steve Bertrand <iaccounts@northnetworks.ca>
To:        fbsd_user <fbsd_user@a1poweruser.com>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   Re: need info on hostname 
Message-ID:  <20031120135102.S57456@svr3.northnetworks.ca>
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
> During the install you are asked for the host name which adds the
> following line to rc.conf.
> hostname="gateway.homepc.com"

This is a Fully Qualified Domain Name (FQDN) of the computer following the
standards of the DNS system.

> What does FBSD use this for?

Locating your computer by it's name on a network, as opposed to the IP.
The name is translated into an IP address by a DNS server.

> Did I use the correct format for the host name?

Sure. On an internal network, you can use anything you like, but on the
Internet, you would use one that actually has a real DNS entry. This is
why you can see the FreeBSD website when you type www.freebsd.org into
your browser.

> What are the rules for creating the hostname name?

Follow the DNS standards using the following convention:

computername.domain.top_level_domain ie:

mypc.homenetwork.com or:

www.freebsd.org

> Are the rules published anywhere?

Sure. You can review one of the DNS rfc's here:
http://www.faqs.org/rfcs/rfc1034.html

Cheers,

Steve


>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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