How to Manage DNS Records in DirectAdmin (A, CNAME, MX, TXT)
DNS records tell the internet where to find your website, where to deliver your email, and prove you own your domain to services such as Google or Microsoft.
Good to know Menu names in this guide follow DirectAdmin’s default Evolution skin. If your dashboard uses a different layout (Grid, Sidebar or Refreshed), the same tools exist under the same names — use the search box at the top of DirectAdmin to jump straight to them.
Open DNS Management
- Log in to DirectAdmin.
- Go to Account Manager › DNS Management.
- If you have several domains, choose the one you want to edit.
Common record types
| Type | Used for | Example value |
|---|---|---|
| A | Points a name to an IPv4 address | 203.0.113.10 |
| AAAA | Points a name to an IPv6 address | 2001:db8::10 |
| CNAME | Makes one name an alias of another | shop → stores.example.net. |
| MX | Tells the world where to deliver email | Priority 10, mail.yourdomain.com. |
| TXT | Verification, SPF, DKIM and DMARC | v=spf1 a mx ~all |
Example IPs above are reserved documentation addresses — use the values your service gives you.
Add a record
- Click Add Record.
- Choose the record type.
- Enter the Name (for example
www, or leave blank / use@for the main domain, depending on the field). - Enter the Value and, optionally, the TTL.
- Click Add.
⚠ Watch the trailing dot In DirectAdmin, a hostname value ending in a dot (
mail.example.com.) is treated as complete. Without the dot, your domain name may be added to the end, givingmail.example.com.yourdomain.com.
Using Google Workspace or Microsoft 365?
Delete the existing MX records and add the ones your email provider gives you. Then check whether DirectAdmin should treat mail as remote: in E-Mail Manager › MX Records, untick Local Mail Server so messages sent from your website reach the external mailboxes.
Frequently asked questions
How long do DNS changes take in DirectAdmin?
The change is saved instantly on our servers, but other networks may keep the old value until its TTL expires — usually minutes to a few hours.
Can I reset my DNS zone to default?
Yes. DNS Management includes an option to reset the zone to the default records. This removes custom records, so note them down first.