Delegating Control of a DNS Zone to a subdomain
Delegating a DNS zone means transferring the responsibility for managing a specific part of your domain to another DNS server. It is like assigning the management of a particular area of the domain to a different computer or server.
How does it work?
Think of your domain as a big tree, where the trunk is the main domain and the branches are the subdomains. By delegating, you decide that one of those branches (subdomain) will be managed by another DNS server, and not by the main server that manages the main domain.
To do this, NS (Name Server) records are added in the DNS zone of the main domain. These NS records indicate which DNS servers will be responsible for the delegated subdomain.
Example of Delegation:
Imagine you own the domain swhosting.com and you want someone else to manage the subdomain sub.swhosting.com. To do this:
- In the swhosting.com DNS zone, you would add an NS record that points to the DNS servers that will manage sub.swhosting.com.
- These delegate DNS servers will handle all requests related to sub.swhosting.com, including subdomains such as www.sub.swhosting.com or mail.sub.swhosting.com.
Delegate the control of a DNS zone of a subdomain
To do it in an agile way, you can access the subdomain to create the zone delegation through the SWPanel top browser:
Then we go to Service management and DNS management, in the blue menu.
Click on Delegate DNS Zone Control.
To formalize the delegation, click on Delegate Zone control now.
Done! Your zone delegation has been created.
Remember that DNS record modifications can take up to 48 hours to propagate globally.