# Federation - DNS

**URL:** https://forums.rocket.chat/t/federation-dns/4995
**Category:** Community Support
**Created:** [November 6, 2019, 5:21pm UTC](https://forums.rocket.chat/t/federation-dns/4995 "2019-11-06T17:21:19Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![aftaylor2](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aftaylor2/32/1806_2.png) [@aftaylor2](https://forums.rocket.chat/u/aftaylor2)
#### Post date: [May 27, 2020, 2:37pm UTC](https://forums.rocket.chat/t/federation-dns/4995/5 "2020-05-27T14:37:50Z")

</div>

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:

> [@Federation tests OK but fails to work](https://forums.rocket.chat/t/federation-tests-ok-but-fails-to-work/5225/2):
>
> Just revisiting this again as I am getting pressure to have the federation functionality working. Previously I managed to get one of my RocketChat servers testing successfully publishing details in DNS but I couldn’t get an almost identical server to successfully test the DNS settings. I constantly get the following in the log: I20200304-11:26:53.154(0) server.js:204 Federation ➔ dns.error { Error: failed [503] Service Unavailable at Object.exports.makeErrorByStatus (packages/http.js:176:…

> <https://github.com/RocketChat/Rocket.Chat/issues/16945>
>
> In trying to unsuccessfully setup federation I noticed the error was consistentl…y "server.js:204 Federation ➔ dns.error Error: failed \[503\] Service Unavailable" regardless of setting changes. On research found out about the manual test using the api and got the same 503 response from the hub server, regardless of URL. Service down deliberately?

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 ?

---

_[View the full topic](https://forums.rocket.chat/t/federation-dns/4995)._
