Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Denarius Domain TLDs #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

metaspartan
Copy link

Addition of Denarius TLDs

Denarius (D) - https://denarius.io

This PR adds the addition of all of the new upcoming Denarius Domain Name TLDs:

  • .d
  • .dnr
  • .denarii
  • .ipfs
  • .sys
  • .king
  • .btc
  • .bitcoin

This go module is required for go-ipfs for IPFS to be able to resolve and handle Denarius Domains.

Added Denarius (.d,.dnr,.denarii,.btc,.ipfs,.king,.bitcoin) Domains
This reverts commit bada2ee.
@buzzkillb
Copy link

Confirming this is working.
https://ipfs.io/ipns/k51qzi5uqu5dic5g3qoc5hg4ve0szeuepnd5g7c4sm9lyuxq4yrw1mlem5vbzb/
https://ipfs.denarius.io/ipns/k51qzi5uqu5dic5g3qoc5hg4ve0szeuepnd5g7c4sm9lyuxq4yrw1mlem5vbzb/
image

@metaspartan
Copy link
Author

@lidel @jbenet @Stebalien

Copy link
Contributor

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that we already accepted ENS and UnstoppableDomains, this should be fine as a temporary fix, but constantly adding TLDs to the list is not sustainable long term:

  • We want to remove use of go-is-domain TLD safelist from IPFS stack and make go-ipfs accept any string that is a valid DNS hostname
    • Being RFC compliant should be the only check.
    • This way we won't be forcing users to follow what ICANN decides is a "Real TLD".
  • We also need to make DNS resolver configurable per TLD, to enable folks from decentralized space to experiment without the need of changing anything in go-ipfs.
    • Things should work for any name, as long DNS resolver returns a valid DNSLink (DNS TXT record)

FYSA I started ipfs/kubo#7902 to remove go-ipfs' dependency on this lib (cc @autonome @aschmahmann)

lidel added a commit to ipfs/kubo that referenced this pull request Feb 5, 2021
- removes reliance on TLD safelist from jbenet/go-is-domain
  as noted in
  jbenet/go-is-domain#16 (comment)
  jbenet/go-is-domain#19 (review)

- switch DNSLink checks to `net.isDomainName` which only cares about
  name being compliant with RFC 1035, RFC 3696, and is not concerned
  if TLD was blessed by ICANN or some other authority
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants