Skip to main content

Add a resource record

warning

We have released a new version of DNS hosting (actual) and are gradually shutting down the legacy version (legacy) according to the stages.

Transfer domains to DNS hosting (actual) now to avoid website downtime when DNS hosting (legacy) is shut down.

If you registered in the control panel after January 30, 2024, only DNS hosting (actual) is available to you.

A resource record is a record that maps a domain to information about it in the Domain Name System (DNS).

You cannot manage reverse resource records (PTR records) in DNS hosting. To do this, use the IP address management service.

Add a resource record

In DNS hosting (actual), resource records are stored in groups — one group contains all resource records of a domain with the same type. For example, an NS record group contains four records pointing to Selectel NS servers.

If you do not already have a resource record group of the required type for the domain, add a resource record group of this type. If you already have a resource record group of the required type, add an additional value to it.

Add a resource record group

  1. In the control panel, in the top menu, click Products and select DNS hosting.

  2. In the Domain zones section, open the zone page.

  3. Click Add.

  4. Enter the resource record group name—this is the domain for which the group will be created. You can create a resource record group:

    • for the primary domain (zone name) — leave the field blank. For example, if you leave the field blank for the zone example.com, a group named example.com will be created.
    • for a subdomain — enter the first part of its name. For example, if you enter first for the zone example.com, a group named first.example.com will be created.
  5. Select the resource record type in the group — A, AAAA, TXT, CNAME, MX, NS, SRV, SSHFP, CAA, DNAME, HTTPS, SVCB.

  6. Enter the TTL or leave the default value. TTL is the time in seconds that a resource record in the NS server cache is considered up to date and does not require re-caching. The group TTL applies to all resource records in the group.

  7. Enter the resource record value. For example, for an A record, enter the IP address you want to bind to the domain name.

  8. If you need to add another resource record to the group, click Add value and enter the record value.

  9. Optional: enter a comment—any additional information about the group; it will only be displayed in DNS hosting.

  10. Click Add.

  11. Wait for the added resource record group to propagate to the DNS servers. Propagation can take up to 72 hours.

  12. Optional: check resource records. If after 72 hours from creation the resource records do not appear on the DNS servers, create a ticket.

Add a resource record to a group

If you add a resource record to an existing group, it will have the name and TTL specified for that group.

  1. In the control panel, in the top menu, click Products and select DNS hosting.

  2. In the Domain zones section, open the zone page.

  3. From the menu of the resource record group, select Edit.

  4. Click Add.

  5. Enter the value.

  6. Click Save.

  7. Wait for the resource record to propagate to the DNS servers. Propagation can take from the group's TTL up to 72 hours. You can view the TTL of a resource record group in the control panel: in the top menu, click Products → DNS hosting → Domain zones → zone page.

  8. Optional: check the resource record. If after 72 hours from creation the resource record does not appear on the DNS servers, create a ticket.

Available resource record types

Learn more about the purpose of various resource records, their operating logic, and limitations in the Selectel blog article How to make sense of DNS hosting and not break anything.

AMaps a domain name to the server's IPv4 address. Until an A record is created for a domain, the website will not work
AAAAMaps a domain name to the server's IPv6 address. Until an AAAA record is created for a domain, the website will not work
CAAPoints to the certificate authorities authorized to issue TLS(SSL) certificates for this domain name. If multiple authorities can issue certificates for the domain, a CAA record must be created for each authority
CNAMEMaps an additional domain to the primary (canonical) domain so that both point to the IP address of the primary domain. A CNAME record cannot be added for a second-level domain. A domain with a CNAME record cannot have other resource records
DNAMEMaps all subdomains to the primary (canonical) domain so that they point to the IP address of the primary domain.
MXPoints to the server for receiving incoming mail for the domain. If a domain has multiple mail servers, an MX record must be created for each server with a priority specified for load balancing
NSPoints to the DNS servers where the resource records for the domain name are stored. When you add a domain to DNS hosting (actual), NS records for the domain are created automatically; they cannot be edited or deleted. You can only create NS records for a subdomain
SOAContains information about the domain zone and is created automatically when a zone is created in DNS hosting (actual). An SOA record cannot be edited or deleted
SRVDefines the location—the hostname and port number—of servers for specific services. For each SRV record, the server priority and record weight are also specified for load balancing between servers
SSHFPContains the key fingerprint used by the server when connecting via the SSH protocol
SVCBContains data for establishing a connection to a site: the preferred protocol and its version, IP addresses, and ports
HTTPSA specialized equivalent of an SVCB record for establishing a connection over HTTPS
TXTContains any text information that needs to be added to the domain settings. For example, it can store a unique token to verify domain ownership or a DKIM key for outgoing email campaigns