Soru

Zorluk: OrtaFirewalls and Access Control Lists (ACLs)

A network engineer configures an extended Access Control List (ACL) on an enterprise edge router to allow internal workstations on the subnet 10.100.4.0/2410.100.4.0/24 to perform domain name queries against an external DNS server at IP address 8.8.8.88.8.8.8. The engineer enters the following rule on the outbound interface:

`permit udp 10.100.4.0 0.0.0.255 host 8.8.8.8 eq 53`

Users report that basic DNS lookups succeed, but certain applications fail when DNS response payloads exceed 512512 bytes or when performing DNSSEC lookups that require switching transport protocols. Which modification to the ACL configuration will resolve this issue while adhering to the principle of least privilege?

  1. Add a complementary extended ACL rule permitting TCP traffic from subnet 10.100.4.0/24 to host 8.8.8.8 on destination port 53.Cevap
  2. B
    Modify the existing ACL rule to permit IP protocol traffic instead of UDP to automatically encompass both transport layer protocols.
  3. C
    Change the match criteria in the existing rule from destination port 53 to source port 53 so return traffic is permitted through the router.
  4. D
    Remove the default implicit deny rule from the interface configuration so unassigned TCP traffic bypasses filtering.

Cevap

Add a complementary extended ACL rule permitting TCP traffic from the internal subnet to the external DNS server IP address on destination port 53.
DNS relies on both UDP and TCP transport protocols on destination port 53. Standard DNS queries less than 512 bytes use UDP. However, when queries exceed 512 bytes or utilize DNSSEC extensions, DNS automatically switches to TCP port 53. Adding an explicit rule permitting TCP port 53 to the destination host resolves fallback issues while strictly limiting access according to least privilege.

Adım Adım Çözüm

1
Analyze transport protocol dependencies for DNS operations.
DNS uses UDP port 53 for typical queries under 512 bytes, but requires TCP port 53 when responses exceed 512 bytes (such as with DNSSEC or large responses) or during zone transfers.
When a DNS response over UDP is truncated (TC flag set), the client re-issues the query using TCP port 53.
2
Evaluate the current ACL statement.
The current rule only matches UDP destination port 53 (`permit udp ... eq 53`), causing all TCP-based DNS traffic to hit the implicit deny rule at the end of the ACL.
Extended ACLs filter explicitly by protocol type (UDP vs TCP).
3
Determine the least-privilege configuration change required.
Adding `permit tcp 10.100.4.0 0.0.0.255 host 8.8.8.8 eq 53` allows fallback TCP DNS traffic without opening unnecessary ports or protocols.
This precisely allows TCP port 53 to the specific target server while maintaining strict perimeter filtering.

Anahtar Kavram

DNS Dual Transport Layer Protocols (UDP/TCP Port 53) in ACL Rules
Bu soruyu puanla