nerdexam
GIAC

GSLC · Question #568

Which of the following firewall rules only denies DNS zone transfers?

The correct answer is C. deny tcp any any port 53. DNS zone transfers use TCP port 53 for large data transfers, so a rule denying TCP on port 53 blocks only zone transfers while leaving normal UDP-based DNS queries unaffected.

Security Architecture & Engineering

Question

Which of the following firewall rules only denies DNS zone transfers?

Options

  • Adeny udp any any port 53
  • Bdeny ip any any
  • Cdeny tcp any any port 53
  • Ddeny all dns packets

How the community answered

(20 responses)
  • A
    10% (2)
  • B
    5% (1)
  • C
    80% (16)
  • D
    5% (1)

Why each option

DNS zone transfers use TCP port 53 for large data transfers, so a rule denying TCP on port 53 blocks only zone transfers while leaving normal UDP-based DNS queries unaffected.

Adeny udp any any port 53

Denying UDP on port 53 would block standard DNS query and response traffic, not zone transfers, because normal DNS lookups use UDP port 53.

Bdeny ip any any

Denying all IP traffic from any source to any destination would block all network communication entirely, which is far broader than only blocking DNS zone transfers.

Cdeny tcp any any port 53Correct

DNS zone transfers are conducted over TCP port 53 because the full zone data often exceeds the 512-byte limit of UDP DNS packets, requiring the reliability of TCP. Denying TCP traffic on port 53 specifically targets zone transfer requests without disrupting standard DNS name resolution, which relies on UDP port 53. This makes it the precise and correct rule to block only zone transfers.

Ddeny all dns packets

'deny all dns packets' is not valid or standard firewall rule syntax, and even conceptually it would block all DNS traffic indiscriminately, not just zone transfers.

Concept tested: Firewall rule blocking DNS zone transfers via TCP port 53

Source: https://www.rfc-editor.org/rfc/rfc5936

Topics

#firewall rules#DNS zone transfers#TCP vs UDP#port 53

Community Discussion

No community discussion yet for this question.

Full GSLC Practice