· Tutorial ·

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?

  1. In SWPanel, we click the Tools option then Templates (left menu) > Cloud Templates.

  2. Click on the DNS Templates button and then Create DNS Template.

    enter image description here

  3. 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.
  1. The template we have just created appears in the list. We access to the menu Manage (located on the right) > Modify the template.

    enter image description here

  2. Click Create Record, select the Type of record and fill in the data. Finally, click Create Record to save the data.

    enter image description here

  3. Choose the type of record you want to create:

    enter image description here

  4. We write the registration data:

    enter image description here

  5. Once the corresponding records have been created, the DNS zone is displayed on the screen:

    enter image description here

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.