Skip to content

Turn off LLMNR name resolution — via Microsoft Learn

Group Policylow riskNeeds adminProEnterpriseEducationWindows 11Windows 10

LLMNR is a fallback where, when DNS fails, your PC asks every device on the local network who owns a name. Microsoft's security baseline recommends turning it off, which removes one way for a device on the same network to answer pretending to be the name you asked for.

Restart the computer

Group Policy

Open gpedit.msc (Pro, Enterprise and Education only) and go to:

Computer Configuration > Administrative Templates > Network > DNS Client > Turn off multicast name resolution = Enabled

Registry equivalent

Double-click a .reg file and confirm to merge it. Right-click → Edit first if you want to read it, which is always a good idea with any .reg file from the internet.

Apply

Windows Registry Editor Version 5.00

; Oddbyte.Me: Turn off LLMNR name resolution

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient]
"EnableMulticast"=dword:00000000

Undo

Windows Registry Editor Version 5.00

; Oddbyte.Me: undo Turn off LLMNR name resolution

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient]
"EnableMulticast"=-

Same thing from a command prompt

Run in an administrator Command Prompt or Terminal.

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v "EnableMulticast" /t REG_DWORD /d 0 /f

Undo:

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v "EnableMulticast" /f
Normal DNS keeps working. On a small home network you may then need IP addresses or full names to reach other PCs. Microsoft documents this policy for Pro and higher editions.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

llmnrsecuritydns clienthardeningmulticast

More in Networking

Flush the DNS cache — via Marc Abramowitz

Commandlow riskAdmin

If a website moved to a new server, or you changed DNS settings and some sites still won't load, your Mac may be holding on to old address lookups. Flushing the DNS cache makes it look them up fresh. It's a troubleshooting step, not a speed boost.

Run Apple's built-in internet speed test — via SS64

Commandlow risk

macOS has its own speed test in Terminal. Besides download and upload speed, it measures 'responsiveness' (round trips per minute while the line is busy), which explains why video calls stutter on a connection that looks fast.