'Avahi - Publish service to an unique device

Is there any way to publish a service like a printer or chromecast to an unique device? I am trying to configure avahi in an environment where there are several iot devices (printers, chromecast...) and I need to publish this device only to the equipment that I want.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source