DNS Settings

From the main User menu, navigate to Account Manager → select the “DNS Management” link. You will see a page that looks like this:

WeKnow Directadmin

The DNS Management allows you to modify the DNS settings of any domain name hosted on the server.


Changing DNS Settings

Click on the “pencil” icon next to the Record you want to edit.


DNS Tutorial

DNS (Domain Name Servers) tell computers how to find each other over Internet. When you type an address in your browser, your ISP (Internet Service Provider) checks with it’s domain name server (DNS) to determine where to send you. —> Check with DNS —> DNS says = —> You are taken to website.

Why does this happen?

It happens because your domain name won’t always have the same IP address. Each server on the Internet has an IP address (a numerical address like a phone number). Every time you change web hosts, you are changing servers (and therefore changing IP addresses).

Domain name servers keep a record of your domain name and what IP address (server) it should point to.

Why must I put my web host’s name servers (DNS) in my domain record?

As you learned above, name servers tell the Internet how to find you. When you edit the name servers in your domain record, you are telling the Internet which name server provides the most up-to-date directions. If you don’t change the name servers in your domain record (let’s say you use your old web host’s DNS), then your web site will point to a server that isn’t hosting your domain. Or, if the old web host deleted you from their DNS, your domain wouldn’t work at all.

Why does it take so long for my site to start working?

When you change web hosts (addresses) or register a domain for the first time, the new DNS information has to reach every other name server (DNS) on the Internet. Your site may work in as few as 4 hours, but the average waiting time is 24-72 hours. This delay occurs because most name servers (DNS) choose to periodically check for updates. That is, they aren’t “live.” Periodic checking is done because constant checking often slows down the server.

Why is my domain pointing to my old host, even though I cancelled my account with them?

There could be several reasons for this:

1. Their name servers are still in your domain record.

Solution: Update your domain record with your new web host’s name servers (DNS).

2. They haven’t removed your domain record from their name servers.
Solution: Ask them to remove your domain record, or follow the solution in #1 if you have a new web host.

3. DNS propagation hasn’t taken place yet. This will happen even with your new web host’s DNS in your domain record.
Solution: Wait 24-72 hours and contact your new web host if the problem persists.

Why can some people reach my new site but I can’t?
Their ISP has more up-to-date DNS records than your ISP. Be patient, as your new site will appear within 24-72 hours.

Is there some way to view/access my site even though the DNS hasn’t changed yet?

Yes. You may access your site at http://ip.address/~username and you may access the control panel at http://ip.address/config. If you don’t know the IP address of the server, please ask your web host for it.

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


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:


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


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:


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


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


NS records specify the authoritative nameservers for the domain.

Entering a NS record

The first step is to delete the old NS records from the table above.

Then, enter two new nameservers records. Be sure that the nameserver hostname is followed by a period, as in this example:


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


Free e-mail services such as require that 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 will prevent your current POP3 accounts, forwarders, autoresponders, and mailing lists from functioning.

To change the MX record, first access (as an User) the “E-Mail Manager” from the control panel. Then, select the “MX Records” link.


First, delete the old MX record by clicking the checkbox above to the record name and click “Delete”” There should now be no MX records listed.

Next, 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.”

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. In most cases you need to contact your hosting provider to set the correct PTR record for your domain. For correct working of all outgoing email this is very important!

Example DNS Records

View here an example of most common DNS Records from a webserver with DirectAdmin as Control Panel.

Need more help?

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