Cloud Foundations · 8 min read · Intermediate
DNS Records, Domains & Subdomains
Configure `A`, `AAAA`, `CNAME`, `MX`, and `TXT` records without breaking live traffic or email.
What you'll learn
- Use `A` records for IPv4 addresses and `CNAME` for aliases
- Verify live DNS propagation with `dig +short domain.com`
- Keep email `MX`/`SPF`/`DKIM` records untouched when moving web hosting
Overview
Configure A, AAAA, CNAME, MX, and TXT records without breaking live traffic or email.
Code Example
# Point devpath.jpsoriano.dev to your VPS IPv4 address
Type: A
Name: devpath
Value: 159.65.135.59
TTL: 300
Key Takeaways
- Use
Arecords for IPv4 addresses andCNAMEfor aliases - Verify live DNS propagation with
dig +short domain.com - Keep email
MX/SPF/DKIMrecords untouched when moving web hosting
Quick Check
Check Your Understanding
Score: 0 / 1
1. Which DNS record maps a hostname like `api.example.com` directly to an IPv4 address?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.