Knowledge Base

DNS Management in Enhance

DNS (Domain Name System) is like the internet's phone book - it translates friendly domain names into the IP addresses computers actually use. Let's demystify it!

Understanding DNS Records

Before we dive in, here's a quick primer on the different types of DNS records:

Record Type Purpose Example
A Points a domain to an IPv4 address yourdomain.com → 192.168.1.1
AAAA Points a domain to an IPv6 address yourdomain.com → 2001:0db8::1
CNAME Creates an alias to another domain www → yourdomain.com
MX Specifies mail servers mail.yourdomain.com (priority 10)
TXT Holds text information (SPF, DKIM, verification) v=spf1 include:...
NS Specifies nameservers ns1.yourdomain.com
SRV Service records for specific applications Used for VoIP, XMPP, etc.
CAA Specifies which CAs can issue SSL certificates 0 issue "letsencrypt.org"

Accessing DNS Management

  1. Navigate to Websites > Your Domain
  2. Click DNS or DNS Zone
  3. You'll see all existing DNS records

[SCREENSHOT: The DNS management interface showing a list of DNS records with type, name, and value columns]

Adding DNS Records

Adding an A Record

This points your domain (or subdomain) to an IP address:

  1. Click + Add Record
  2. Select A as the record type
  3. Enter the name:
    • Leave blank or use @ for the root domain
    • Enter blog for blog.yourdomain.com
  4. Enter the IPv4 address
  5. Set TTL (Time to Live) - 3600 seconds (1 hour) is a good default
  6. Click Save

[SCREENSHOT: Add A record form with name, IP address, and TTL fields]

Adding a CNAME Record

This creates an alias pointing to another domain:

  1. Click + Add Record
  2. Select CNAME
  3. Enter the name (e.g., www)
  4. Enter the target domain (e.g., yourdomain.com)
  5. Save the record

Important: You cannot have a CNAME record for the root domain (@). Use an A record instead, or an ALIAS record if available.

Adding MX Records

Mail Exchange records tell the internet where to deliver your email:

  1. Click + Add Record
  2. Select MX
  3. Leave name blank for the root domain
  4. Enter the mail server address (e.g., mail.yourdomain.com)
  5. Set the priority (lower numbers = higher priority)
  6. Save

Typical MX setup:

Priority 10: mail.yourdomain.com
Priority 20: backup-mail.yourdomain.com (if you have backup mail)

[SCREENSHOT: MX record configuration with priority and mail server fields]

Adding TXT Records

Text records are used for domain verification, email authentication, and more:

  1. Click + Add Record
  2. Select TXT
  3. Enter the name (or @ for root domain)
  4. Enter the text value (copy exactly from your provider)
  5. Save

Essential Email DNS Records

To ensure your emails actually arrive (and don't end up in spam), you need three important TXT records:

SPF Record (Sender Policy Framework)

Tells receiving servers which servers are allowed to send email from your domain:

Name: @ (or blank)
Type: TXT
Value: v=spf1 include:_spf.yourdomain.com ~all

DKIM Record (DomainKeys Identified Mail)

Adds a digital signature to your emails:

Name: default._domainkey (or as provided)
Type: TXT
Value: v=DKIM1; k=rsa; p=MIGfMA0GCS... (your public key)

DMARC Record (Domain-based Message Authentication)

Tells receiving servers what to do with emails that fail SPF/DKIM checks:

Name: _dmarc
Type: TXT
Value: v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com

[SCREENSHOT: Example showing SPF, DKIM, and DMARC TXT records in the DNS zone]

Adding Subdomains

Want shop.yourdomain.com or app.yourdomain.com? Here's how:

Option 1: A Record

Point the subdomain directly to an IP:

  1. Add an A record
  2. Name: shop
  3. Value: Your server's IP address

Option 2: CNAME Record

Point the subdomain to your main domain (useful if your IP might change):

  1. Add a CNAME record
  2. Name: shop
  3. Value: yourdomain.com

Editing DNS Records

  1. Find the record in your DNS zone
  2. Click the Edit button (pencil icon)
  3. Make your changes
  4. Click Save

[SCREENSHOT: Editing a DNS record with the edit modal open]

Deleting DNS Records

  1. Find the record to delete
  2. Click the Delete button (trash icon)
  3. Confirm the deletion

Warning: Deleting essential records (like MX records) will break email delivery. Make sure you know what you're doing!

DNS Propagation

After making DNS changes, they don't take effect instantly. DNS propagation can take anywhere from a few minutes to 48 hours, depending on:

  • TTL values of existing records
  • DNS caching by various servers worldwide
  • Your ISP's DNS refresh rate

Checking Propagation

Use these tools to check if your DNS changes have propagated:

  • whatsmydns.net - Check propagation globally
  • dnschecker.org - Another global checker
  • Command line: dig yourdomain.com or nslookup yourdomain.com

Troubleshooting DNS Issues

"Website Not Loading"

  1. Check your A record points to the correct IP
  2. Verify the record has propagated
  3. Make sure there's no CNAME on the root domain

"Email Not Working"

  1. Verify MX records are correct
  2. Check MX priority (should be 10, 20, etc., not 0)
  3. Ensure mail server hostname resolves to an IP

"SSL Certificate Won't Issue"

  1. Check A record is pointing to your server
  2. Verify CAA records aren't blocking Let's Encrypt
  3. Make sure domain propagation is complete

"Subdomain Not Working"

  1. Confirm A or CNAME record exists for the subdomain
  2. Check for typos in the record name
  3. Wait for DNS propagation

Using External DNS

If you're using external DNS providers (like Cloudflare, Route53, or your registrar's DNS):

  1. Find your server's IP address in Enhance
  2. Add the appropriate records in your external DNS provider
  3. For websites: Add A records pointing to your server IP
  4. For email: Add MX records pointing to your mail server

Next Steps: Keep your data safe with our Backups Guide.

Please rate this article to help us improve our Knowledge Base.

0 0