An SRV (Service) record is a type of DNS record that specifies the hostname and port number for a specific service. It is commonly used for services like Microsoft Teams/Skype for Business, SIP VoIP, XMPP chat, and game servers.

This guide walks you through adding an SRV record to your domain's DNS zone in cPanel.

Step 1: Log in to cPanel

Log in to your cPanel account using your credentials.

Step 2: Open the DNS Zone Editor

Navigate to DomainsAdvanced DNS Zone Editor.

Step 3: Select Your Domain

Choose the domain you want to add the SRV record to from the drop-down list.

Step 4: Add the SRV Record

Scroll down to Add a Record and select SRV from the Type drop-down menu.

Step 5: Enter the Record Details

Fill in the required fields:

  • Service — The service name (e.g., _sip, _xmpp-server)
  • Protocol — The protocol (e.g., _tcp or _udp)
  • Priority — Priority of the target host (lower number = higher priority)
  • Weight — Relative weight for records with the same priority
  • Port — The port number the service runs on (e.g., 5061)
  • Target — The hostname of the server providing the service (e.g., sipdir.online.lync.com)
  • TTL — Time to live in seconds (default: 14400)

Step 6: Save

Click Add Record to apply the changes.

Important Notes

  • DNS propagation can take up to 24–48 hours to take effect globally.
  • Double-check all values before saving — incorrect entries can cause the service to stop working.
  • SRV records require both the Service and Protocol fields to include a leading underscore (e.g., _sip._tcp).

Troubleshooting

  • Service not working after adding? — Allow time for DNS propagation. Use a tool like MXToolbox SRV Lookup to verify the record is visible.
  • Record not showing up? — Ensure you selected the correct domain and that the record was saved successfully.
  • Wrong target hostname? — Make sure the target is a valid hostname (not an IP address). SRV records must point to a domain name.
Was this answer helpful? 0 Users Found This Useful (0 Votes)