Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 17:19:36 -0500
From:      "Eric F Crist" <ecrist@adtechintegrated.com>
To:        "'Henning, Brian'" <brian.henning@navitaire.com>, <FreeBSD-Questions@FreeBSD.ORG>
Subject:   RE: domain name
Message-ID:  <001401c20c15$ecff5c40$fe01a8c0@armageddon>
In-Reply-To: <E1846117A30764468D2192D5A48541CC03894778@exchange.Navitaire.com>

next in thread | previous in thread | raw e-mail | index | archive | help

You can view your current hostname with:
#hostname

You can change your current hostname with:
#hostname <newhostname>

You can view you current domain name with:
#domainname

You can change your current domain name with:
#domainname <new domain name>

You could also try:
#man hostname
or
#man domainname

Setting these permanently would be accomplished with the appropriate
line in your rc.conf file:
hostname="hostname here"
domainname="domain name here"

HTH

Eric F Crist
President/Sys Admin
AdTech Integrated Systems, Inc
http://www.adtechintegrated.com


-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Henning, Brian
Sent: Tuesday, June 04, 2002 3:56 PM
To: 'FreeBSD-Questions@FreeBSD.ORG'
Subject: domain name

Hello-
I would like to know what config files determine the domain name of my
bsd
box. I am just not sure how to set the domain name other than through
the
install program /stand/sysintall.
Thanks,
brian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401c20c15$ecff5c40$fe01a8c0>