๐ Naming and DNS Security, DNSSEC โ Exam Notes (Network Security)
๐ 1. Introduction to Naming System
๐น Domain Name System (DNS)
The Domain Name System (DNS) is a hierarchical naming system that translates:
- Domain names (e.g., google.com) โ IP addresses (e.g., 142.250.x.x)
๐ Simple idea:
DNS works like the phonebook of the internet.
๐ฏ 2. Why DNS is Important?
- Humans use names, computers use IP addresses
- DNS makes internet navigation easy
- Supports websites, email, and online services
โ ๏ธ 3. DNS Security Issues (Threats)
DNS is a critical target for attackers because it controls internet naming.
๐ธ 1. DNS Spoofing / Cache Poisoning
- Fake DNS data is inserted into cache
- Users are redirected to malicious websites
๐ธ 2. DNS Hijacking
- Attacker changes DNS settings
- Users are redirected without knowledge
๐ธ 3. DDoS on DNS Servers
- Overloads DNS servers
- Makes websites unreachable
๐ธ 4. DNS Tunneling
- Uses DNS queries to secretly transfer data
- Used for data theft or malware communication
๐ 4. DNS Security Goals
- Ensure data integrity (no tampering)
- Ensure authenticity (correct source)
- Prevent spoofing attacks
- Maintain availability of DNS service
๐ก๏ธ 5. DNS Security Measures
๐น 1. Secure DNS Configuration
- Restrict zone transfers
- Disable open recursion
๐น 2. Firewalls
- Filter malicious DNS traffic
๐น 3. Monitoring and Logging
- Detect unusual DNS behavior
๐น 4. Encryption (DNS over HTTPS / TLS)
- Protect DNS queries from interception
๐ 6. What is DNSSEC?
๐น Definition
DNSSEC (Domain Name System Security Extensions) is a set of security protocols that adds cryptographic protection to DNS to ensure data is authentic and untampered.
๐ Simple idea:
DNSSEC adds a digital signature to DNS data.
๐ฏ 7. Objectives of DNSSEC
- Verify DNS data authenticity
- Prevent DNS spoofing and cache poisoning
- Ensure data integrity
- Build trust in DNS responses
๐ 8. How DNSSEC Works
DNSSEC uses public key cryptography.
Steps:
- DNS record is created
- A digital signature (RRSIG) is generated
- Public key is stored in DNS
- Resolver checks signature before trusting data
- If valid โ accept response
If invalid โ reject response
๐ 9. Key Components of DNSSEC
๐น 1. Zone Signing Key (ZSK)
- Signs DNS records in a zone
๐น 2. Key Signing Key (KSK)
๐น 3. RRSIG Record
๐น 4. DNSKEY Record
๐น 5. DS Record (Delegation Signer)
- Links parent and child zones
๐ง 10. DNSSEC Validation Process
- Resolver requests domain
- Receives DNS response + signature
- Checks signature using public key
- Valid โ data accepted
- Invalid โ data rejected
โ ๏ธ 11. Limitations of DNSSEC
- Does NOT provide encryption (only authentication)
- Complex to implement
- Requires key management
- Slight performance overhead
๐ผ๏ธ 12. Diagram Descriptions
๐ DNS Resolution Flow
- User โ DNS Resolver โ Root โ TLD โ Authoritative Server โ IP
๐ DNSSEC Validation
- DNS Response โ Signature Check โ Accept/Reject
๐ DNS Attack vs DNSSEC Protection
- Attack: Fake response injected
- DNSSEC: Signature verification blocks it
๐งพ 13. Real-Life Examples
- ๐ Secure websites using DNSSEC-enabled domains
- ๐ฆ Banks preventing fake website redirection
- ๐ง Email systems verifying domain authenticity
- ๐ข Government websites using DNSSEC for protection
๐ Likely Exam Questions
- Define DNS and its importance.
- What are common DNS security threats?
- Explain DNS spoofing and cache poisoning.
- What is DNSSEC?
- Explain working of DNSSEC with diagram.
- What are components of DNSSEC?
- Differentiate between DNS and DNSSEC.
- What are advantages and limitations of DNSSEC?
- How does DNSSEC prevent attacks?
- Write short notes on:
- DNS hijacking
- DNS tunneling
- RRSIG and DNSKEY
๐ Quick Summary / Conclusion
- DNS translates domain names to IP addresses.
- It is vulnerable to attacks like spoofing, hijacking, and DDoS.
- DNS security focuses on integrity, authenticity, and availability.
- DNSSEC adds cryptographic signatures to protect DNS data.
- It ensures users reach the real and trusted website, not fake ones.
๐ In short:
DNSSEC strengthens DNS by adding digital signatures, preventing tampering and ensuring secure domain name resolution.