Multiple Secure Domains and bound recording servers

Hello,
i have a Jitsi Meet installation with secure domain and recording server. Everything works fine.

I want to have multiple authentication domains now, each with its own recording server.

  • DOMAIN1
    • RecServer1
    • RecServer2
  • DOMAIN2
    • RecServer3
    • RecServer4
    • RecServer5
      -DOMAIN3
    • NO RecServer

So a User logged in with User@Doamin1 could record, and a User logged in as User@Domain3 could not record.

How is this possible?

Greetings Patrick