Reverse domain name notation (or reverse-DNS) is a naming convention for the components, packages, and types used by a programming language, system or framework. A characteristic of reverse-DNS strings is that they are based on registered domain names, and are only reversed for sorting purposes. For example, if a company making a product called "MyProduct" has the registered domain name "example.com", they could use the reverse-DNS string "com.example.MyProduct" to describe it. Reverse-DNS names are a simple way of reducing name-space collisions, since any domain name is registered by only one party at a time.
History
Find Out Who Owns the Domain or Website - Reverse Domain Search - Who Owns the Domain - Reverse Domain Search If you are asking the questions... - How can I find a phone number? - Where can I find a phone number?
Most of the world follows the Internet standard and writes email addresses starting with the name of the computer and ending up with the name of the country. In the U.K.: the Joint Academic Networking Team had decided to do it the other way round before the Internet domain standard was established. Most gateway sites have ad-hockery in their mailers to handle this, but can still be confused. In particular, the address me@uk.ac.bris.pys.as could be interpreted in JANET's big-endian way as one in the U.K. (domain uk) or in the standard little-endian way as one in the domain as (American Samoa) on the opposite side of the world.
Reverse-DNS first became widely used with the Java platform, and has since been used for other systems, for example, ActionScript 3 packages and Android applications.
Examples
Examples of systems that use reverse-DNS are Sun Microsystems' Java platform and Apple's Uniform Type Identifier or UTI. The Android operating system also makes use of the notation for classifying applications, as the Dalvik virtual machine made use of Java.
dconf which is the configuration back end used by GNOME.
Example of reverse-DNS strings are:
- com.adobe.postscript-font (UTI string for Adobe Systems's PostScript fonts)
- com.apple.ostype (UTI string for Apple's OSType)
- org.omg.CORBA (Java library for CORBA)
- org.w3c.dom (Java library for W3C's DOM)
Regular expression
Code
C#
Java 8 and later
JavaScript
Julia
Go
PHP
Python
Ruby
Swift
Zsh
Kotlin
References
- "Apple Developer Connection: Introduction to Uniform Type Identifiers Overview". 2005-11-09. Retrieved 2013-04-04.Â
External links
- Eclipse Naming Conventions
- Re: gnu.* namespace discussion