Skip to content

Win11 vEthernet (WSL) IP causing two instances and -2.local name. #66

@davehorner

Description

@davehorner

I have a single MdnsService::new(service_type, port) that is being seen in the examples\browser and in dns-sd -B as two instances with the same name and the hostname is -2.local. The IP address is that of my wifi adapter and the other is the Ethernet adapter vEthernet (WSL (Hyper-V firewall)).

wsl -l --running
There are no running distributions.

The other day I was using the library and it was resolving to hostname.local correctly and did not advertise as two instances with the same name. I'm not sure what happened but the -2.local resolves fine from the local machine but does not resolve from the other machines. Apologies if this is more a Bonjour for windows specific question. WSL does not out of the box mdns/zeroconf without configuration and I've done none of that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions