Everything2
Near Matches
Ignore Exact
Full Text
Everything2

hostname

(idea) by Frater 219 (5 y) (print)   ?   (I like it!) 2 C!s Fri Apr 06 2001 at 4:39:03

Most network-capable operating systems require that the computer upon which they are installed be assigned a name. Since computers on networks are termed hosts, this name is usually called the hostname. If a group of computers share a network, they usually must have distinct hostnames; because of this, hostnames often become very creative on large networks.

Under Unix and related systems, you must assign a hostname even if your computer is not on a network. If it is on an IP network such as the Internet, the hostname should correspond to the computer's DNS name. It is recommended that the hostname be the same as the fully-qualified domain name, e.g. cthulhu.miskatonic.edu; however, it remains common to use only the first component, e.g. cthulhu. The hostname is set during the boot process. The configuration file in which it is stored varies from system to system; examples include /etc/hostname, /etc/myname, or /etc/sys_id.

Under desktop operating systems such as Mac OS and Windows, there is often no need to assign a hostname unless the computer is on a network. Also, while both Mac OS and Windows are Internet-capable, neither requires nor particularly expects that the hostname correspond to the DNS name. This is because both use hostnames primarily for file sharing, and neither historically used DNS to resolve file-sharing names. The hostname of a Mac OS system is set in its File Sharing (or Sharing Setup) control panel; the hostname of a Windows system is set in the Network control panel.

Mac OS X is an odd case, as it incorporates aspects of Mac OS, BSD Unix, and NeXTstep. A Mac OS X system's Unix-style hostname is set in /etc/rc.boot, and is configured by default to the unimaginative localhost. Its Mac-OS-style hostname — i.e. its AppleTalk "computer name" — is set in the Sharing preferences panel. It also has a NeXT-style NetInfo name, set in either the local NetInfo directory or that of the network to which it is connected.


Many operating systems provide a default hostname, if the user or administrator administrator does not specify one. The Macintosh default AppleTalk name is Joe User's Computer, with the name Joe User replaced by the primary user's full name. The default hostname under Debian is debian; under Red Hat Linux it's localhost.localdomain; and under Slackware it is darkstar.example.net. The default hostname of a Windows PC depends on the OEM — but its default NetBIOS workgroup is WORKGROUP.

printable version
chaos

www vagina I lost a chance at $40,000 because my mommy wouldn't let me sell my stock domain name
Darkstar Round Robin DNS Bind Naming Windows computers
hostmask // canonical Advice on Choosing a Username
How Moscow teenagers answer the phone DNS zone nslookup
michael.vatican.va psyBNC Dynamic DNS Pinky
people computer domain DDOS
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
After stirring Everything, these nodes rose to the top:
La Everythingaise
metronome
Rosalind Franklin
Manifesto of Futurist Architecture
Suetonius
Jesus Christ Trigonal Planar
James I
stock market analysts are full of crap
pseudoscience
Cotton Club
Satanic ritual abuse
CIA World Factbook - Hell
She breaks hearts almost as often as she breaks the speed of sound
New Writeups
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
keepinitreal
Why buy the cow when you can get the milk for free?(idea)
John_Fox
Good Intentions Gone Wrong(person)
Cuckowski
Slavonic Princess(poetry)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
E2 is a by-product of the existence of The Everything Development Company