Federation - DNS

I’m trying to set up a federation test using DNS.
Can one set up federation between two rocketchat servers on the same domain

If yes what would the SRV and TXT records look like?

1 Like

I think it is not currently possible.

Actually I updated the doc, adn read the code, and yes I’m pretty sure you can:)

Here is my PR for the doc:

Hi. Did you managed to it? Or two servers in a single domain can not be federated?

I was checking in to see if you were able to get this working? I’m attempting the same thing but am having issues. I have added the SRV and TXT records to GoDaddy DNS.

I’m not sure if it’s a settings issue or related to one of these issues with the discovery service:

TXT Record ( Does GoDaddy Require the Public key to be split ? )
rocketchat-public-key.subdomain1.mydomain.app -----BEGIN PUBLIC KEY----- REDACTED -----END PUBLIC KEY-----

SRV Record
Service: _rocketchat
Protocol: _https
Name: subdomain1.mydomain.app
Target: subdomain1.mydomain.app
Priority: 1
Weight: 1
Port: 443

The DNS setup for sub domain 2 is the same except replacing subdomain1 with subdomain2. Does anyone have any suggestions ?

Only one year late with my reply :wink:
No, I never got this working and gave up on federation.