What is an SRV Record
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

What is an SRV Record

Summary

An SRV (Service) record points one domain to another domain name using a specific destination port.

SRV (Service) Records

SRV records allow specific services, such as VOIP or IM, to be be directed to a separate location.

Example:

Enabling your domain to use Google's xmpp server is a good example to showcase. Google's help article states that the SRV record should be in this format:
            _xmpp-server._tcp.gmail.com. IN SRV 5 0 5269 xmpp-server.l.google.com.
            
Under "Add DNS Record", you will need to enter the settings this way:
  • Service: _xmpp-server
  • Protocol: _tcp
  • Host: chat (If you want to use the chat subdomain. Replace this with the subdomain that you want to us, or @ for the root domain.)
  • TTL: 14400
  • Type: SRV
  • Priority: 5
  • Weight: 0
  • Port: 5269
  • Points To: xmpp-server.l.google.com

Glossary

  • Zone File: This is where all the DNS records are stored for a domain.
  • Service: This is the symbolic service name. e.g. _http, _ftp, _imap, ect.
  • Protocol: The Protocol used by the service, usually either TCP or UDP.
  • Host Record: This is the domain or subdomain you wish to use. The @ symbol is used to indicate the root domain itself. In our example the Host Record 'ftp' would be for the subdomain ftp.google.com and '@' would be google.com itself.
  • Points to: This is the destination server that the domain or subdomain is sending the traffic to.
  • TTL: The 'time to live' value indicates the amount of time the record is cached by a DNS Server, such as your Internet service provider. The default (and lowest accepted) value is 14400 seconds (4 hours). You do not normally need to modify this value.
  • Priority: This controls the order in which multiple records are used. As with MX Entries, lower numbers are used before higher numbers.
  • Weight: This is similar to priority, as it controls the order in which multiple records are used. Records are grouped with other records that have the same Priority value. As with MX Entries, lower numbers are used before higher numbers.
  • Port: This is used by the server or computer to process traffic to specific services, ensuring that all traffic comes through the door that it's expected on.
  • Target: This is the destination that the record is sending the traffic to. In the above example, the record would send traffic from chat.example.com to xmpp-server.l.google.com over port 5269. SRV records generally require advanced knowledge of server administration to use.
  • Action: This allows you to modify or remove existing records.
Knowledgebase Article 317,850 views bookmark tags: dns record srv zone


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Definition of an A Record
Knowledgebase Article 850,709 views tags: a dns file host ip record zone

What are the commonly used DNS entries?
Knowledgebase Article 841,405 views tags: a aaaa cname dns record srv txt zone

A definition of AAAA Records
Knowledgebase Article 343,706 views tags: aaaa dns record zone

Related Help Content

Definition of a TXT Record
Knowledgebase Article 465,783 views tags: dns record txt zone

How to Modify Your DNS Records
Knowledgebase Article 1,539,634 views tags: a aaaa access cname dns editor management mx nameserver ns ptr server spf txt update zone

Definition of a CNAME
Knowledgebase Article 824,198 views tags: cname dns zone

I would like to change my MX Record so I can use a mail server with another provider.
Knowledgebase Article 657,844 views tags: dns email exchanger local mail mx remote routing

Definition of an MX Entry
Knowledgebase Article 382,280 views tags: dns entry mx zone

Do you support wildcard subdomains or wildcard DNS entries?
Knowledgebase Article 314,853 views tags: dns domain subdomain wildcard zone

Any time DNS is updated, it can take up to 48 hours for those changes to take effect. This period of time is called propagation, and it applies to any and all DNS updates. This article will explain what propagation is and why it's important.
Knowledgebase Article 163,039 views tags: a cache cname dns domains mx propagation txt

How can I change the reported Time Zone using PHP?
Knowledgebase Article 249,499 views tags: time timezone timezones zone

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here