How to create an SRV record in DNS

In this article, we’ll show you how to create an SRV record in DNS with your HostPapa cPanel. Already have an SRV record and need to update it? Please read our tutorial on how to update an existing SRV record.

What is an SRV record?

A Service record (SRV record) is a data specification in DNS that defines the location, such as the hostname and port number, of specified service servers.

Before making DNS updates, please confirm the provider’s name that currently manages your domain name’s name servers. You may quickly check the current name servers in public WHOIS or HostPapa Dashboard > My Domains > Whois Lookup. The HostPapa name servers are found inside the welcome email received at signup or via Dashboard > My Support > Welcome Emails. The DNS updates should be made at the provider of the name servers for the changes to take effect.

How to create an SRV record in DNS

1) Log in to your HostPapa dashboard.

log-in-to-dashboard

2) Select My cPanel from the navigation bar at the top of the page.

select-my-cpanel

3) In the Domains section, select the Zone Editor option.

zone-editor

4) Locate the domain name that you want to edit and click Manage.

manage-domains

5) In the upper right corner of the chart, click the + Add record button.

add-record

6) Ensure that the type is an SRV record.

srv-record

7) Enter the valid zone name and priority, weight, port, and target:

enter-info

Valid zone name: Service and Protocol used by the provider.
Priority: The priority of the target host, lower value means more preferred.
Weight: A relative weight for records with the same priority; a higher value means more preferred.
Port: The TCP or UDP port on which the service is to be found.
Target: The hostname of the server providing the service

SRV Record Example: Using Office 365 SRV records
Valid zone name: _sip._tls (it will automatically include your domain at the end)
Priority: 100
Weight: 1
Port: 443
Target: sipdir.online.lync.com.

8) Click Add record.

Important: Please double-check that you have entered the correct information into each field. DNS records are very sensitive, and even a tiny mistake can cause problems that may affect your live website, email, etc.

Please be advised that the propagation may take 1-2 hours to complete.

To learn how to update your new SRV record, or to read a complete guide to DNS records, check out these Knowledge Base articles:

If you need help with your HostPapa account, please open a support ticket from your dashboard.

Related Articles

This post is also available in: FrançaisEspañol
Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache