summaryrefslogtreecommitdiffstats
path: root/bin/domainname
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
committersjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
commit62bb1062226d3ce6a2350808256a25508978352d (patch)
tree22b131dceb13c3df96da594fbaadb693504797c7 /bin/domainname
parent72ab90509b3a51ab361bf710338f2ef44a4e360d (diff)
parent04932445481c2cb89ff69a83b961bdef3d64757e (diff)
downloadFreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.zip
FreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.tar.gz
Merge from head
Diffstat (limited to 'bin/domainname')
-rw-r--r--bin/domainname/domainname.114
1 files changed, 8 insertions, 6 deletions
diff --git a/bin/domainname/domainname.1 b/bin/domainname/domainname.1
index 0f92450..099a40e 100644
--- a/bin/domainname/domainname.1
+++ b/bin/domainname/domainname.1
@@ -29,7 +29,7 @@
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $FreeBSD$
.\"
-.Dd September 18, 1994
+.Dd April 22, 2013
.Dt DOMAINNAME 1
.Os
.Sh NAME
@@ -43,10 +43,11 @@ The
.Nm
utility prints the name of the current YP/NIS domain.
The super-user can
-set the domain name by supplying an argument; this is usually done in the
-network initialization script
-.Pa /etc/rc.network ,
-normally run at boot
+set the domain name by supplying an argument; this is usually done with the
+.Va nisdomainname
+variable in the
+.Pa /etc/rc.conf
+file, normally run at boot
time.
.Sh NOTES
The YP/NIS (formerly ``Yellow Pages'' but renamed for legal reasons)
@@ -54,7 +55,8 @@ domain name does not necessarily have anything to do with the Domain
Name System domain name, although they are often set equal for administrative
convenience.
.Sh SEE ALSO
-.Xr getdomainname 3
+.Xr getdomainname 3 ,
+.Xr rc.conf 5
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud