dnsuriw3curn

Is there a URN scheme for using domain names?


is there any available hierarchical URN scheme that can use URLs or domain names as "prefixes"?

Best Regrads


Solution

  • All URN Namespace Identifiers (NID) are registered here: http://www.iana.org/assignments/urn-namespaces

    As it wouldn’t be feasible to create a URN NID for every domain name, it would probably be a single NID with the domain name in the Namespace Specific String (NSS). For example, urn:example:com:stackoverflow:…, urn:example:org:wikipedia:….

    The problem with this approach is that domain name ownership and/or the content accessible from the corresponding URLs can change over time, but URNs should always refer to the same entity.

    There doesn’t seem to be a URN NID for this purpose.

    You didn’t describe your use case, but maybe the tag URI scheme can help. It solves the problem of changing domain ownership and of changing content, but only the domain owner (whether previous owners or the current one) may mint new tag URIs. For example, Stack Overflow might generate the following Tag URI for your question:

    tag:stackoverflow.com,2015:36411988