How to reset a DNS zone file?
You can reset a DNS zone file either in the WHM interface DNS Zone Manager or by using the WHM API 1 Functions - resetzone. To make this change using the interface you can perform the following steps.
- Click "Manage" for the domain that you want to modify. A new interface will appear.
- In this interface, click "Actions" above the zone record table.
- Select "Reset DNS Zone" from the menu. A confirmation window will appear.
- Click "Continue" to reset the domain’s DNS zone file, or click "Cancel."
Please note that the system will attempt to preserve TXT records instead of deleting them.
If you wish to reset a large number of zone files we advise automating this process using the API tool.
In cPanel versions 94 or earlier, this task was performed through the WHM interface Reset a DNS Zone instead.