What is the SRV record?

SRV stands for "Service Record". It is used when you want to direct a domain name to a service by prefixing it with a prefix. In this tutorial we will use the example of a Minecaft server being directed by a prefix. This record directs the prefixed address to a specific port. The SRV record holds the protocol and service identifier instead of the prefix, and the priority, weight, and port as values.

You will need a domain name to route the SRV record, which you can purchase here.

 

How to create and manage an SRV record?

Start by logging into cPanel

 

1.Navigate to "Domains" and select "Zone editor".

 

2. Select "Management" under the domain you want to point to.

 

3. Select "Add a record" from the right.

 

 

4. In the "Name" field, enter the subdomain under which you want the server to be controlled. In this example, I'll type "miumau", and the rest of the field will be automatically filled in with your domain.

 

Next, an SRV record is created, which tells the DNS service that the domain is redirecting to the server. In this example, we'll use the Minecraft server, but you can apply the instructions to your own use. (Note: The subdomain .miumau. is an example - use your own configured subdomain.)

 

Then set the value to the address you want the record to redirect to, we created this redirect earlier. In the Priority field, we will enter the information that will allow the record to be directed to the right place. The field consists of three sections where the first one is priority, it determines the order in which the records will be read if the service happens to have more records, the lower the higher. The second section is weight which has the same effect as priority, but only within the application, the height is determined linearly. The third point is the port, this determines which port the record is routed to. In this case I put 0 5 25569 which has a generally high priority and it is routed to port 25569.

Was this answer helpful? 11 Users Found This Useful (22 Votes)