Multicast DNS (mDNS) is a protocol that resolves hostnames to IP addresses within a local network segment without requiring a centralized DNS server. It operates by having devices send DNS-like queries to a well-known multicast address (224.0.0.251 for IPv4), allowing any listening device that owns the name to respond directly with its IP address. This enables zero-configuration networking, where devices can automatically discover and communicate with peers using human-readable names (e.g., printer.local).
