Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Bonjour Conformance Test - Multiple Instance in Single Device

We are currently working on a zero-configuration networking compliant device thru avahi-daemon.

Our Device want to have multiple Instance name for different services.

Example

  • InstanceA._ipps._tcp.local.
  • InstanceA._ipp._tcp.local.
  • InstanceB._ipps._tcp.local.
  • InstanceB._ipp._tcp.local.

Will BCT confuse this as multiple device connected in the network and cause it to fail? Does Bonjour only allows only a Single Instance name with multiple services?

We are currently working on a zero-configuration networking compliant device thru avahi-daemon.

Our Device want to have multiple Instance name for different services.

Will BCT confuse this as multiple device connected in the network and cause it to fail?

That depends on exactly what you do. Bonjour itself allows a device to include multiple names for itself in the same advertisement and the BCT won't have any issue with that. However, if you some out emit separate advertisements for the different names then, yes, I'd expect this to fail for exactly the same reason the BCT will fail when multiple bonjour devices are advertising on the text network.

Does Bonjour only allows only a Single Instance name with multiple services?

No. Bonjour allows a single advertisment to include multiple names and services.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Bonjour Conformance Test - Multiple Instance in Single Device
 
 
Q