I’m attempting to deploy a matrix synapse server on an ubuntu 16.04 droplet. The network and domain are being managed by DO and I’m trying to remove an error from MY DNS SRV record.

TASK [matrix-base : Fail if DNS SRV record incorrect (Ansible dig lookup)] ********************************************************
fatal: [matrix.mtx-me.tk ->]: FAILED! => {"changed": false, "msg": "It appears the DNS SRV record for _matrix-identity._tcp on mtx-me.tk. is not set up correctly. Expected it to point to `matrix.mtx-me.tk.` (port 443). Found it pointing to `matrix.mtx-me.tk.mtx-me.tk.` (port 443). See the 'Configuring DNS' documentation for this playbook."}

I’m entering “matrix-identity.tcp” for the hostname and “matrix” for the redirect into the SRV record creation screen. I’ve tried adding a dot at the end to prevent this but no joy.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hello, @randomprey

Looking at the provided screenshot, everything looks okay. Can you double check that the DNS is hosted through DigitalOcean? You need to make the DNS change from the active DNS zone for your domain name. You can quickly double check what nameservers you’re using an make sure you’re adding the SRV record from the correct zone.

You can check the official documentation on adding/creating SRV record as well:


Note: Keep in mind that DNS changes might take from 24-48 hours due to DNS cache. However they usually update a lot faster.


Submit an Answer