Understanding DNS Record Types
A Record
Points a domain to an IPv4 address.
โขExample: yourdomain.com โ 192.168.1.1
โขUse case: Point domain to your web server
AAAA Record
Points a domain to an IPv6 address.
โขExample: yourdomain.com โ 2001:db8::1
CNAME Record
Creates an alias pointing to another domain.
โขExample: www.yourdomain.com โ yourdomain.com
โขUse case: Subdomain aliases, CDN configuration
MX Record
Routes email to your mail server.
โขExample: yourdomain.com โ mail.yourdomain.com (priority: 10)
โขUse case: Google Workspace, Microsoft 365, custom email
TXT Record
Stores text data for verification and security.
โขUse case: SPF records, DKIM, domain verification
NS Record
Specifies nameservers for your domain.
โขUse case: Delegating DNS to another provider
Step-by-Step: Point Domain to a Server
1.Go to Dashboard โ DNS Management
2.Select your domain
3.Click "Add Record"
4.Choose type: A
5.Name: @ (for root domain) or a subdomain
6.Value: Enter your server's IP address
7.TTL: 3600 (1 hour) recommended
8.Click "Save"
Step-by-Step: Set Up Email (Google Workspace)
Add the following MX records:
| Priority | Value |
|---|---|
| 1 | ASPMX.L.GOOGLE.COM |
| 5 | ALT1.ASPMX.L.GOOGLE.COM |
| 5 | ALT2.ASPMX.L.GOOGLE.COM |
| 10 | ALT3.ASPMX.L.GOOGLE.COM |
| 10 | ALT4.ASPMX.L.GOOGLE.COM |
DNS Propagation
Changes may take up to 24-48 hours to propagate globally, though usually it's 1-4 hours.
Tips
โขAlways set up both @ and www records
โขUse lower TTL (300) when testing, higher TTL (3600+) for production
โขAdd SPF and DKIM records to prevent email spam