DNS hosting: quick start
This is a guide for adding a domain to the new version of DNS hosting (actual) via the control panel. If you registered in the control panel after January 30, 2024, you can only access DNS hosting (actual).
We are gradually disabling the legacy version (legacy) according to the stages. If you use DNS hosting (legacy), we recommend moving domains to DNS hosting (actual) now to avoid disruptions in website operation when DNS hosting (legacy) is disabled.
-
Make sure you have a domain name and access to the control panel of the domain registrar where it is registered. If you do not have a domain name yet, register one.
You can create a zone and add resource records via Terraform. To do this, if necessary top up your balance by the minimum amount 200 ₽ and register a domain name, then create a zone with resource records following the instructions in the Terraform documentation: Create a zone with resource records in DNS hosting (actual).
1. Register a domain name
To add a domain to hosting, you first need to register it—lease the domain name from a domain registrar. When the lease expires, you must renew the domain lease for the website on that domain to work without interruptions.
You can register a domain name in the .ru and .рф zones via the Domains service in Selectel.
2. Create a zone
A zone is a logical grouping of a domain's resource records and its subdomains. You can create any number of zones.
-
Top up your balance by the minimum amount of 200 ₽ to gain access to the service. DNS hosting is provided free of charge; this money will remain on your balance, and you can spend it on other services.
-
In the Control panel, from the top menu, click Products and select DNS hosting.
-
Click Add zone.
-
Enter the DNS zone name, which is a domain name with a dot, for example
example.com.. -
Ensure that the Activate domain zone checkbox is selected. If the checkbox is not selected, the zone will be created with the status
DEACTIVATED; see the Deactivate zone instruction for more details. -
Click Add. NS and SOA records with default values will be automatically created in the zone and cannot be edited:
- NS —
a.ns.selectel.ru.,b.ns.selectel.ru.,c.ns.selectel.ru.,d.ns.selectel.ru. - SOA —
a.ns.selectel.ru. support.selectel.ru.<zone_serial_number> 10800 3600 604800 60, where<zone_serial_number>is the zone serial number, which changes when the zone is updated and signals caching servers to recache the records.
- NS —
-
If you cleared the checkbox in step 5, a deactivated zone will be created with the SOA record disabled. Records from Selectel DNS servers will not be provided. You can activate the zone at any time.
3. Add resource records
-
In the control panel, on the top menu, click Products and select DNS hosting.
-
Open the page of the zone you created earlier.
-
Click Add. 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, a group of NS records contains four records pointing to Selectel NS servers.
-
Enter the name of the resource record group—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 namedexample.com. - for a subdomain—enter the first part of its name. For example, if you enter
firstfor theexample.com.zone, a group namedfirst.example.com.
- for the main domain (zone name)—leave the field empty. For example, if you leave the field empty for the
-
Select the resource record type in the group—A, AAAA, TXT, CNAME, DNAME, HTTPS, NS, MX, SOA, SRV, SSHFP, SVCB, ALIAS, or CAA.
-
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 specified TTL applies to all resource records in the group.
-
Enter the resource record value, for example, for an A record—the IP address that needs to be linked to the domain name.
-
Optional: to add another resource record to the group, click Add and enter the record value.
-
Optional: enter a comment—any additional information about the group. The comment will only be displayed in DNS hosting.
-
Click Add.
4. Delegate the domain
To transfer management of domain resource records to Selectel's servers, the domain must be delegated—you must specify these servers in the domain's NS records.
-
Go to the control panel of the domain registrar with which your domain is registered.
-
In the NS records, replace the values with Selectel's NS servers:
a.ns.selectel.ru,b.ns.selectel.ru,c.ns.selectel.ru,d.ns.selectel.ru. Each server must be specified in a separate record. -
Wait for the added resource records to propagate to the DNS servers. Propagation can take up to 72 hours.
-
Optional: check the resource records. If the resource records have not appeared on the authoritative DNS hosting servers after 72 hours:
a.ns.selectel.ru,b.ns.selectel.ru,c.ns.selectel.ru,d.ns.selectel.ru, create a ticket.