How to Add SRV record?

The information provided to you for adding SRV record should be looking like as follows:

My SRV record information
==================
Record Type: SRV
Service: _mytestingsrv
Protocol: _tcp
Port: 443
Weight: 0
Priority: 0
TTL: 300
Name: yourodmain.com
Target: xyz.online.test.com
===================

There is an order to add these records in zone file. Go to WHM >> Home » DNS Functions » Edit DNS Zone. Open the particular domains zone file. Then choose a new field to add up record, select SRV from the selection list.
Now the order should be as “service.protocol 300 IN SRV Priority Weight Port Target(in Hostname field)”

According to my above record information, I have entered the SRV record as follows:

_mytestingsrv._tcp 300 IN SRV 0 0 443 xyz.online.test.com.

Click save and check SRV record for the domain using DIG command 🙂

====================
$ dig srv _mytestingsrv._tcp.yourodmain.com

;; ANSWER SECTION:
_mytestingsrv._tcp.yourodmain.com. 288 IN SRV 0 0 443 xyz.online.test.com.
=====================