Link-Local Multicast Name Resolution Explained

The Link-Local Multicast Name Resolution (LLMNR) is a protocol based on the Domain Name System (DNS) packet format that allows both IPv4 and IPv6 hosts to perform name resolution for hosts on the same local link. It is included in Windows Vista, Windows Server 2008, Windows 7, Windows 8, Windows 10.[1] It is also implemented by systemd-resolved on Linux.[2] LLMNR is defined in RFC 4795 but was not adopted as an IETF standard.[3]

As of April 2022, Microsoft has begun the process of phasing out both LLMNR and NetBIOS name resolution in favour of mDNS.[4]

Protocol details

In responding to queries, responders listen on UDP port 5355 on the following link-scope Multicast address:

The responders also listen on TCP port 5355 on the unicast address that the host uses to respond to queries.

Packet header structure

Bit offset0123456789101112131415
0ID
16QROpcodeCTCTZZZZRCODE
32QDCOUNT
48ANCOUNT
64NSCOUNT
80ARCOUNT

See also

References

  1. https://technet.microsoft.com/library/bb878128 LLMNR: The Cable Guy
  2. Web site: systemd 216 available . 2015-08-10.
  3. Web site: LLMNR, Multicast DNS and names on your LAN. Mikael Eiman. 2015-05-25. 2021-01-30.
  4. https://techcommunity.microsoft.com/t5/networking-blog/aligning-on-mdns-ramping-down-netbios-name-resolution-and-llmnr/ba-p/3290816 Aligning on mDNS: ramping down NetBIOS name resolution and LLMNR

External links