Hi everybode, I think I answered my question myself:
> Questions:
> - As far as I understand, avahi is not used for setting up IP-Adress, am I
> right? Or could I modify avahi-setting so it gives clients IP-Adress
> automatically?
avahi can set IP automatically with ARP (169.254.0.0/16).
> - Can I write any type into X.service? Or do I have to select a type of
> DNS-SD service? If yes, where is a list of services (so I can look which
> services fit best to my project)?
I was able to write any type of service. On the client-side the server with
given type is found.
> - Do I need port? I think it's necessary for finding a server.
Answer is: no.
> - What should I do on clients in order to find the server automatically?
> Optional question:
> - Am I allowed to have 2 servers (with same port/service) so the clients
> find 2 servers.
I didn't test but I tried with avahi-discover and it seems it's possible.
Thank you very much!
cu Floh