🎓 BookMCQ
← Back to 26. Standard Client Server Protocols

📝 DNSSEC and DNS security threats (10 MCQs)

Authenticating DNS Data with DNSSEC

DNS Security Extensions (DNSSEC) add cryptographic origin authentication and integrity protection to DNS data. They allow a validating resolver to check that records came from the expected signed zone and were not altered in transit. DNSSEC does not encrypt ordinary DNS queries or hide the names users request, and it does not secure the application reached. Its distributed structure avoids reliance on one central database for every Internet name worldwide.

DNSKEY, RRSIG, DS and Authenticated Denial

A DNSKEY record publishes a zone's public signing key, while RRSIG records carry signatures over resource-record sets. DS records establish authenticated links from a parent zone to a child zone. NSEC or NSEC3 mechanisms can provide authenticated evidence that a queried name or record type does not exist. Record types let different network services publish information in a common naming system.

Validation Through the DNS Trust Chain

A validating resolver receives a DNS answer and its associated signatures. It builds a chain of trust from a configured trust anchor through parent and child delegations, checks DS and DNSKEY relationships, and verifies RRSIG signatures. If validation succeeds, the data is authenticated; if it fails, the resolver can report a validation error.

Checking a Signed DNS Answer

A resolver queries for www.example.com and receives an A record with an RRSIG, plus the DNSKEY and DS material needed for validation. It verifies the signature using the zone key and follows the chain to a trusted parent. Successful validation supports confidence that the returned address is authentic and unmodified.

DNSSEC Protection and Remaining Threats

DNSSEC helps defend against forged DNS data and cache-poisoning attacks by making unauthorized changes detectable. It does not prevent denial-of-service attacks, conceal query contents or ensure that a signed website is harmless. TLS still protects web communication, and operational security is needed for private signing keys and authorized zone updates.

Misconceptions About DNSSEC Security

'DNSSEC encrypts DNS traffic' is false because its main services are data-origin authentication and integrity. 'A valid DNSSEC signature proves a website is safe' is incorrect because it authenticates DNS data, not site behavior. 'DNSSEC removes every spoofing and denial-of-service risk' overstates its scope; availability attacks and compromised keys remain concerns.

Interpreting Signatures, Validation and DNS Attacks

Identify DNSKEY, RRSIG and DS by function, and explain how a chain of trust supports validation. Distinguish authenticated denial from an ordinary negative answer. Compare DNSSEC with TLS: DNSSEC authenticates DNS data, while TLS protects a communication session. In threat questions, connect cache poisoning with forged answers and DNSSEC validation failures.

DNSSEC Validation and Security Terms

  • DNSSEC - Authenticates DNS data cryptographically.
  • DNSKEY - Publishes a zone's public key.
  • RRSIG - Carries signatures over DNS record sets.
  • DS - Links a child key to its parent.
  • Trust anchor - Starting key for DNS validation.
  • Cache poisoning - Attempts to insert false DNS answers.
3
Easy
5
Medium
2
Hard

📝 All DNSSEC and DNS security threats MCQs

Q1. If an attacker successfully poisons a DNS resolver’s cache with a forged record mapping www.bank.com to 192.0.2.5, what is the most immediate effect on a user who later types www.bank.com in their browser?

A.The browser will display a DNS error
B.The browser will connect to 192.0.2.5 ✅
C.The DNS server will block the request
D.The connection will be encrypted with the original certificate
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The poisoned cache causes the resolver to return the forged IP address. When the user requests www.bank.com, the browser receives 192.0.2.5 and attempts to establish a TCP connection to that host, regardless of the legitimate site’s certificate. This direct redirection is the immediate observable effect of cache poisoning.

Q2. Which of the following is NOT directly provided by DNSSEC?

A.Data origin authentication
B.Data integrity
C.Protection against cache poisoning
D.Confidentiality of query data ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: DNSSEC adds cryptographic signatures to DNS records, enabling resolvers to verify that data originates from the authoritative source and has not been altered, which covers authentication, integrity, and mitigates cache poisoning. However, it does not encrypt the queries or responses, so confidentiality of the DNS traffic is not a feature of DNSSEC.

Q3. An open DNS resolver is used in a reflection attack that sends queries with a spoofed source IP of a victim. If each query elicits a response of 500 bytes while the query itself is only 50 bytes, what amplification factor does the attacker achieve?

