How do I prevent the SRV from appending the domain?

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: [ ->]: FAILED! => {"changed": false, "msg": "It appears the DNS SRV record for _matrix-identity._tcp on is not set up correctly. Expected it to point to `` (port 443). Found it pointing to `` (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.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

Regards, Alex