[avahi] Resolving service name conflicts - Reg

Asmitha Karunanithi asmithakarun at gmail.com
Mon Aug 31 06:27:39 UTC 2020


Hi All,

Hope all are doing good.

When I was trying to do 'avahi-browse', I was able to see service name
conflicts (since the service with the same name would be published by
various clients in the network and I could see <servicename>#100, after
trying for 99 times).

I was thinking to append the hostname of the client with the service name
(whenever the service is being published), given that the hostname will
always be unique in my case.

So, the service file would look like: (example.service)

<service-group>

       <name>example-hostname</name>

       <service>

               <type>...</type>

               <port>...</port>

       </service>

</service-group>


I just wanted to clarify if the above idea would be the right solution to
resolve the service name conflict or is there any other way that is
currently available to resolve this issue?

-- 
Thanks & Regards,
Asmitha Karunanithi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/avahi/attachments/20200831/5d57ac7a/attachment.htm>


More information about the avahi mailing list