Link-local Multicast Name Resolution (LLMNR)
Link-Local Multicast Name Resolution: Name resolution in local networks
Link-Local Multicast Name Resolution (LLMNR) is a protocol used for name resolution within local network segments. It translates human-readable device names - such as "Printer" or "PC-01"-into numerical IPv4 or IPv6 addresses. This allows network devices to be accessed without users needing to memorize their specific IP addresses.
LLMNR is primarily used when a name cannot be resolved via the Domain Name System (DNS) - for instance, in small networks that lack a dedicated DNS server. The requesting computer sends a multicast query to all devices on the local network segment. The device whose name matches the query responds directly with its IP address.
The protocol operates over UDP port 5355 and supports both IPv4 and IPv6. Its mechanism is similar to Multicast DNS (mDNS), a standard popularized by Apple. LLMNR became widely known through its inclusion in Microsoft operating systems, where it serves as a supplement to older methods like the NetBIOS Name Service (NBNS). NBNS is designed primarily for IPv4 and can transmit additional network information in an unencrypted format.
From a security perspective, LLMNR is problematic. Because queries and responses are not adequately authenticated, attackers on the same network segment can inject forged responses. In what is known as an "LLMNR poisoning" attack, an adversary might impersonate another computer to intercept login credentials or other sensitive information. LLMNR itself provides no encryption and should therefore not be considered a secure alternative to DNS.
For this reason, in corporate networks with a functional DNS infrastructure, LLMNR is frequently disabled - for example, via Group Policy. In simpler local networks, however, the protocol can still provide a straightforward method for name resolution. However, for security and administrative reasons, centrally operated DNS services are generally the better solution.