2.4 Explain common network configuration concepts
📘CompTIA A+ Core 1 (220-1201)
1. What is DNS? (Quick Refresher for the Exam)
DNS (Domain Name System) is a network service that:
- Converts domain names into IP addresses
- Allows computers and servers to find each other on a network
DNS works by using records, which are stored on a DNS server.
👉 For the exam, remember:
DNS = name resolution system
2. Common DNS Record Types (Very Important for A+)
2.1 A Record (Address Record)
Purpose:
Maps a domain name to an IPv4 address
Key points:
- Uses IPv4 format (32-bit)
- Very common DNS record
- Required for most websites and servers
Example (IT-based):
server.company.local → 192.168.1.10
Exam Tip:
If the question mentions IPv4, the answer is usually A record.
2.2 AAAA Record (Quad-A Record)
Purpose:
Maps a domain name to an IPv6 address
Key points:
- Uses IPv6 format (128-bit)
- Similar to A record, but for IPv6
Example:
server.company.local → 2001:db8::1
Exam Tip:
If the question mentions IPv6, choose AAAA record.
2.3 CNAME Record (Canonical Name)
Purpose:
Creates an alias for another domain name
Key points:
- Points one name to another name (not an IP)
- Useful when multiple services use the same main server
- The real IP is stored in the original record
Example:
app.company.local → server.company.local
Important Rule:
- A CNAME cannot point directly to an IP address
Exam Tip:
If the question says alias, the answer is CNAME.
2.4 MX Record (Mail Exchanger)
Purpose:
Specifies which mail server receives emails for a domain
Key points:
- Used only for email delivery
- Can have priority values
- Lower number = higher priority
Example:
company.com → mail.company.com (Priority 10)
Exam Tip:
Email delivery problems → check MX records.
2.5 TXT Record (Text Record)
Purpose:
Stores text-based information for verification and security
Key points:
- Flexible record type
- Commonly used for:
- Domain verification
- Email security (SPF, DKIM)
- Not used for IP mapping
Exam Tip:
If SPF or DKIM is mentioned, the answer is TXT record.
3. Email Spam Management Using DNS
Spam management uses DNS TXT records to verify that emails are legitimate.
This helps prevent:
- Email spoofing
- Phishing attacks
- Spam messages
4. Sender Policy Framework (SPF)
What SPF Does:
Defines which mail servers are allowed to send emails for a domain
How it Works:
- Stored as a TXT record
- Mail servers check SPF before accepting an email
Example Concept:
Only approved mail servers can send emails for company.com
Benefits:
- Blocks fake senders
- Reduces spam
Exam Tip:
SPF = Who is allowed to send email
5. DomainKeys Identified Mail (DKIM)
What DKIM Does:
Adds a digital signature to emails
How it Works:
- Uses encryption
- Public key stored in a TXT record
- Receiving server verifies the signature
Purpose:
- Confirms the email was not modified
- Confirms sender authenticity
Exam Tip:
DKIM = Email integrity and authenticity
6. How SPF and DKIM Work Together
| Feature | SPF | DKIM |
|---|---|---|
| Verifies sender | ✔️ | ✔️ |
| Uses TXT record | ✔️ | ✔️ |
| Prevents spoofing | ✔️ | ✔️ |
| Protects message content | ❌ | ✔️ |
Exam Summary:
- SPF checks sending server
- DKIM checks message authenticity
7. Quick Exam Comparison Table
| Record Type | Purpose |
|---|---|
| A | Domain → IPv4 |
| AAAA | Domain → IPv6 |
| CNAME | Alias to another name |
| MX | Mail server location |
| TXT | Text data (SPF, DKIM) |
8. Common Exam Scenarios (Very Important)
✔ Website not loading → Check A or AAAA record
✔ Email not arriving → Check MX record
✔ Email marked as spam → Check SPF / DKIM (TXT records)
✔ Multiple names for same server → Use CNAME
9. Key Exam Takeaways (Memorize This)
- DNS translates names to addresses
- A = IPv4, AAAA = IPv6
- CNAME = alias
- MX = email routing
- TXT = SPF and DKIM
- SPF allows mail servers
- DKIM verifies message authenticity
