GitHunt
MA

Martin1994/nss-llmnr-wsl

An NSS module providing LLMNR lookup for WSL.

libnss-llmnr-wsl

An NSS module providing LLMNR lookup for WSL.

How it works

This package simply calls powershell.exe to perform the LLMNR lookup with the following command:

try {
    (Resolve-DnsName -Name {0} -Type {1} -LlmnrOnly -ErrorAction Stop).IPAddress;
} catch {
    exit 1;
}

Installation

See release page.

Since launching PowerShell is slow, please place llmnr_wsl to the very last in the hosts list in /etc/nsswitch.conf. Example:

hosts: files dns llmnr_wsl

Languages

Rust100.0%

Contributors

Latest Release

0.1.0July 29, 2019
MIT License
Created July 28, 2019
Updated September 10, 2020
Martin1994/nss-llmnr-wsl | GitHunt