openpanel/website/docs/admin/domains/dns_templates.md
2025-06-02 19:12:32 +02:00

974 B
Raw Blame History

sidebar_position
3

Edit Zone Templates

This interface allows you to edit the templates that OpenPanel uses to create DNS zone files for new domains. You may wish to use this interface when you use custom DNS configurations.

edit zone screenshot

  • IPv4 Template: Template used for new user domains with IPv4 addresses.
  • IPv6 Template: Template used for new user domains with IPv6 addresses.

You can use the following variables within DNS zone template files:

Variable Description
{ns1} The primary nameservers hostname for the primary NS record.
{ns2} The secondary nameservers hostname for the secondary NS record.
{ns3} The tertiary nameservers hostname for the tertiary NS record.
{ns4} The quaternary nameservers hostname for the quaternary NS record.
{server_ip} The domains IPv4 or IPv6 address.