DNS Templates
What is a DNS Template?
A DNS Template allows us to predefine the DNS configuration in a personalized way, thus avoiding having to configure the same parameters each time we proceed to the registration of a new service.
We will be able to use it when creating a new service from a Service Template, being directly configured the DNS service with the template data.
Likewise, we can mark a DNS Template as default template for new services, applying it to the services created from that moment on.
How to create a DNS Template?
-
In SWPanel, we click the Tools option then Templates (left menu) > Cloud Templates.
-
Click on the DNS Templates button and then Create DNS Template.
-
Enter the name you want to assign to the template.
Selectable options:
- [x] Do not Inherit DNS template.
*The template will not be visible to the current user's dependent users (subusers).
- x] Mark as default template of my SWPanel.
*The DNS configuration of this template will be applied to new services created from now on.
-
The template we have just created appears in the list. We access to the menu Manage (located on the right) > Modify the template.
-
Click Create Record, select the Type of record and fill in the data. Finally, click Create Record to save the data.
-
Choose the type of record you want to create:
-
We write the registration data:
-
Once the corresponding records have been created, the DNS zone is displayed on the screen:
Apply DNS Template
Our DNS Template can be applied in the following cases:
- When registering a service using a template (see Service Templates manual))*.
- In case you have marked our DNS Template as default template (see step 3), it will be applied to future new services.