Skip to main content

How to configure DNS on HostGator

Configure NS records on HostGator

Written by Erico Azevedo

In this article, you will learn how to make the DNS configuration needed for good deliverability and to meet the authentication requirements of email providers.

We will split this into two steps: first you configure the record on your edrone platform, and then you add that record on HostGator.


Step 1 - Configuring your DNS records in edrone

Go to your edrone dashboard and open SETTINGS > INTEGRATION > SENDING DOMAIN.

  1. If you have not added your domain yet, click Add domain.

  2. Click Configure DNS records, then Go to DNS configuration.

  3. By default, edrone will now show you the recommended NS records to configure your sending subdomain.

Tip: unlike the previous process, you no longer need to add SPF, DKIM, and DMARC entries manually one by one. You only need to add the NS records shown by edrone.


Step 2 - Adding the records on HostGator

First, open the DNS zone for your domain. You can get there in two ways - use whichever one you have access to:

  • Client Portal: go to Domínios > Configurar Domínio > Editar Zona Avançada de DNS, then continue to the DNS zone.

  • cPanel: search for Zone Editor, then click Gerenciar (Manage) next to the domain you want to configure.

Once you are in the DNS zone, add the records edrone showed you in Step 1:

  1. Click Adicionar Registro (Add Record).

  2. Fill in the fields using this mapping, for each record edrone shows you:

    • Tipo: the type edrone indicates (NS, or CNAME/TXT if you are using the fallback option below).

    • Nome / Host: the name shown in edrone's highlighted (yellow) field, for example messages.yourshop.com.br.

    • Classe: keep the default, IN.

    • TTL: keep the default value (for example, 14400).

    • Valor: the matching value shown by edrone.

  3. Paste each value exactly as shown, with no leading or trailing spaces.

  4. Repeat this for every record edrone shows you. With the NS model, you will normally add 8 records in total: 4 records for your transactional subdomain (same Name, for example messages.yourshop.com.br, with a different Value each) and 4 records for your marketing subdomain (same Name, for example newsletter.yourshop.com.br, with a different Value each).

  5. Go back to the edrone dashboard and click Verify records to validate the configuration.

If you have questions about how to add records in your HostGator panel, please contact HostGator support.

Keep in mind that propagation may take up to 48 hours.


What if my DNS provider does not support NS records

Some DNS providers do not allow adding NS records for subdomains. If that happens on HostGator, click the I can not configure NS records button inside the edrone DNS configuration dialog. You will switch to an alternative configuration using standard DNS records, such as CNAME and TXT. Add these using the same steps and field mapping from Step 2 above - you will just choose CNAME or TXT in the Tipo field instead of NS. If your provider starts supporting NS records later on, you can always switch back to the recommended configuration by clicking Use recommended records.

You can find the full walkthrough in the article How to verify your domain if your provider does not support NS records.

If you choose the alternative configuration with standard records, these HostGator references can help (Portuguese only):

  • Configuring the SPF entry in HostGator - see here

  • How to create or change A, MX, TXT, CNAME and other records in the DNS zone - see here


Need more help

If you have any further questions about email deliverability, please do not hesitate to contact us at hello@edrone.me

Did this answer your question?