Skip to content

Commit

Permalink
Draft for alternative namespace resolution standard proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
ca98am79 committed Feb 9, 2021
1 parent b9e2eeb commit eab70cc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
41 changes: 41 additions & 0 deletions HIP-xxxx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# HIP-xxxx : Name data standard for alternative namespace resolution

```
Number: HIP-xxxx
Title: Name data standard for alternative namespace resolution
Type: Informational
Status: Draft
Authors: Mike Carson <https://impervious.com/>
Created: 2021-02-08
```

## Abstract

This HIP describes how to set the data for a Handshake name so that it resolves via an alternative namespace, for example via a sidechain.

## Motivation

There may be various reasons to resolve a name on an alternative namespace other than a domain name or an ip address. One example is for decentralized subdomains on Ethereum. Software could recognize the data on a name in a way to resolve it with Ethereum.

## Name data standard

We propose setting the NS records for the name with an underscore suffix which will resolve to an alternative protocol. The prefix will be used as data for the protocol. For example:

```
{
"records": [{
"type": "NS",
"ns": "0x36fc69f0983E536D1787cC83f481581f22CCA2A1._eth."
}]
}
```

This would use a specific Ethereum contract address (0x36fc69f0983E536D1787cC83f481581f22CCA2A1) to resolve subdomains under the Handshake top-level domain. In this example, the contract is an ENS fork. Software would query a specific subdomain in the ENS contract, get the DNS data stored on the subdomain, and use this to resolve the subdomain.

## Registered protocols

data_suffix | plugin
--------------------------------|-----------------------------------
[ethereum contract address]._eth| Ethereum contract address


1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Handshake Improvement Proposals
| Number | Title | Type | Status |
|-------------------------|---------------------------------------------------------------------|---------------|----------|
| [HIP-0000](HIP-0000.md) | HIP Template | Informational | Draft |
| [HIP-xxxx](HIP-xxxx.md) | Name data standard for alternative namespace resolution | Informational | Draft |

# What is a HIP?

Expand Down

0 comments on commit eab70cc

Please sign in to comment.