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

Fetch bootstrap peers from dnsaddr records #5545

Closed
algoanne opened this issue Jul 11, 2023 · 0 comments · Fixed by #5615 or #5575
Closed

Fetch bootstrap peers from dnsaddr records #5545

algoanne opened this issue Jul 11, 2023 · 0 comments · Fixed by #5615 or #5575
Assignees
Labels
p2p Work related to the p2p project Team Lamprey

Comments

@algoanne
Copy link
Contributor

Problem

An algod node needs to be able to pull down and recursively resolve entries in dnsaddr records for use in the p2p network code.

Solution

Algod can fetch either static or DNS-based TXT records.
Algod can then read the records to produce Peer IDs, Addrs (IP address), and protocols (which protocol the peers are using - likely websocket) which are encoded and matched in the records.

For testing, we could use existing DNS infra (algodev.network) and augment it, or just use a text file on the host to mock it.

@algoanne algoanne added new-feature-request Feature request that needs triage Team Lamprey and removed new-feature-request Feature request that needs triage labels Jul 11, 2023
@algoanne algoanne closed this as completed Aug 1, 2023
@jsgranados jsgranados added the p2p Work related to the p2p project label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2p Work related to the p2p project Team Lamprey
Projects
None yet
3 participants