DNS Records (NS, A, MX, CNAME, SRV) Print

  • 0

DNS (Domain Name System) records basically mapping files that tell the DNS server which IP address each domain is associated with, and how to handle requests sent to each domain. 

The most widely used DNS record types and their purpose are as follows:

  • A - specifies IP addresses corresponding to your domain and its subdomains;
  • MX - specifies where the emails for your domain should be delivered;
  • CNAME - specifies redirects from your domain/subdomains to other domains/subdomain
  • TXT - These records are used to store text-based information related to your domain. One of their most common uses is for SPF data. 
  • SRV - SRV (Service) record points one domain to another domain name using a specific destination port.
  • service - the name of the service in question.
    proto - the protocol of the service (usually TCP or UDP).
    name - the domain name that the record should be valid for (Note: it should end with a dot).
    TTL - time to live
    priority - lower values mean more preferred.
    weight - used for records with the same priority (higher value means more preferred).
    port - the number of the port.
    target - the hostname of the machine where the service is running (Note: it should end with a dot).
    TTL, Priority, Weight, Port, and Target are straightforward and easy to fill out. The values will be given by the company that will generate the SRV Record for you

DNS (Domain Name System) records basically mapping files that tell the DNS server which IP address each domain is associated with, and how to handle requests sent to each domain. 

The most widely used DNS record types and their purpose are as follows:

  • A - specifies IP addresses corresponding to your domain and its subdomains;
  • MX - specifies where the emails for your domain should be delivered;
  • CNAME - specifies redirects from your domain/subdomains to other domains/subdomain
  • TXT - These records are used to store text-based information related to your domain. One of their most common uses is for SPF data. 
  • SRV - SRV (Service) record points one domain to another domain name using a specific destination port.
  • service - the name of the service in question.
    proto - the protocol of the service (usually TCP or UDP).
    name - the domain name that the record should be valid for (Note: it should end with a dot).
    TTL - time to live
    priority - lower values mean more preferred.
    weight - used for records with the same priority (higher value means more preferred).
    port - the number of the port.
    target - the hostname of the machine where the service is running (Note: it should end with a dot).
    TTL, Priority, Weight, Port, and Target are straightforward and easy to fill out. The values will be given by the company that will generate the SRV Record for you

Was this answer helpful?

« Back