World Library  
Flag as Inappropriate
Email this Article

Hostname

Article Id: WHEBN0000611421
Reproduction Date:

Title: Hostname  
Author: World Heritage Encyclopedia
Language: English
Subject: Uniform resource locator, Domain hack, Nslookup, Domain Name System, Internet Relay Chat
Collection: Computer Networking, Identifiers
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Hostname

In computer networking, a hostname (archaically nodename[1]) is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.

On the Internet, hostnames may have appended the name of a Domain Name System (DNS) domain, separated from the host-specific label by a period ("dot"). In the latter form, a hostname is also called a domain name. If the domain name is completely specified, including a top-level domain of the Internet, then the hostname is said to be a fully qualified domain name (FQDN). Hostnames that include DNS domains are often stored in the Domain Name System together with the IP addresses of the host they represent for the purpose of mapping the hostname to an address, or the reverse process.

Contents

  • Overview 1
  • Example 2
  • Internet hostnames 3
  • Restrictions on valid host names 4
  • See also 5
  • References 6

Overview

Hostnames are human-readable nicknames that correspond to the address of a device connected to a network. They are used by various naming systems, e.g., Network Information Service (NIS), Domain Name System (DNS), Server Message Block (SMB), and the meaning of hostname will vary according to the naming system used. A hostname meaningful to a Microsoft NetBIOS workgroup may be an invalid Internet hostname. When presented with a hostname without any context, it is usually safe to assume that the network is the Internet and the hostname's naming system is the DNS.

Hostnames are typically used in an administrative capacity and may appear in computer browser lists, active directory lists, IP address to hostname resolutions, email headers, etc.

Example

Saturn and jupiter may be the hostnames of two devices connected to a network named Example. Within Example the devices are addressed by their hostname. The domain names of the devices would be saturn.example and jupiter.example, respectively. If 'example' is registered as a second-level domain name in the Internet, e.g. example.net, the hosts may be addressed by the fully qualified domain names saturn.example.net and jupiter.example.net.

Internet hostnames

On the Internet, a hostname is a IP address via the local hosts file, or the Domain Name System (DNS) resolver. It is possible for a single host computer to have several hostnames; but generally the operating system of the host prefers to have one hostname that the host uses for itself.

Any domain name can also be a hostname, as long as the restrictions mentioned below are followed. So, for example, both worldheritage.org and WorldHeritage.org are hostnames because they both have

  1. ^ System V/AT Runtime System. Microport. 
  2. ^ RFC 1034, Section 3.1 "Name space specifications and terminology"
  3. ^ What is the real maximum length of a DNS name?
  4. ^ "Underscores in DNS". Retrieved 2011-07-20. 
  5. ^ Internet Explorer Cookie Internals (FAQ)

References

See also

General guidelines on choosing a good hostname are outlined in RFC 1178.

A hostname is considered to be a fully qualified domain name (FQDN) if all the labels up to and including the MIT may be able to send mail to "joe@csail" and have it automatically qualified by the mail system to be sent to joe@csail.mit.edu.

The hostname worldheritage.org is composed of the DNS labels en (hostname or leaf domain), WorldHeritage (second-level domain) and org (top-level domain). Labels such as 2600 and 3abc may be used in hostnames, but -hi-,_hi_ and *hi* are invalid.

One common cause of non-compliance with this specification is that the rules are not applied consistently across the board when domain names are chosen and registered.

While a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore.[4] Systems such as DomainKeys and service records use the underscore as a means to assure that their special character is not confused with hostnames. For example, _http._sctp.www.example.com specifies a service pointer for an SCTP capable webserver host (www) in the domain example.com. Note that some applications (e.g. Microsoft Internet Explorer) won't work correctly if any part of the hostname contains an underscore character.[5]

The Internet standards (Requests for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-'). The original specification of hostnames in RFC 952, mandated that labels could not start with a digit or with a hyphen, and must not end with a hyphen. However, a subsequent specification (RFC 1123) permitted hostname labels to start with digits. No other symbols, punctuation characters, or white space are permitted.

Hostnames are composed of series of [2] and the entire hostname (including the delimiting dots but not a trailing dot) has a maximum of 253 ASCII characters.[3]

Restrictions on valid host names
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.