DNS (Domain Name System) controls how your domain connects to your website, email, and other services.
This guide explains DNS records in simple terms and shows how to manage DNS using DigitalOcean and Cloudflare.
๐ง Understanding DNS Records (Simple Explanation)
DNS records tell the internet what to do with your domain.
๐น A Record (Most Important)
-
Connects your domain to a server IP address
-
Used to load your website
Example:
-
example.com โ 192.0.2.1
๐ Without a correct A record, your website wonโt load.
๐น CNAME Record
-
Points one domain to another domain
-
Commonly used for subdomains
Example:
-
www.example.com โ example.com
๐น MX Record (Email)
-
Controls where your emails are delivered
-
Required for email services to work
Example:
-
Routes email to ecHOST mail servers
๐น TXT Record
-
Used for verification and security
-
Required for:
-
SPF
-
DKIM
-
DMARC
-
Google verification
-
๐งพ Common DNS Records Used with ecHOST
| Record Type | Purpose |
|---|---|
| A | Connect the website to the ecHOST server |
| CNAME | Redirect subdomains |
| MX | Email routing |
| TXT | Email security & verification |
๐ข Managing DNS via DigitalOcean
DigitalOcean provides free and reliable DNS management.
๐น Step 1: Add Domain to DigitalOcean
-
Log in to DigitalOcean
-
Go to Networking โ Domains
-
Click Add Domain
-
Enter your domain name
-
Enter the ecHOST server IP
๐น Step 2: Update Nameservers
At your domain registrar, update nameservers to:
-
ns1.digitalocean.com
-
ns2.digitalocean.com
-
ns3.digitalocean.com
๐น Step 3: Add DNS Records
Add the following records:
A Record
-
Host:
@ -
Value: ecHOST Server IP
CNAME Record
-
Host:
www -
Value:
@
MX Records
-
Provided by ecHOST (for email)
TXT Records
-
SPF, DKIM, DMARC as required
๐ต Connecting Domains Using Cloudflare DNS
Cloudflare adds DNS management, security, and performance benefits.
๐น Step 1: Add Domain to Cloudflare
-
Sign up at Cloudflare
-
Add your domain
-
Cloudflare will scan existing DNS records
๐น Step 2: Update Nameservers
Cloudflare will provide nameservers like:
-
abby.ns.cloudflare.com
-
mark.ns.cloudflare.com
Update these nameservers at your domain registrar.
๐น Step 3: Configure DNS Records
A Record
-
Type: A
-
Name:
@ -
IP Address: ecHOST server IP
-
Proxy status: DNS Only (Grey Cloud)
CNAME Record
-
Name:
www -
Target:
@
๐น Step 4: Email DNS Records
Add MX and TXT records provided by ecHOST to avoid email issues.
โ ๏ธ Important: Do not enable proxy (orange cloud) for mail-related records.
๐ Important DNS Tips
โ DNS changes take up to 24 hours
โ Avoid deleting MX records if you use email
โ Always double-check IP addresses
โ Keep TTL default unless needed
โ Frequently Asked Questions
Q: What happens if DNS records are wrong?
Your website or email may stop working.
Q: Should I use Cloudflare with ecHOST?
Yes, Cloudflare improves security and performance.
Q: Can ecHOST manage DNS for me?
Yes, if you use ecHOST nameservers.