How to Add DNS Records in DirectAdmin

This article will show you how to add DNS records in DirectAdmin.
Before you start: DNS changes take time to spread, so allow up to 48 hours before assuming something is wrong. If the domain uses external name servers, records added here have no effect: they must be added wherever the name servers point.
1. Log in to DirectAdmin
Use your user credentials to log in to the DirectAdmin control panel.

2. Navigate to DNS Management
- Click on Account Manager in the main menu.
- Select DNS Management.

3. Add a New DNS Record
Click on the Add Record button.

4. Configure the DNS Record
- Record Type: Choose the type of DNS record you want to add (e.g. A, CNAME, TXT, MX).
- Name: Enter the name for the record. For example, to create a subdomain
sub.example.com, entersub. - Value: Provide the value for the record. For an A record, this would be the IP address.
- TTL (Time to Live): Specify the TTL value, which determines how long the record is cached by DNS resolvers.
5. Save the Record
After entering the details, click the Add button to save the new DNS record.
6. Verify the Record
The new record should appear in the list. Allow time for it to publish before testing, and check with a propagation tool rather than your own browser, which caches aggressively.
Next: How to Configure SPF, DKIM and DMARC Records covers the records that affect mail delivery specifically.