bonjour: Subtypes not working?

Looks like this is maybe subtypes are not implemented? The service has a property, but it isn’t used.

According to this I think it should register an entry for each subtype. I THINK that I can do this despite this being my first time working with the bonjour protocol. But I dont know why there are the three types of records in the first place (PTR, SVR, TXT). If you can point me in the right direction for that I think I will understand enough to get this working.

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Comments: 17 (4 by maintainers)

Commits related to this issue

Most upvoted comments

As far as I understand https://tools.ietf.org/html/rfc6763#section-7.1 subtypes are just ._ delimited prefix for a service type. In which case service like:

bonjour.publish({ name: 'fritter', type: 'dat', subtypes:['utp'], port: 3000})

Should produce following fqdn:

fritter._utp._dat._tcp.local