DNS SRV Record

DNS SRV Record

Learning Objectives

After reading this article you will be able to:

  • Understand the purpose of an SRV record.

What is a DNS SRV record?

The ‘service’ record specifies a host and port for specific services such as Voice Over IP (VOIP), instant messaging, etc.

Example of an SRV record:

example.com record type: value: TTL
@_sip._tcp.example.com. SRV 8080 exampledomain.com 41200

In the above example, ‘_sip’ indicates the type of service, ‘_tcp’ indicates the protocol, and ‘8080’ indicates the port while ‘example.com’ is the host. Cloudflare DNS