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 example.com
, they could use the reverse-DNS string com.example.MyProduct
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 (
Reverse-DNS for identifier strings first became widely used with the
Examples
Examples of systems that use reverse-DNS notation are:
- Java platformfor namespaces
- Apple's Uniform Type Identifier (UTI)[1]
- The Android operating system, for classifying applications (because the Dalvik virtual machine was based on Java)
- backend used by GNOME
- The freedesktop.org Desktop Entry Specification[2]
- iSCSI Qualified Naming
Some examples of reverse-DNS strings are:
com.adobe.postscript-font
,Adobe Systems's PostScriptfontscom.apple.ostype
,OSTypeorg.omg.CORBA
, Java library for CORBAorg.w3c.dom
, Java library for W3C's DOMorg.kde.dolphin.desktop
, adesktopfile name
See also
References
- ^ "Apple Developer Connection: Introduction to Uniform Type Identifiers Overview". 2005-11-09. Retrieved 2013-04-04.
- ^ "Desktop Entry Specification". freedesktop.org. Retrieved 15 November 2020.