Skip to main content

Add a resource record

Last update:
warning

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

Migrate your domains to DNS hosting (actual) now to avoid site downtime when DNS hosting (legacy) is disabled.

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).

In DNS hosting, you cannot manage reverse resource records (PTR records); for 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 domain resource records of the same type. For example, a group of NS records contains four records pointing to Selectel NS servers.

If you do not have a resource record group of the required type for the domain yet, 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, on 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 main domain (zone name)—leave the field empty. For example, if you leave the field empty for the example.com. zone, 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 example.com. zone, 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, ALIAS, 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 the resource records. If the resource records have not appeared on the DNS servers 72 hours after creation, 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, on the top menu, click Products and select DNS hosting.
  2. In the Domain Zones section, open the zone page.
  3. In 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 anywhere from the group TTL to 72 hours. You can view the resource record group TTL in the Control panel by clicking ProductsDNS hostingDomain zones → zone page on the top menu.
  8. Optional: check the resource record. If the resource record has not appeared on the DNS servers 72 hours after creation, create a ticket.

Available resource record types

Find out more about the purpose of various resource records, their logic, and limitations in the Selectel blog article How to figure out DNS hosting without breaking everything.

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
ALIASBinds an alias domain to the main (canonical) domain so the subdomain points to the canonical domain's IP address. It works similarly to a CNAME record but can be added for second-level domains and can coexist with other resource records for the domain (except A and AAAA)
CAASpecifies which certification authorities are allowed 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 one
CNAMEBinds an additional domain to the main (canonical) domain so that both point to the main domain's IP address. A CNAME record cannot be added for a second-level domain. A domain with a CNAME record cannot have any other resource records
DNAMEBinds all subdomains to the main (canonical) domain so that they point to the main domain's IP address.
MXPoints to the server that receives incoming mail for the domain. If a domain has multiple mail servers, an MX record must be created for each server, specifying a priority for load balancing
NSPoints to the DNS servers where the domain name's resource records are stored. When you add a domain to DNS hosting, 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. An SOA record cannot be edited or deleted
SRVDefines the location—hostname and port number—of servers for specific services. For each SRV record, the server priority and record weight for load balancing are also specified
SSHFPContains the key fingerprint used by the server when connecting via the SSH protocol
SVCBContains data for establishing a connection with the website, such as the preferred protocol and its version, IP addresses, and ports
HTTPSA specialized version of the SVCB record for establishing an HTTPS connection
TXTContains any text information you need to add to the domain settings. For example, it can store a unique token to verify domain ownership or a DKIM key for outgoing email