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

Domain resolution via DNS TXT records #90

Closed
benhylau opened this issue Dec 22, 2020 · 2 comments
Closed

Domain resolution via DNS TXT records #90

benhylau opened this issue Dec 22, 2020 · 2 comments

Comments

@benhylau
Copy link

Agregore seems to not resolve domain names published via DNS TXT records that follow DEP-0005: DNS. Not sure if this is specific to MacOS because @RangerMauve seems to successfully resolve this link, but not for me:

hyper://api.staging.compost.digital/v0/monetization/balances.json

I get:

agregore-dns

More details here: hyphacoop/distributed-press-organizing#25 (comment)

@RangerMauve
Copy link
Member

I think the issue is in the dat-dns module since that's what agregore and dat-store both use.

https://github.com/datprotocol/dat-dns/blob/master/test.js

Do the regular expressions in there match up with your record contents? Might be good to try putting your URL in the tests and see if the tests sill pass or where exactly they fail.

@benhylau
Copy link
Author

Hey these both load for me now in Agregore on MacOS:

  • hyper://staging.compost.digital
  • hyper://api.staging.compost.digital/v0/monetization/balances.json

Not sure what changed, but it was after we purged the dat-store drive seeding this that was corrupt by the hypercore-publisher sync.

Feel free to close.

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

No branches or pull requests

2 participants