The template system allows you to pre-set the zone records which are automatically used for new zones. The default template will always be used unless a product template has been set or the client has an custom template.

Template Tags

In all templates you can use the {domain} tag which is replaced by the zone name. This tag can be used in the name and content fields.

The product templates also allow you to use the {ip} tag. This tag is dynamically replaced by the assigned product IP’s or server IP if available. If multiple IP’s are found multiple records are added from either the assigned or server IP’s. This can be used for A and AAAA record types. When no IP’s can be found no record will be added. If you want to use a fall-back IP address you can use the following format: {ip|127.0.0.1}

Records

You don’t have to add SOA and NS records to an template. These records are automatically added when the zone is being created. If you do not want to use the default nameservers as configured you can add a NS record to the template instead. When a NS record exists the default nameservers will not be added during zone creation.

Template Settings

For product templates the template following settings are available:

DNS Product
Use this setting to enable this DNS template for the concerning product. When this product is being ordered a zone will be created using this template.
Force Template
When this product is ordered together with a domain registration a zone is already created for the domain registration. Use this setting to make sure this product template is used instead of the default or client template.

General Settings

The following general settings (Automation) can affect if a template is used:

Respect Products
Use this setting if you do not want to create a zone for a domain ordered together with a product or service if this product/service is not enabled as a DNS product.

Configuration Examples

In the next examples when talking about a bundle it is an order having a domain registration or transfer and a service/product for the same domain.

DNS Product Force Template Respect Products
Off On

If you have enabled the “Respect Product” option and if a bundled order is made and the product is not enabled no zone will be created by SoluteDNS.

Result: No zone is created.

In the same case where the product is enabled but the template is not forced a zone will be created for the domain registration using the Default template or the client’s custom template.

Result: A (domain) zone is created using the default or client’s template.

DNS Product Force Template Respect Products
On Off
DNS Product Force Template Respect Products
On On

If instead the product template is forced a zone will be created with the product template and it will be added as a product zone type.

Result: A (product) zone is created using the product’s template.

However, if you have the “DNS product” disabled and the “Respect Products” option as well but the template is forced and a bundled order is made a zone is created using the template of the product but it will be added as a domain zone type instead of a product zone type as the product is disabled for DNS.

Result: A (domain) zone is created using the product’s template.

DNS Product Force Template Respect Products
Off On Off
DNS Product Force Template Respect Products
On

If a product/service is ordered without a domain/transfer alongside and the “DNS Product” is enabled a zone will be created for the product as a product zone type using the DNS template for this product.

Result: A (product) zone is created using the products template.