Question: why dns use tcp and udp?
Answer: DNS uses TCP for Zone transfer and UDP for name queries either regular (primary) or reverse. UDP can be used to exchange small information whereas TCP must be used to exchange information larger than 512 bytes. ... For example, a domain client finding a domain controller using DNS.