Delegate a zone (domain)
A domain zone is a set of resource records of a domain. A domain zone is distributed from special servers in the DNS system — NS-servers, which are specified in the NS records of the domain.
When registering a domain, NS-servers of the registrar are specified for it. To manage the domain zone via DNS hosting, you need to delegate the domain, i.e. specify the NS servers of the hosting from the registrar.
If you delegate your main domain to Servercore, all of its subdomains will be delegated to Servercore by default.
You can manage your main domain zone and subdomain zones through different hosting services, for example:
- delegate the main domain to third-party hosting, subdomain to Servercore;
- delegate main domain to Servercore, subdomain to third-party hosting.
Delegate main domain and subdomains to Servercore
-
In the control panel, in the top menu, click Products and select DNS hosting.
-
Make sure you have created a primary domain zone and added resource records to it.
-
To add resource records for a subdomain, create a subdomain zone and add resource records to it. The main domain zone and the subdomain zone must be created in the same project. Once created, you can move the subdomain zone to another project.
-
Go to the control panel of the domain registrar where your primary domain is registered.
-
In the NS records, replace the values with Servercore's NS servers:
a.ns.srv.cr
,b.ns.
servercore.ru
,c.ns.
servercore.ru
,d.ns
.servercore.ru
. Each server must be specified in a separate entry.When the zone status in the control panel changes to
DELEGATED
, the records will begin to be issued from the Servercore servers.
Delegate main domain to third-party hosting, subdomain to Servercore
-
Go to the control panel of the domain registrar where your primary domain is registered.
-
Make sure that the NS servers of the third-party hosting service are specified for the primary domain.
-
Create a subdomain zone in Servercore:
3.1 In the control panel, click Products in the top menu and select DNS hosting.
3.2.Click Add Zone.
3.3.Enter the name of the subdomain with a period at the end. such as
first.example.com. for
example.3.4.Click Add. NS and SOA records with default values will be automatically created in the subdomain zone:
- NS —
a.ns.servercore
.ru.
,b.ns.srv.cr
.,c.ns.srv.cr
.,d.ns
.servercore``.ru
. - SOA —
a.ns.srv.cr. dns.cloudflare.com. <zone_serial_number> 10000 2400 604800 1800
, where<zone_serial_number>
is the zone serial number, which changes when the zone is updated and signals the caching servers that records need to be cached again.
3.5.Optional: move the subdomain zone to another project.
- NS —
-
Delegate subdomain:
4.1.Go to the control panel of the third-party hosting where the main domain is delegated.
4.2.In the primary domain zone, create four NS records, one for each of the Servercore NS servers:
- record-name is the name of the subdomain, such as
first.example.com
; - record value — one of the authoritative Servercore servers:
a.ns.srv.cr
,b.ns.
servercore.ru
,c.ns.
servercore.ru
,d.ns
.servercore.ru
.
When the subdomain zone status in the control panel changes to
DELEGATED
, the records will begin to be given from the Servercore servers. - record-name is the name of the subdomain, such as
Delegate main domain to Servercore, subdomain to a third-party hosting service
-
In the control panel, in the top menu, click Products and select DNS hosting.
-
Make sure you have created a primary domain zone and added resource records to it.
-
Delegate the primary domain to Servercore:
3.1.Go to the control panel of the domain registrar where your main domain is registered.
3.2.In the domain's NS records, replace the values with Servercore's NS servers:
a.ns.servercore
.ru
,b.ns
.servercore.ru
,c.ns.
servercore.ru
,d.ns
.servercore.ru
. Each server must be specified in a separate entry. -
Delegate the subdomain to a third-party hosting service:
4.1.In the control panel, in the top menu, click Products and select DNS hosting.
4.2.Open the zone page of the main domain.
4.3.Add a group of NS records by clicking Add and specifying the data:
- group name — subdomain name;
- record type is NS;
- record value — the name of the third-party hosting NS server.
4.4.If you want to specify another NS server, click Add and paste the name of the NS server.
4.5.Click Add.