Skip to content DNS tutorial for

namecheap dns tutorial for

Configuring your Namecheap DNS setup for your account should not be complicated if you have a fair understanding of how to configure a DNS zone.

In short, we will need:

  • A TXT record for the SPF entry of the main domain used to include server. This entry is used for domain authentication.
  • A TXT record for the SPF entry of the subdomain used in your account
  • An A record for the subdomain used in your account
  • An MX record for the subdomain used in your account
  • A TXT record for the public DKIM key

Other support entries may be required but since every DNS setup is different and you may be using additional mailing servers we cannot specify an entry.

Other support records may include:

  • A TXT record DMARC record.
  • A TXT record for the main domain SPF record. We also suggest adding servers in here.
  • An MX record for your mail server
  • An A record for your main domain also named as (@)
  • A TXT record for your main server DKIM
  • Any other required subdomain, CNAME, etc…

Adding up your settings to your Namecheap DNS

For our example, we will be sending emails using the domain name:

Add your Dashboard click on top menu item “Settings”


A screen will open showing a list of your DNS entries required for your account:


The above Authentication Details are the DNS records you need to add to your Namecheap DNS interface.

Then, proceed to enter these details at your DNS management interface by clicking on “MANAGE” for your domain name:

namecheap dns

You will get a screen with your current DNS zone.

advanced dns

Proceed to enter your new DNS records by clicking “ADD NEW RECORD”:

add new record

Insert A record for your subdomain to point to your provided IP address. Make sure to replace the IP address to the one we have provided in your settings. In our example the subdomain is msdbu:

a record at namecheap

Then, add a TXT record for your main domain (host @) as v=spf1 +a +mx ~all. Advise that if you have any other email server it should be listed here. You can learn more at How to fix your SPF record shown at the anti-spam check

main domain spf

Then, add a TXT record for you subdomain SPF record:

subdomain spf
spf txt record at namecheap

Then, add a TXT record for your public DKIM key for your subdomain. As for the host, we are going to use: default._domainkey.msdbu

Replace msdbu with your subdomain:

DKIM TXT record at namecheap

Following, add an MX entry for your subdomain. This setting is managed under the “MAIL SETTINGS” section as shown below:

namecheap MX record

Then, enter the MX record as:

MX Record for host msdbu with value and a priority of 10. All TTL can be set as “Automatic”

mx setting at namecheap

Finally, Update any other support DNS entry depending on your needs and allow up to 24 hours for DNS propagation. Once DNS propagation is completed you can start sending emails to your contacts.

Leave a Reply

Your email address will not be published. Required fields are marked *