Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Add an SRV Record to Your Domain

This guide shows how to add an SRV record in cPanel. Some apps use it to find the right server for a service.

Domains and DNS2 min read9 steps4 screenshots

What is an SRV record?

DNS is like a phone book for the internet. It turns names into numbers. An SRV record is a special line in that book. It tells an app which server and which port to use for one service.

A port is like a numbered door on a server. Different services use different doors. SRV records are used by chat tools, calendar tools, voice calls and some games.

The parts of an SRV record

PartMeaning
ServiceThe name of the service, such as _sip. It starts with an underscore.
ProtocolThe way it talks, such as _tcp or _udp.
PriorityA low number is tried first.
WeightShares the work between servers that have the same priority.
PortThe door number the service uses.
TargetThe name of the server that runs the service.

The software or service you want to use will tell you the exact values. Copy them carefully.

Steps in cPanel

  1. Log in to cPanel.
  2. Find the Domains section and click Zone Editor.
    zone editor
  3. Next to your domain, click Manage.
  4. Click Add Record. On older versions, click Add Record then Add SRV Record.
    zone editor manage
    dns zone add entry
  5. Set the type to SRV.
  6. In Name, type the service and protocol, such as _sip._tcp.
    dns zone add srv entry
  7. Fill in Priority, Weight and Port.
  8. In Target, type the server name given by your service.
  9. Click Add Record.

The target must be a server name, not an IP address. That name needs its own A record.

If your DNS is not in cPanel

Add the record where your name servers are managed. If your domain is with Hostvento, log in to the client area and open the DNS settings of the domain under Domains. If you cannot see an SRV option, ask Hostvento support.

Check it

New records can take a few hours to spread. Then test the service in your app.

Tip: Do not delete other records when you add this one. Take a note of your current records first, in case you need to undo a change.

Quick recap

  • An SRV record tells an app which server and port to use.
  • Get the exact values from the service you want to use.
  • In cPanel, use Zone Editor, then Manage and Add Record.
  • The target must be a name, not an IP.