How to Add a DNS Zone
Overview
This process lets you manually create a DNS zone on your server. A DNS zone contains all the DNS records for a domain and helps route traffic to the correct locations.
When you create a zone, the system uses preconfigured templates to generate the base records. These templates can be modified if needed using advanced settings.
In most cases, a DNS zone is created automatically when you set up a new domain. This tool is helpful if you need to create a zone manually, especially for domains hosted elsewhere or for testing purposes.
Warning: Be cautious when editing or adding DNS zones. Mistakes can prevent a domain from loading properly. Temporary or testing domains might not support email or search engine indexing features.
Steps to Add a New DNS Zone
- Enter the server’s IP address into the IPv4 Address field.
- Enter the domain name into the Domain field.
- Optionally, associate the new DNS zone with an existing account by selecting it from the dropdown list. You can search using part of the username or domain.
- Note: You cannot add a new zone for a domain that already has one. If a zone already exists, manage it through the DNS Zone Manager instead.
- Click Add Zone to complete the setup.
Fix Common Issues
If the DNS zone fails to create or throws a gzip error, run the following command as root to fix compression-related issues:
/usr/local/cpanel/scripts/autorepair io_compress_gzip
This command automatically repairs the system’s gzip module if it is causing errors during zone creation.
Related Tools
- DNS Zone Manager – for editing or removing existing zones
- Edit Zone Templates – for customizing the default zone record layout
- DNS Functions – for advanced DNS operations like record import/export


