DNS SRV Record

A Domain Name System Service Record, SRV is short for service record.

What does an SRV Record contain?

Unlike most DNS records which contain an IP address or name, the SRV record contains the name and port of a specific service location. Commonly, services like Voice-Over-IP (VOIP) or Instant Messaging (IM) will require a port to make sure the call or IM goes to the right person no matter where they are.

It may also be the case that multiple services reside on one server and to ensure the correct service is used a port would be required. There are commonly used ports or companies may choose to specify their own custom ports, depending on the design and implementations from the network and security teams. For a list of commonly used tcp and udp port number check out wikipedia here.

SRV Record Example
What is the difference between Priority and Weight

How to create a DNS SRV Record

Create srv DNS record.png

How you create a SRV record will depend on which DNS management system you’re using. If you’re using Micetro, by Men&Mice to create a DNS record you will follow these steps:

  • Click on DNS in the Micetro Web UI
  • Double click on a DNS zone for which you’d like to create a SRV record
  • Click on the Create button to create a new SRV record
  • Specify the record name.
  • Specify the record type, in this case SRV
  • Specify a TTL, or time-to-live
  • Specify the Priority
  • Specify the Weight
  • Specify the Port
  • Specify the Target
  • Optionally, specify the owner of this record
  • Depending on your permissions you can now click either Create Now or Add to Request.