I have looked in various places on this community but was unable to find an entry on how to correctly enter an SRV record on DigitalOcean’s DNS panel. As far as I know, they are correctly formatted like this example:
_service._protocol.name.server.com 36000 IN SRV 0 5 25565 name.server.com
However, when entering the first section (before the TTL) in the Name field on the DNS panel, I am always issued a 404 error when trying to connect to the service.
SRV records are not explained very well on DigitalOcean and it would be nice to get a tutorial on setting one up for a secondary webserver or gameserver, etc.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Like markcza said, the key is that you need to make sure the name ends with a period. The same thing is true for the hostname field if you are not using the IP address.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.