HIPs
HIPs copied to clipboard
Adding A AAAA records on HNS Blockchain
A HIP should be a technical document, specifying a standard. This appears to be more of an active discussion, quoting questions and answers from the community. I think this PR should be closed and a new PR opened when specific details are ready for implementation.
Reccomendations:
- use the term 'arbitrary dns records' dont bother with a/aaaa becuase there are dozens more. lets just allow an entire zone file
- backwards compatibility: keep resource version 0 and ensure the exisitng record types are first in the resource
- Break on first unkown record type: https://github.com/handshake-org/hsd/blob/2bb8f0b0db76247aebf0cb961236db5fde8d80bc/lib/dns/resource.js#L122-L124
- Existing types: https://github.com/handshake-org/hsd/blob/2bb8f0b0db76247aebf0cb961236db5fde8d80bc/lib/dns/common.js#L38-L46
- scaling: compact labels so every record is TLD name by default, with the exception of TLSA which needs _443._tcp SLD.
- everyone will want SLDs in there too -- come up with a way to compress sld labels to save space
code: Ideally you have a PR to hsd for this. You should also eventually open a PR for hnsd and fingertip, and bob wallet.
then, get feedback from Namebase so the 99% of HNS users can access the feature