Stasik
Stasik

Reputation: 2614

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

Upvotes: 3

Views: 1160

Answers (2)

Jean Hominal
Jean Hominal

Reputation: 16796

Yes, there is a URN namespace that uses domain names as a prefix, since 2005!

It is the FDC URN Namespace, which is of the following form:

urn:fdc:<domain_name>:<date>:<id>

Examples given in the spec:

urn:fdc:example.com:2002:A572007
urn:fdc:example.net:200406:ivr:51089
urn:fdc:example.org:20010527:img089322-038

Upvotes: 7

unor
unor

Reputation: 96717

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

Upvotes: 7

Related Questions