DirectAdmin Site-Helper

Helping you get the most out of DirectAdmin and your web site!

DNS Settings

This section contains essential information about making DNS changes to your web site.

Accessing DNS Administration

To access DNS Administration, click on the "Server Manager" icon, followed by "DNS Administration" link.

access dns administration
access dns administration

You will see a page that looks similar to this:

access dns administration

The DNS administration menu allows you to modify the DNS settings of any domain name hosted on the server. Click on the domain name you want to edit. In this example, we will click on

 dns records

Important: There are two ways to enter a hostname:

1. The full hostname followed by a period:
2. The subdomain alone: full

For example, the first record in the table above can read:

admin A
or A

Both records do the exact same thing. The sections below may discuss only one method but either is acceptable.

Hint: If you are unsure how to enter a record, look at the existing records in the table for guidance.

Records Explained: A, CNAME, NS, MX, and PTR.

A Records

Address (A) records direct a hostname to a numerical IP address. For example, if you want to point to your home computer (which is, for example,, you would enter a record that looks like: Add A type record

Note: If you have IPv6 ip adress use AAAA record instead.

Important: You must put a period after the hostname. Do not put periods after IP addresses.

CNAME Records

CNAME allows a machine to be known by one or more hostnames. There must always be an A record first, and this is known as the canonical or official name. For example: A

Using CNAME, you can point other hostnames to the canonical (A record) address. For example: CNAME CNAME CNAME

CNAME records make it possible to access your domain through,, etc. Without a proper CNAME record, you will not be able to connect to your server using such addresses.

Entering a CNAME record

If we wanted to point to, we could enter the record in two ways:

Add CNAME type record The first method allows you to simply enter the subdomain. Do not put a period after the subdomain name.

Add CNAME type record The second method requires you to enter the entire hostname, followed by a period.


NS records specify the authoritative nameservers for the domain.

Important: Changing NS records may cause your site to stop working. There is generally no need to change NS records.

Entering a NS record

Enter two new nameservers records so they would exist like in table above. Be sure that the nameserver hostname is followed by a period, as in this example:

Add NS type record Add NS type record

Be sure to put a period after the nameserver hostname in a NS record ( and not ).


Free e-mail services such as require MX changes be made in order for their software to work. This change allows mail destined for your domain to be directed to their server. Please note that changing MX records may prevent your current POP3 accounts, forwarders, autoresponders, and mailing lists from functioning.

To add MX record type in the hostname, followed by a period, given to you by the e-mail provider. Then select the priority level (usually 10) from the dropdown box on the right. The priority level will also be given to you by the e-mail provider. Click "Add."

Add MX type record

Note: Be sure to put a period at the end of the hostname.

To restore the original MX settings, enter and priority 0 after deleting the other MX record.


Pointer records (PTR) are used for reverse lookups. For example, to make resolve to, the record would look like: PTR

Note: The IP address is reversed in the first field. Please use a period after your hostname (second field).

The “in-addr-arpa” method is the most frequently used.

Important: PTR records are effective only if your site has its own IP address.

Important: PTR records are only effective if named.conf is manually edited and the proper zone information is added. This can only be done by a root user (the server Admin).


Text records (TXT) are originally used for new types of information storing. This information could be any text. The record would look like:

Add TXT type record

Note: TXT is often used to set up Sender Policy Framework (SPF) record, which are used to validate legitimate email sources from a domain.

Add TXT type record


SRV records provide a standard way of allowing services to use different values, and for a program to determine what those connection values are.
Example: 86400 IN SRV 0 5 5060

The red portion goes onto the left side of the SRV record in DA, and the blue portion goes onto the right side (DA sets the TTL automatically for you)

The Red portion of the contains the service, protocol, and name, in that order, separated by the period '.' character.

In the above example, the values match up as follows:

  • service: _sip
  • protocol: _tcp
  • name:
  • priority: 0
  • weight: 5
  • port: 5060
  • target:

Note that the "name" value will always match the name of the zone. As such, these 2 left-side values are equivalent, and either could be used:

  • _sip._tcp

where any left-side value that does not end with a period '.' will have the zone name appended to the end.

The "target" value can be any domain value, but should resolve using an A or CNAME record. The same rule about the value ending in a period applies, and would be mandatory if the target is on a different domain name.

Other Records

There are more recrods which are disabled by default in DirectAdmin. However, you can enable them manually if you want to.


DNS Certification Authority Authorization (CAA) is an Internet security policy mechanism which uses resource records in the Domain Name System (DNS) to allow domain name holders to specify which certificate authorities are authorized to issue certificates for that domain, and which types of certificates they are able to issue.

You can manually enable CAA record in DirectAdmin by following this guide.


TLSA records are used to specify the keys used in a domain's TLS servers.

The TLSA record identification (record name) is made of of 3 parts:

  • Port number: The port number that the TLS server listens on.
  • Protocol: The protocol used (udp, tcp, sctp, or user defined).
  • Server host name: Host name of the TLS server.

You can manually enable TSLA record in DirectAdmin by following this guide.

Multi Server Setup

Multi Server setup let you share a copy of DNS zone to the server you add. In order to access setup page, click on the "Multi Server Setup" link in "Server Manager".

From there you will see list of your currently added servers. To add new server click on the "Add New Server" button.

Enter your server IP, port, Username and Password. Check that info is correct and click "Add" button.

You can find more information about how multi server dns clusterin works here.

add multi server

Need more help?

Please contact your hosting company for more assistance, or visit the DirectAdmin support forum at

Interested to try DirectAdmin? Get a 30-day Free Trial!