8

I wish to perform a LLMNR query explicitly. My current environment includes DNS servers so the ping (ping -a specifically) is doing DNS queries to resolve the name. I can disable my DNS in my network configuration, but that isn't an ideal solution.

How do I perform a LLMNR query?

2 Answers 2

9

Assuming PowerShell is available, use Resolve-DnsName -LlmnrOnly -Name <host>

From the linked TechNet page:

-LlmnrOnly
Resolves this query using only the LLMNR protocol.

1

Can you remove the appended DNS Suffix from your local config?

  • Go to your ethernet connection.
  • Click Properties.
  • Double click Internet Protocol Version 4(TCP/IPv4)
  • Click Advanced.
  • Click the DNS tab. Remove whatever the suffix is.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .