According to RFC 1035 which transport protocol is recommended for use with DNS queries?
A. Transmission Control Protocol
B. Reliable Data Protocol
C. Hypertext Transfer Protocol
D. User Datagram Protocol
According to RFC 1035 which transport protocol is recommended for use with DNS queries?
A. Transmission Control Protocol
B. Reliable Data Protocol
C. Hypertext Transfer Protocol
D. User Datagram Protocol
RFC 1035
Section 4 Transport
4.2.1. UDP usage
UDP is not acceptable for zone transfers, but is the recommended method
for standard queries in the Internet
DNS primarily uses the User Datagram Protocol (UDP) on port number 53 to serve requests.[3] DNS queries consist of a single UDP request from the client followed by a single UDP reply from the server. The Transmission Control Protocol (TCP) is used when the response data size exceeds 512 bytes, or for tasks such as zone transfers. Some resolver implementations use TCP for all queries.
Is this correct? Dns uses TCP unless for data responses up to 512bits and zonetransfers
No, Dns uses UDP unless for data responses up to 512bits and zonetransfers, then it uses TCP.