27.0k views
1 vote
Which protocol is used by DNS when response data size exceeds 512 bytes?

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

User Nilinswap
by
7.7k points

1 Answer

2 votes

Final answer:

The protocol used by DNS when the response data size exceeds 512 bytes is TCP.

Step-by-step explanation:

The protocol used by DNS when the response data size exceeds 512 bytes is Transmission Control Protocol (TCP). DNS primarily uses User Datagram Protocol (UDP) for its queries and responses which has a maximum message size of 512 bytes. However, when the response data is larger than 512 bytes, DNS switches to TCP for reliable data transfer.

User Mushahid Khan
by
8.3k points