Which port numbers are commonly used for DNS and HTTP services on TCP/UDP?

Study for the Internet Protocol Version 4 Test. Use flashcards and multiple-choice questions, each with hints and explanations. Master the exam with confidence!

Multiple Choice

Which port numbers are commonly used for DNS and HTTP services on TCP/UDP?

Explanation:
DNS uses port 53 and can operate over both UDP and TCP. UDP handles most ordinary queries because it’s fast and lightweight, but TCP is used when a response is too large for UDP or when reliable delivery is needed, such as during zone transfers between DNS servers. HTTP runs over TCP and uses port 80 by default, since HTTP relies on a reliable, connection-oriented transport. UDP is not used for standard HTTP, and the other common port numbers shown (like 63 for DNS or UDP 80 for HTTP) don’t match how these services are implemented. HTTPS, while not asked about here, uses port 443 over TCP. So DNS with UDP/TCP port 53 and HTTP with TCP port 80 is the correct pairing.

DNS uses port 53 and can operate over both UDP and TCP. UDP handles most ordinary queries because it’s fast and lightweight, but TCP is used when a response is too large for UDP or when reliable delivery is needed, such as during zone transfers between DNS servers. HTTP runs over TCP and uses port 80 by default, since HTTP relies on a reliable, connection-oriented transport. UDP is not used for standard HTTP, and the other common port numbers shown (like 63 for DNS or UDP 80 for HTTP) don’t match how these services are implemented. HTTPS, while not asked about here, uses port 443 over TCP. So DNS with UDP/TCP port 53 and HTTP with TCP port 80 is the correct pairing.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy