Open alex067 opened 1 year ago
This issue is stale because it has been open 45 days with no activity.
Hey @alex067, this still an issue you'd like to work on? Can we confirm that DNS is accepted here, and it's not just your particular setup?
@alex067 Apologize for the delays so far, but going ahead and assigning you if you'd like to post a PR for this.
Could you expand on this @alex067?
What I am seeing from geth docs and other sources such as https://consensys.io/diligence/blog/2020/09/libp2p-multiaddr-enode-enr/ is that you can use an enode URL scheme, but this is different that DNS.
Hey @wackerow thanks for assigning it to me. Happy to help here!
@corwintines of course. The issue is towards the hostname portion of the enode address, where the docs mention:
The hostname can only be given as an IP address; DNS names are not allowed.
However this is not entirely accurate, as DNS names for hostnames do work as well.
A good solution is to mention that most clients such as geth and besu, do support DNS resolution for the hostname portion of the enode. I suppose this is entirely client specific and not an actual standard.
This issue is stale because it has been open 30 days with no activity.
Bump, just circling through... @alex067 Is this still something you're interested in working on?
Hey @wackerow yes definitely. I'll submit a change this week.
This issue is stale because it has been open 30 days with no activity.
@alex067 just checking if you were still interested in opening this PR :)
Describe the bug
Hey everyone.
The documentation for network addresses under the section for
ENODE
mentions the following:I believe this is not totally correct.
I'm able to spin up a local geth client, where the bootnode is pointing to an enode with a DNS name. Running
admin_peers
confirms that the DNS name is simply translated to an IP address.To reproduce
--bootnodes
to include the enode using DNS instead of an ip address.admin_peers
and confirm the DNS name is translated to the target ip address.Expected behavior
The documentation should change slightly, to perhaps recommend referencing an ip address but mention that a DNS name will also work.
A possible edit: From:
To:
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response
Would you like to work on this issue?