-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Labels
wire-breakingchanges that would potentially break iroh's wire protocolschanges that would potentially break iroh's wire protocols
Milestone
Description
For local swarm discovery (mDNS) we currently hard-code the service name passed to swarm-discovery
to iroh.local.swarm
.
With the way swarm-discovery
encodes things, this results in a mDNS query domain of _iroh.local.swarm._udp.local.
, and response records of the form f4neyiri6azvb73uyprghwk5fbpmjtwsly32x4mv2ez3scg4ft5a._iroh.local.swarm._udp.local.
IMO, the local.swarm
serves no purpose and makes the DNS packets needlessly longer. The default service name could just be iroh
, so that the search domain would be _iroh._udp.local
.
This would be a wire breaking change so if we want to do this, it should be done together with our other wire breaking changes.
Additionally, I think we should make the service name configurable.
flub
Metadata
Metadata
Assignees
Labels
wire-breakingchanges that would potentially break iroh's wire protocolschanges that would potentially break iroh's wire protocols
Type
Projects
Status
No status