How to add, edit and delete DNS records in DirectAdmin
Using DNS Management in DirectAdmin: the record form, naming conventions, trailing dots, TTLs, and how to avoid breaking your website or email.
On this page
If your domain uses Traxio’s nameservers, Account Manager › DNS Management is where its DNS records live.
Note: Using another DNS provider? Changes here have no effect on the live domain. Make them at your provider instead. Nameservers vs DNS records: what’s the difference?
Opening DNS Management
- Log in to DirectAdmin.
- Open Account Manager › DNS Management.
- If you’re asked, choose the domain.
You’ll see the list of records: type, name, value and TTL.
Adding a record
- Select Add Record.
- Choose the type (A, CNAME, MX, TXT).
- Enter the name, value and, for MX, the priority.
- Save.
Naming: the part people get wrong
| You want | Enter as name |
|---|---|
| The bare domain | The domain itself, e.g. yourdomain.co.uk. |
| A subdomain | Just the prefix, e.g. shop |
| DMARC | _dmarc |
A name without a trailing dot has the domain added automatically. A name with a trailing dot is used exactly as written. Entering shop.yourdomain.co.uk without the dot creates shop.yourdomain.co.uk.yourdomain.co.uk.
Editing and deleting
Use the edit option on a record to change its value, or select and delete it. Before deleting anything you didn’t create, find out what it does:
mail, MX and SPF records → email stops if removed- NS records → never delete these
www→ the www version of your site stops working
Resetting to defaults
If records have become a mess, DirectAdmin can reset the zone to its default records. That removes every custom record, including verification and external email records, so note those down first.
After a change
New records usually appear within minutes; edited ones follow their previous TTL. How to check DNS records (dig, nslookup and online tools)
Prefer to follow along?
- Add a DNS record and prove it works
Intermediate · 15 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- DNS changes not workingYou changed a DNS record and nothing happened. How to tell whether it’s caching, the wrong DNS provider, a naming mistake or a conflicting record.
- Domain not resolving: “This site can’t be reached”Fix DNS_PROBE_FINISHED_NXDOMAIN and ‘server not found’: check the domain is registered, nameservers are set, records exist and DNSSEC isn’t broken.
- Email stopped working after changing nameserversWhy mail stops when you move a domain’s DNS, and how to restore Microsoft 365, Google Workspace or old-host email records at Traxio.
Common questions
How do I add a DNS record?
In DirectAdmin, open Account Manager › DNS Management, choose the record type, enter the name and value and save. Traxio’s DNS editor covers A, CNAME, MX and TXT records, which is everything a normal site and its email need.
Spotted something out of date or unclear? Tell us and we’ll fix it.