Using DNS Zone Editor in DirectAdmin
DNS records determine where your domain points. In this guide, we explain how to manage DNS records in DirectAdmin.
What is DNS?
DNS (Domain Name System) translates domain names to IP addresses. DNS records tell where your website, email, and other services are located.
Why manage DNS records?
You change DNS records when you:
- Move your website to another server
- Route email through an external service (for example Google Workspace or Microsoft 365)
- Point a subdomain to another server
- Need to verify ownership of your domain
Opening DNS Zone Editor
- Log in to DirectAdmin
- Go to DNS Zone Editor or DNS Management
- Select your domain (if you have multiple)
- You'll see all DNS records for this domain
Record types explained
| Type | Use | Example |
|---|---|---|
| A | Website to IP | example.com → 123.45.67.89 |
| AAAA | Website to IPv6 | example.com → 2001:db8::1 |
| CNAME | Alias to another domain | www → example.com |
| MX | Email server | mail.example.com (priority 10) |
| TXT | Text/verification | SPF, DKIM, verification |
| NS | Nameservers | ns1.theory7.net |
| SRV | Specific services such as VoIP | _sip._udp.example.com → sip.example.net |
Every record also has a TTL: the number of seconds other servers may cache the record. The DirectAdmin default is usually fine.
Creating an A Record
To point a (sub)domain to an IP:
- Click Add Record
- Type: A
- Name: the name (e.g.,
blogfor blog.example.com, or@for example.com) - Value: the IP address (e.g.,
123.45.67.89) - Click Add
Creating a CNAME Record
To create an alias:
- Click Add Record
- Type: CNAME
- Name: the alias (e.g.,
www) - Value: the target domain with period (e.g.,
example.com.) - Click Add
MX Record for email
To route email:
- Click Add Record
- Type: MX
- Name:
@or empty for main domain - Value: mail server (e.g.,
mail.example.com.) - Priority: 10 (lower = higher priority)
- Click Add
TXT Record (SPF, verification)
For SPF, DKIM, or domain verification:
- Click Add Record
- Type: TXT
- Name:
@for main domain - Value: the TXT value (e.g.,
v=spf1 a mx ~all) - Click Add
Editing records
- Find the record in the list
- Click Edit or the pencil icon
- Change the value
- Click Save
Deleting records
- Find the record
- Click Delete or the trash icon
- Confirm the action
Note: Wrong changes can make your website or email unreachable. Do not delete records if you are not sure what they are for.
DNS propagation
After changes, it takes up to 24-48 hours for DNS to update worldwide. Check with:
- whatsmydns.net
- dnschecker.org
Common configurations
Website on external hosting
A @ 123.45.67.89
CNAME www example.com.
Email via Google Workspace
MX @ smtp.google.com. (priority 1)
TXT @ v=spf1 include:_spf.google.com ~all
Still using the older set of five Google MX records (ASPMX.L.GOOGLE.COM and the ALT servers)? That set keeps working.
Subdomain to another server
A blog 98.76.54.32
DNS troubleshooting
Changes not visible
- Locally you often see a change within 1 to 2 hours, worldwide it can take up to 48 hours
- Clear your local DNS cache, for example with
ipconfig /flushdnson Windows
Website unreachable after a change
- Check that the A record points to the correct IP address
- Check that the new server is set up for your domain
Email not working
- Check your MX records and their priorities
- Check your SPF and DKIM records
- Test with an online MX lookup, for example at mxtoolbox.com
Tips
- Make a backup: Note existing records before changing
- Test first: Check DNS propagation
- Period after CNAME/MX: Don't forget the trailing period
- Low TTL: Lower the TTL to for example 300 seconds a day before a planned change, so the new value is active everywhere sooner
- Test with tools: Check records with
dig,nslookupor an online DNS checker
Need help?
We're here for you! Running into issues or have questions? Our support team is happy to help you personally. Drop us a message through the ticket system - we usually respond within a few hours and love helping you find the best solution.
Looking for web hosting plans? See what we offer.
0 of 0 found this helpful