How to create an SRV record
Service (SRV) records are a general use records that relate to a particular service of the domain e.g. SIP or FTP. They provide flexibility to the DNS system by not having to create lots of new record types for each service. SRV records are popular for newer protocols, for example, Internet telephony (SIP) or Instant Messaging (XMPP) where the desktop programs that connect to the services can find out where it is hosted and additional information such as port and protocol.
One reason for creating an SRV record for your domain would be if you wanted to have a single public SIP address which could be redirected to your current location. If someone wanted to make a SIP phone call to firstname.lastname@example.org the SRV record on domain.com would tell their SIP program that it should connect to sip.voip-service.com.
Here’s how to create a SRV record for your domain name:
- Log in to your account.
- Click the Domains icon and select Manage next to the domain you wish to amend.
- Click DNS Settings in the Current Domain menu on the left.
- Click the Add A SRV Record button.
- On the SRV Builder form, In the Service field enter a service name for the record e.g. sip.
- Select the Protocol the service uses e.g. TCP.
- In the Priority field enter a number for the priority of the target host, lower value means more preferred.
- In the Weight field enter a number for the relative weight for records with the same priority, higher values mean more weight.
- In the Port field enter the TCP or UDP port on which the service can be found.
- In the Hostname field enter the hostname of the server providing the service e.g. sip.voip-service.com.
- Click Add SRV Record and allow up to 24hrs for the changes to take effect, however, this can be longer. For more information on DNS and Nameserver propagation see our guide here.
That’s it! You have now added an SRV record.