How UDP works
UDP just sends datagrams: no handshake, no acknowledgements, no retransmission. That makes it fast and light - ideal for DNS, voice, video and games, where a late packet is useless anyway.
Layer: Transport (OSI layer 4) · Port: - · Transport: - · Format: 8-byte header + data · Standard: RFC 768
UDP packet flow
- UDP Client → DNS Resolver: 53122 → 53 Len=33 (DNS query)
- UDP DNS Resolver → Client: 53 → 53122 Len=49 (DNS answer)
Other protocols: Ethernet · IP · IPv6 · TCP · ICMP · ARP · DHCP · DNS · BGP · NTP · IGMP