I have tried to find all local network devices with “DNSServiceBrowseMBS” and “DNSLookupMBS”, with macOS 14.7.1 everything is okay, but with macOS 15.1 there is no device visible. I could only test it on a virtual machine with macOS 15.1. Maybe someone can test this on a Mac computer with macOS 15 too.
You can download the example project here