Update dns_templates.md

This commit is contained in:
Stefan Pejcic
2025-06-02 19:12:32 +02:00
committed by GitHub
parent 9bc77aa7e2
commit ac0c5c6b07

View File

@@ -8,5 +8,16 @@ This interface allows you to edit the templates that OpenPanel uses to create DN
![edit zone screenshot](/img/admin/dns_templates_admin.png)
- IPv4 Template: Template used for new user domains with IPv4 addresses.
- IPv6 Template: Template used for new user domains with IPv6 addresses.
- **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. |