Which port and protocol is commonly used by DNS for UDP queries?

Prepare for the CPSA Port Numbers Exam with quizzes on port numbers, services, and protocols. Each question is accompanied by hints and detailed explanations. Get exam-ready with our comprehensive study tool!

Multiple Choice

Which port and protocol is commonly used by DNS for UDP queries?

Explanation:
DNS queries are typically sent using UDP on port 53. This pairing works well because UDP is a lightweight, connectionless protocol that handles small request–response messages quickly, which suits the fast lookups DNS performs. Historically, DNS messages fit within the UDP size limit, though extensions like EDNS allow larger responses. When a response would be too large or reliability is required (such as certain large zone transfers), DNS can use TCP on port 53 instead. Ports like 80 and 67 belong to HTTP and DHCP, not standard DNS UDP queries.

DNS queries are typically sent using UDP on port 53. This pairing works well because UDP is a lightweight, connectionless protocol that handles small request–response messages quickly, which suits the fast lookups DNS performs. Historically, DNS messages fit within the UDP size limit, though extensions like EDNS allow larger responses. When a response would be too large or reliability is required (such as certain large zone transfers), DNS can use TCP on port 53 instead. Ports like 80 and 67 belong to HTTP and DHCP, not standard DNS UDP queries.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy