Overview
DNS (Domain Name System) is a fundamental part of the internet infrastructure, responsible for translating domain names like example.com into IP addresses. If you manage a website, understanding how to control DNS records is crucial — especially when connecting third-party services (email, subdomains, etc.).
The cPanel Zone Editor makes it easy to add, edit, and delete DNS records for your domain.
Tip: DNS changes can take some time to propagate. Tools like whatsmydns.net and geopeeker.com can help track when the updates are live worldwide.
Accessing the DNS Zone Editor in cPanel
- Log in to your cPanel account.
- Under the Domains section, click Zone Editor.
- Click Manage next to the domain you wish to edit.
How to Manage DNS Records
Delete a DNS Record
- In the Zone Editor, locate the DNS record.
- Click Delete next to the record to remove it.
Add an A Record
- Click the + Add Record dropdown > select Add A Record.
- Fill in:
- Name: Use your domain or subdomain.
- Record: IP address (e.g., 192.0.2.1)
- Click Add Record.
Add a CNAME Record
- Click the + Add Record dropdown > select Add CNAME Record.
- Fill in:
- Name: Subdomain (e.g., www.example.com)
- Record: Fully qualified domain name (e.g., example.com)
- Click Add Record.
Add an MX Record (Mail Exchange)
- Filter records by selecting MX.
- Click + Add Record > Add MX Record.
- Enter:
- Name: Use your domain (or @ = domain name)
- Priority: e.g., 10
- Record: Mail server hostname (e.g., mail.example.com)
- Click Add Record.
- Navigate to Email Routing:
- Click Email Routing from the cPanel home.
- Select your domain.
- Choose Remote Mail Exchanger (for external services) or Local Mail Exchanger (for local hosting).
- Click Change.
Add a TXT Record
- Click + Add Record > Add TXT Record.
- Enter:
- Name: Your domain or subdomain
- Record: TXT value (e.g., for domain verification)
- Click Add Record.
Add an SRV Record
- Click + Add Record > Add SRV Record.
- Enter:
- Name: Service and protocol (e.g., _sip._tcp.example.com)
- Record: Enter required fields (priority, weight, port, target).
- Click Add Record.