This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Treat /dns4 addresses as public #377
Labels
exp/beginner
Can be confidently tackled by newcomers
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
released
Right now, both
removePrivateAddresses
andremovePublicAddresses
in src/utils.ts remove all multiaddrs that aren't /ip4 or /ip6.Is there any reason we couldn't leave /dns4 addresses as public? The situation I'm in is that I'm deploying some bootstrap nodes on fly.io, which gives me a predictable DNS name but a dynamically-allocated ipv4, so I'd like to announce on
/dns4/my-app-name.fly.dev/tcp/...
.The text was updated successfully, but these errors were encountered: