-
Notifications
You must be signed in to change notification settings - Fork 18
Support and test /dns/ #47
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
Comments
@schomatis is this something you'd be interested in adding to your queue? |
Adding it to queue (but haven't seen it in depth), anyone in the community is welcome to take a look at this issue in the meanwhile but please flag it here. |
Reading the code now. Officially assigning this to me now (though I don't have triage permissions here to mark it on the issue). If someone is working on this please flag it now. |
@lidel Reading the code, we seem to support the Lines 150 to 191 in 0bad63d
$ madns /dns6/example.com
/ip6/2606:2800:220:1:248:1893:25c8:1946
$ madns /dns4/example.com
/ip4/93.184.216.34
$ madns /dns/example.com
/ip4/93.184.216.34
/ip6/2606:2800:220:1:248:1893:25c8:1946 Could you first confirm if the above is what you were requesting? If it is then we can talk some extra documentation ( |
(just a guess) Maybe we were experience problems because of: Lines 157 to 160 in 0bad63d
|
@schomatis i think the bug was caused by the line fixed here: https://github.com/libp2p/go-libp2p/pull/1612/files#diff-8a203f70505b8dae3ee69421aa2326392c2f301091f557e44649fa40205f246fR26 With Kubo 0.14 (which uses go-libp2p with the above fix) I was able to connect to $ ipfs swarm connect /dns/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A
connect 12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A success Can you validate my assumptions here? If so, I think we can close this, right? |
I'm still not sure what's the original bug being referenced here. I get the general issue but I have the impression there was an issue downstream that motivated this which I'm missing (it could be some of the background you listed which I didn't review in depth).
Yes, this works for me. |
The original one is libp2p/go-libp2p-relay-daemon#18 – Kubo 0.12 failed to connect to $ ipfs swarm connect /dns/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A
error: connect 12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A failure: no good addresses Since $ ipfs swarm connect /dns/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A
connect 12D3KooWCyiHXACQpZxnvLTHXjFcFPPv69qPrX6svgdcmREZuS8A success Since it is fixed upstream, I guess we can close this one? |
Yes, makes sense, closing. |
(@lidel sorry, this is not in ipfs, you'll need to pull the lever) |
Uh oh!
There was an error while loading. Please reload this page.
It seems that this library supports
/dns4
and/dns6
but does not support/dns
Given that
/dns/
i think we should add it here as well.
Resolution order
Reuse prior art from https://en.wikipedia.org/wiki/Happy_Eyeballs ?
The text was updated successfully, but these errors were encountered: