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

What Is an SRV Record and How to Add One in cPanel

An SRV record tells programs where to find a certain service for your domain. This guide explains it and shows how to add one in cPanel.

Domains and DNS2 min read8 steps4 screenshots

What is an SRV record?

DNS is like a phone book for the internet. An SRV record is a special line in that phone book. It says which server and which port a service uses. A port is a numbered door on a computer.

A normal A record only says where a name lives. An SRV record also names the service and its door. Chat, calendar and voice programs often need this.

Parts of an SRV record

FieldMeaning
ServiceThe name of the service, starting with an underscore, like _sip
ProtocolThe way it talks, like _tcp or _udp
PriorityLower numbers are tried first
WeightShares work between servers with the same priority
PortThe door number of the service
TargetThe name of the server that runs it

Steps in cPanel

  1. Get the values from the company that runs the service. They give you the service, protocol, priority, weight, port and target.
  2. Log in to cPanel.
  3. Open Zone Editor.
  4. Click Manage next to your domain.
  5. Click Add Record and choose Add SRV Record.
    Screenshot: Click Add Record and choose Add SRV Record .
    Screenshot: Click Add Record and choose Add SRV Record .
    Screenshot: Click Add Record and choose Add SRV Record .
  6. In Name, type the service and protocol, like _sip._tcp. cPanel adds your domain name for you.
  7. Fill in Priority, Weight, Port and Target.
  8. Click Add Record.
    Screenshot: Click Add Record .

In some cPanel versions, the screen has separate boxes for Service and Protocol. Fill each one instead.

Warning: A wrong DNS record can break a service. Write down your existing records first.

The Target must be a name, not an IP address. It must point to an A record that exists.

Check it

Run this command with your own values.

dig SRV _sip._tcp.example.com +short

This asks DNS for the SRV record. It should print priority, weight, port and target. Changes can take a few hours to spread.

If you cannot see Zone Editor, your plan may not allow DNS changes. Ask Hostvento support.

Quick recap

  • An SRV record names a service, its server and its port.
  • Get the exact values from the service provider.
  • Add it in cPanel under Zone Editor.
  • The target must be a name, not an IP.