A.10 ✅
B.5
C.0.1
D.100
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: The amplification factor is calculated by dividing the size of the response by the size of the request: 500 bytes50 bytes=10\frac{500\text{ bytes}}{50\text{ bytes}} = 10. This means the attacker can generate ten times more traffic toward the victim than the amount they send to the open resolver, a classic DDoS amplification technique.

Q4. Which statement best differentiates DNS over HTTPS (DoH) from DNS over TLS (DoT) in terms of network visibility?

A.DoH encrypts queries but still uses UDP
B.DoT hides DNS traffic inside standard TLS port 443
C.DoH disguises DNS as regular HTTPS traffic, making it harder to block ✅
D.DoT provides no encryption
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: DoH tunnels DNS queries inside HTTPS connections, typically over port 443, which blends with ordinary web traffic and can bypass network filters that allow HTTPS. DoT, on the other hand, uses TLS directly on a dedicated port (853), making its traffic more identifiable to monitoring tools. Hence, the primary visibility difference is DoH’s camouflage within normal HTTPS.

Q5. If a DNS server disables recursive queries for external clients, which of the following outcomes is most likely?

A.The server becomes vulnerable to cache poisoning
B.Internal clients lose access to the internet
C.All external lookups succeed faster
D.External clients must query authoritative servers directly ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: Disabling recursion for external clients means the server will no longer follow referrals to obtain answers on their behalf. Consequently, external users must send queries directly to the authoritative name servers for the zones they need, increasing their workload but preventing the server from being abused as an open resolver. The other options describe unrelated effects.

Q6. When a resolver validates a DNSSEC‑signed zone, which of the following must be present to establish a complete chain of trust?

A.Only the zone’s DS record
B.Only the parent zone’s DNSKEY
C.The zone’s DNSKEY and a matching DS record in the parent ✅
D.No additional records, as DNSSEC works without a chain
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: A full DNSSEC validation requires the zone’s DNSKEY record, which contains the public key used to verify its signatures, and a Delegation Signer (DS) record in the parent zone that links the child’s key to the parent’s trust anchor. The resolver checks that the DNSKEY matches the DS, then continues up the hierarchy to the root key, establishing an unbroken chain of trust.

Q7. Applying the principle of least privilege to DNS administration, which practice most reduces the risk of unauthorized zone modifications?

A.Using role‑based access control to limit write rights to specific zones ✅
B.Granting all admins write access to every zone
C.Storing zone files on a publicly accessible web server
D.Disabling logging of DNS changes
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Role‑based access control (RBAC) allows administrators to be assigned only the permissions necessary for their duties. By restricting write privileges to the zones they manage, the chance that a compromised account or insider inadvertently modifies an unrelated zone is minimized. Broad write access or insecure storage dramatically increase exposure, while logging is a detection rather than prevention measure.

Q8. How does DNS‑based Authentication of Named Entities (DANE) leverage DNSSEC to improve TLS certificate validation?

A.DANE replaces DNSSEC signatures with TLS handshakes
B.DANE encrypts DNS queries to hide certificate data
C.DANE disables certificate authorities entirely
D.DANE uses DNSSEC‑validated TLSA records to bind certificates to domain names ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: DANE defines TLSA records that specify expected TLS certificate or public key information for a service. Because these TLSA records are secured by DNSSEC, a resolver can trust that the information has not been tampered with. This allows clients to verify that the presented certificate matches the DNS‑published expectation, augmenting or even replacing traditional CA‑based validation.

Q9. During a ZSK rollover, a resolver receives both the old and new DNSKEY records signed with the same RRSIG. Which of the following best explains why the resolver can still validate the zone?

A.The resolver validates signatures with any key listed in the DNSKEY RRset as long as at least one matches the DS ✅
B.The resolver trusts the newer key because of its later inception date
C.The resolver discards the old key and uses only the new one
D.The resolver cannot validate until the old key is removed
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: In a rollover, both the old and new DNSKEY records are published simultaneously, and the DS record in the parent zone points to the key set as a whole. As long as at least one of the DNSKEYs in the RRset matches the DS, the resolver can verify the RRSIGs. This overlapping period ensures continuous validation while the new key becomes active.

Q10. What does the acronym 'DNSSEC' stand for?

A.Domain Name System Secure
B.Domain Name System Security Extensions ✅
C.Distributed Network System Encryption
D.Data Network Service Encryption
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: DNSSEC stands for Domain Name System Security Extensions. It is an add‑on to the original DNS protocol that introduces digital signatures and a chain of trust, allowing resolvers to verify the authenticity and integrity of DNS data. The other options are common misconceptions but do not reflect the official terminology.

🔗 Related Topics (MCQs)