Apr 17

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

_mytestingsrv._tcp.yourodmain.com. 288 IN SRV 0 0 443 xyz.online.test.com.


Skip to comment form

  1. GadgetGrannie

    Thank you! Straight forward and easy to follow.

    1. penguinbliss

      You are most welcome 🙂

  2. Brad

    Great article, helped me add some SRV records using WHM today.

    1. penguinbliss

      Great to hear that Brad•﹏•

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>