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.

Guide2 min readLast updated
On this page
  1. Opening DNS Management
  2. Adding a record
  3. Naming: the part people get wrong
  4. Editing and deleting
  5. Resetting to defaults
  6. After a change
  7. If it doesn’t work
  8. Common questions

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

  1. Log in to DirectAdmin.
  2. Open Account Manager › DNS Management.
  3. If you’re asked, choose the domain.

You’ll see the list of records: type, name, value and TTL.

Adding a record

  1. Select Add Record.
  2. Choose the type (A, CNAME, MX, TXT).
  3. Enter the name, value and, for MX, the priority.
  4. Save.

Naming: the part people get wrong

You wantEnter as name
The bare domainThe domain itself, e.g. yourdomain.co.uk.
A subdomainJust 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?

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.

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.

Keep going