UnderHost
Knowledgebase Docs

How to manage DNS records in DirectAdmin

Add, edit, and delete A, CNAME, MX, and TXT DNS records in DirectAdmin. Manage DNS for domains hosted on your DirectAdmin account when nameservers point to U...

On this page

DirectAdmin includes a DNS management interface for editing zone records on domains whose nameservers point to UnderHost. If you use external DNS (Cloudflare, your registrar), manage DNS there instead-changes in DirectAdmin will not take effect.

When to manage DNS in DirectAdmin

Use DirectAdmin DNS Management when your domain's nameservers are set to ns01.underhost.com / ns02.underhost.com (for Canada-based hosting) or equivalent UnderHost nameservers for your server location.

If your domain's nameservers point anywhere else (Cloudflare, GoDaddy, etc.), DNS changes must be made at that provider. DirectAdmin DNS changes will be ignored.

Open DNS Management

  1. Log in to DirectAdmin
  2. Go to Domain Setup → DNS Management (or Advanced Features → DNS Management)
  3. Select the domain you want to edit from the dropdown

The DNS records for that domain are displayed. Scroll through the list to see all current records.

Add a DNS record

  1. In DNS Management, scroll to the section for the record type you want to add (A Records, CNAME Records, MX Records, or TXT Records)
  2. Fill in the record name and value fields
  3. Click Add

The record is saved to the zone immediately. Propagation to external resolvers takes minutes to 48 hours.

Common records reference

PurposeTypeNameValue
Point domain to this serverA@ or blankYour server IP
Point www subdomainA or CNAMEwwwServer IP or yourdomain.com
Point subdomain to serverAshopServer IP
Alias to external serviceCNAMEmailmail.google.com
Email routing (MX)MX@Mail server hostname, priority 10
SPF recordTXT@v=spf1 include:spf.underhost.com ~all
Domain verification (Google)TXT@Paste the verification string from Google
DKIM keyTXTdefault._domainkeyDKIM public key value

Edit or delete records

To edit a record: find it in the list, update the value in the field next to it, and click Save. To delete: click the Delete checkbox next to the record and save.

Do not delete the default A, NS, or MX records

The default zone includes essential records for your website and email. Deleting the root A record takes your site offline. Deleting MX records stops email delivery. Only add or modify records you specifically need to change.

DNS propagation

DNS changes in DirectAdmin take effect on the UnderHost servers immediately. However, DNS resolvers around the world cache old values for the TTL period (typically 1–4 hours). Full global propagation can take up to 48 hours in rare cases.

See DNS propagation explained to see current DNS values across global resolvers and understand propagation in detail.

Related: DirectAdmin domains | Configure DNS | DNS propagation | cPanel Zone Editor

Was this article helpful?

Need DirectAdmin hosting?

DirectAdmin is available for customers who want a lightweight hosting control panel on compatible UnderHost services.

Related articles

Back to DirectAdmin