feat: allow custom service name for mDNS
#5949
Labels
decision-pending
Marks issues where a decision is pending before we can move forward.
mDNS
#5949
Description
The mdns protocol always uses
_p2p._udp
(see here) as its service name.We should be able to provide our own service name for mDNS instead.
Motivation
Multiple protocols on a single node using
libp2p-mdns
will collide due to service name, and have to resolve their collision at application level / other protocol's level (e.g. different gossipsub topic).It makes most sense to allow a specific service name for the developer, also makes diagnostics with
dns-sd
command much easier.Requirements
Config
Open questions
No response
Are you planning to do it yourself in a pull request?
Maybe
The text was updated successfully, but these errors were encountered: