AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
737 stars 66 forks source link

Domain resolution via DNS TXT records #90

Closed benhylau closed 3 years ago

benhylau commented 3 years ago

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: https://github.com/hyphacoop/distributed-press-organizing/issues/25#issuecomment-749792229

RangerMauve commented 3 years ago

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 commented 3 years ago

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

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.