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

DNS for SwarmAddresses and BootstrapAddresses #3948

Closed
rossjones opened this issue Nov 15, 2023 · 1 comment
Closed

DNS for SwarmAddresses and BootstrapAddresses #3948

rossjones opened this issue Nov 15, 2023 · 1 comment

Comments

@rossjones
Copy link
Contributor

Currently in configuration, we use IP addresses for SwarmAddresses and also for BootstrapAddresses.

These looks like

#SwarmAddress
/ip4/35.245.115.191/tcp/4001/p2p/12D3KooWE4wfAknWtY9mQ4eAA8zrFGeZa7X2Kh4nBP2tZgDSt7Rh

# BootstrapAddress
/ip4/35.245.115.191/tcp/1235/p2p/QmdZQ7ZbhnvWY1J12XYKGHApJ6aufKyLNSvf8jZBrBaAVL

This is problematic in cases where the IP address of these computers changes.

MultiAddr supports dns and so we could use something more like the following:

# SwarmAddress
/dns4/node1.production.bacalhau.org/tcp/4001/p2p/12D3KooWE4wfAknWtY9mQ4eAA8zrFGeZa7X2Kh4nBP2tZgDSt7Rh

# BoostrapAddress 
/dns4/node0.production.bacalhau.org/tcp/1234/http 
@wdbaruni wdbaruni added this to the v1.4.0 milestone Apr 15, 2024
@wdbaruni wdbaruni transferred this issue from another repository Apr 21, 2024
@wdbaruni wdbaruni transferred this issue from another repository Apr 21, 2024
@wdbaruni
Copy link
Member

I don't think this is valid anymore. We are moving away from allowing other nodes from joining our demo network, and moving away from libp2p as our default transport layer

@wdbaruni wdbaruni closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
@wdbaruni wdbaruni removed this from the v1.4.0 milestone Apr 22, 2024
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