Working with DNS Records in DirectAdmin
DNS (Domain Name System) records control how your domain resolves and routes traffic. DirectAdmin provides a DNS management interface that allows you to add, edit, and delete various record types for your domains.
Accessing DNS Management
- Log in to DirectAdmin.
- Navigate to Account Manager → DNS Management.
- Select the domain you want to manage from the dropdown if you have multiple domains.
Common DNS Record Types
- A Record: Maps a domain or subdomain to an IPv4 address. Example:
example.com → 192.0.2.1 - AAAA Record: Maps a domain to an IPv6 address. Example:
example.com → 2001:db8::1 - CNAME Record: Creates an alias pointing to another domain name. Example:
blog.example.com → example.com - MX Record: Specifies mail servers for your domain with priority values. Lower numbers indicate higher priority.
- TXT Record: Stores text data, commonly used for SPF, DKIM, DMARC, and domain verification.
- NS Record: Specifies authoritative nameservers for the domain.
- SRV Record: Defines the location of specific services (e.g., SIP, XMPP).
- CAA Record: Specifies which certificate authorities are allowed to issue certificates for your domain.
Adding a DNS Record
- In the DNS Management section, locate the Add Record area.
- Select the record type from the dropdown.
- Enter the Name (subdomain or leave blank for the root domain).
- Enter the Value (IP address, domain name, or text string depending on record type).
- Set the TTL (Time to Live) – the default of 3600 seconds (1 hour) is suitable for most cases.
- Click Add.
Editing and Deleting Records
To modify an existing record, click the record in the list, update the fields, and click Save. To delete a record, select it and click Delete.
Caution: Modifying NS records, A records for the root domain, or MX records can disrupt your website or email service. Always double-check changes before saving and allow up to 24–48 hours for DNS propagation worldwide.