Add domain to Selectel DNS hosting (actual)
This is the instruction to add a domain to new version of DNS hosting (actual) through the control panel. If you registered in the control panel after January 30, you will only be able to DNS hosting (actual).
We will cease to support and develop legacy DNS hosting version (legacy). Domains and resource records in DNS hosting (legacy) will continue to work, and we will notify you in advance if they are discontinued. If you are using DNS hosting (legacy), we recommend that you transfer domains to DNS hosting (actual) now to avoid disruption of sites when DNS hosting (legacy) is down.
-
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 already have a domain name, register him.
You can create a zone and add resource records via Terraform. To do this, if necessary top up for a minimum amount of 100 ₽ and register a domain name then create a zone with resource records according to the instructions in the Terraform documentation Create a zone with resource records in DNS hosting (actual).
Register a domain name
Selectel does not provide domain registration and renewal services.
To add a domain to your hosting, you must first register it — rent a domain name from a domain registrar. When the lease expires, the domain lease needs to be renewed so that the site on the domain works without interruption.
Create a zone
A zone is a logical union of the resource records of a domain and its subdomains. You can add any number of zones.
-
Top up A minimum of 100 ₽ to access the service. DNS hosting is free of charge, this money will remain on your balance and you can spend it on other services.
-
В control panels go to DNS → Domain zones.
-
Click Add a zone.
-
Enter the DNS zone name — the name of the domain with a dot, for example,
example.com.
. -
Click Add. The zone will automatically create NS and SOA records with default values:
- NS —
a.ns.selectel.ru.
,b.ns.selectel.ru.
,c.ns.selectel.ru.
,d.ns.selectel.ru.
- SOA IS.
a.ns.selectel.ru. support.selectel.ru. <zone_serial_number> 10800 3600 604800 60
where<zone_serial_number>
— zone serial number, which changes when the zone is updated and signals to the caching servers that records need to be cached again.
- NS —
Add resource records
-
В control panels go to DNS → Domain zones.
-
Open the zone page that previously created.
-
Click Add. In DNS hosting (actual), resource records are stored in groups — one group contains all the resource records of a domain with the same type, e.g., all the IP addresses of a domain at the DNS balancing.
-
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 primary domain (zone name) — leave the field blank. For example, if you leave the field blank for the zone
example.com.
a group will be created with the nameexample.com.
- for a subdomain — enter the first part of its name. For example, if you enter
first
for the areaexample.com.
a group will be created with the namefirst.example.com.
- for the primary domain (zone name) — leave the field blank. For example, if you leave the field blank for the zone
-
Select resource record type in a group — A, AAAA, TXT, CNAME, DNAME, HTTPS, NS, MX, SOA, SRV, SSHFP, SVCB, ALIAS, or CAA.
-
Enter TTL or leave the default value. TTL is the time in seconds for which a resource entry in the NS server cache is considered up to date and does not need to be re-cached. The specified TTL applies to all resource records in the group.
-
Enter the value of the resource record, for example, for an A record, the IP address to be mapped to the domain name.
-
Optional: To add another resource record to the group, click Add and enter the value of the record.
-
Optional: enter a comment — any additional information about the group. The comment will be displayed only in DNS hosting.
-
Click Add.
Delegate domain management
In order to transfer control of domain resource records to Selectel 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 where your domain is registered.
-
In the NS entries, 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 listed in a separate entry. -
Wait until added resource records will propagate to DNS servers. Propagation can take up to 72 hours.
-
Optional: check resource records. If after 72 hours the resource records have not appeared on authoritative DNS hosting servers:
a.ns.selectel.ru
,b.ns.selectel.ru
,c.ns.selectel.ru
,d.ns.selectel.ru
, file a ticket.