64.4k views
2 votes
Which protocol is primarily used by DNS to serve requests?

A. Transmission Control Protocol (TCP)
B. Hyper Text Transfer Protocol (HTTP)
C. File Transfer Protocol (FTP)
D. User Datagram Protocol (UDP)

User Sioux
by
8.5k points

1 Answer

2 votes

Final answer:

DNS primarily uses UDP to serve requests due to its efficiency for small queries, but it can also use TCP for larger responses or special operations like zone transfers.

Step-by-step explanation:

The protocol primarily used by Domain Name System (DNS) to serve requests is User Datagram Protocol (UDP). This is because DNS requests are usually small and do not require the overhead of the connection setup that Transmission Control Protocol (TCP) would entail. However, when the response data size exceeds 512 bytes, or for certain types of operations like zone transfers, DNS will use TCP. This flexibility ensures that DNS can handle a wide range of query conditions efficiently.

User Tiagojdferreira
by
8.5k points