-
Notifications
You must be signed in to change notification settings - Fork 769
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
Ignore .local dns addresses from global DHT #545
Comments
Cc @tomaka |
Multiaddresses in general are indeed removed from the k-buckets if we fail to connect to them. Multiaddresses are added only at initialization, or if a node reports that it's listening on this address. In other words, the only way to somehow insert a domain name in the DHT is to pass it manually using |
…aritytech#545) * Replaced transfer with call * Removed ReentrancyGuard
* limit maximal number of unconfirmed messages at inbound lane * unrewarded_relayer_entries API * change relay to support max unrewarded relayer entries * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Update relays/messages-relay/src/message_lane_loop.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * removed pub Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
Is it possible the Kademlia DHT can be filled with
.local
addresses from the likes of kubernetes clusters?or will they be removed automatically by failed connection attempts etc.?
https://github.com/paritytech/substrate/blob/f74de63d23214b530ac24ac3ea4ead1180e22e83/client/network/src/discovery.rs#L396-L397
The text was updated successfully, but these errors were encountered: