Reverse domain name notation

Reverse domain name notation (or reverse-DNS) is a naming convention for components, packages, types or file names used by a programming language, system or framework. Reverse-DNS strings are based on registered domain names, with the order of the components reversed for grouping purposes. For example, if a company making the product "MyProduct" has the domain name, they could use the reverse-DNS string   as an identifier for that product. Reverse-DNS names are a simple way of eliminating namespace collisions, since any domain name is globally unique to its registered owner.

History
The first appearance of reversed DNS strings predated the Internet domain name standards. The UK Joint Academic Networking Team (JANET) used this order in its Name Registration Scheme, before the Internet domain name standard was established. For example, the name  was interpreted as a host named   within the UK (top level domain  ), while the Internet standard would have interpreted it as a host named   within the American Samoa top level domain. During the period while both JANET-style and Internet-style addresses were in use, mailers and gateway sites had ad-hoc workarounds to handle the differences, but could still be confused.

Reverse-DNS for identifier strings first became widely used with the Java platform.

Examples
Examples of systems that use reverse-DNS notation are:


 * Sun Microsystems' Java platform for namespaces
 * Apple's Uniform Type Identifier (UTI)
 * The Android operating system, for classifying applications (because the Dalvik virtual machine was based on Java)
 * dconf, the configuration backend used by GNOME
 * ginitd 'service' identifiers
 * The freedesktop.org Desktop Entry Specification
 * iSCSI Qualified Naming

Some examples of reverse-DNS strings are:
 * , UTI string for Adobe Systems's PostScript fonts
 * , UTI string for Apple's OSType
 * , Java library for CORBA
 * , Java library for W3C's DOM
 * , a ginitd service identifier commonly assigned to udev.
 * , a desktop file name