DNS resolve failed when Windows 11 power off and power on #1691

Closed
opened 2025-11-20 06:04:52 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @KortanZ on GitHub (Mar 9, 2025).

Describe the problem

I have a Windows 11 PC which enabled wsl2. Both win 11 and wsl2 have installed 0.37.2 netbird connected to selfhost instance. Wsl2 Network mode is NAT with localhost forward enabled. Netbird in wsl2 works well. But win 11 have some issue.

Let's say the selfhosted instance's url is https://netbird.some.domain. And I've run a DNS server on a netbird node which resolve xxx.some.domain.

I have 3 custom nameserver configured. the netbird node ip for some.domain for all group and 1.1.1.1 for netbird.some.domain for all group, and the same node ip for all for mobile group(for ios and android client use, following the official doc).

When first installed netbird, everything works well, but when power off and power on the windows 11, netbird can't connect to the instance. Ping xxx.some.domain and netbird.some.domain both failed with Ping request could not find host xxxx. Please check the name and try again., but nslookup could resolve netbird.some.domain. Restart netbird service or reboot or repower the PC seems not resolve the problem. Only uninstall and reinstall netbird client could temporarily fix the issue, and the issue comes again when power off and power on the PC.

To Reproduce

Steps to reproduce the behavior:

  1. Power off the PC
  2. Power on the PC
  3. Issue Reproduced

Expected behavior
Netbird works normally.

Are you using NetBird Cloud?

No

NetBird version

netbird version
0.37.2
Is any other VPN software installed?
no

Debug output

To help us resolve the problem, please attach the following debug output

netbird status -dA

As well as the file created by

netbird debug for 1m -AS

PS C:\Users\kortan> netbird status -dA
Peers detail:
Events: No events recorded
OS: windows/amd64
Daemon version: 0.37.2
CLI version: 0.37.2
Management: Disconnected
Signal: Disconnected
Relays:
Nameservers:
FQDN:
NetBird IP: N/A
Interface type: N/A
Quantum resistance: false
Networks: -
Peers count: 0/0 Connected
PS C:\Users\kortan> netbird debug for 1m -AS
Error: failed to set log level to TRACE: connect client not initialized
PS C:\Users\kortan> netbird version
0.37.2 

We advise reviewing the anonymized output for any remaining personal information.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @KortanZ on GitHub (Mar 9, 2025). **Describe the problem** I have a Windows 11 PC which enabled wsl2. Both win 11 and wsl2 have installed 0.37.2 netbird connected to selfhost instance. Wsl2 Network mode is NAT with localhost forward enabled. Netbird in wsl2 works well. But win 11 have some issue. Let's say the selfhosted instance's url is `https://netbird.some.domain`. And I've run a DNS server on a netbird node which resolve `xxx.some.domain`. I have 3 custom nameserver configured. the netbird node ip for `some.domain` for `all` group and `1.1.1.1` for `netbird.some.domain` for `all` group, and the same node ip for `all` for `mobile` group(for ios and android client use, following the official doc). When first installed netbird, everything works well, but when power off and power on the windows 11, netbird can't connect to the instance. Ping `xxx.some.domain` and `netbird.some.domain` both failed with `Ping request could not find host xxxx. Please check the name and try again.`, but `nslookup` could resolve `netbird.some.domain`. Restart netbird service or reboot or repower the PC seems not resolve the problem. Only uninstall and reinstall netbird client could temporarily fix the issue, and the issue comes again when power off and power on the PC. **To Reproduce** Steps to reproduce the behavior: 1. Power off the PC 2. Power on the PC 3. Issue Reproduced **Expected behavior** Netbird works normally. **Are you using NetBird Cloud?** No **NetBird version** `netbird version` 0.37.2 **Is any other VPN software installed?** no **Debug output** To help us resolve the problem, please attach the following debug output netbird status -dA As well as the file created by netbird debug for 1m -AS ``` PS C:\Users\kortan> netbird status -dA Peers detail: Events: No events recorded OS: windows/amd64 Daemon version: 0.37.2 CLI version: 0.37.2 Management: Disconnected Signal: Disconnected Relays: Nameservers: FQDN: NetBird IP: N/A Interface type: N/A Quantum resistance: false Networks: - Peers count: 0/0 Connected PS C:\Users\kortan> netbird debug for 1m -AS Error: failed to set log level to TRACE: connect client not initialized PS C:\Users\kortan> netbird version 0.37.2 ``` We advise reviewing the anonymized output for any remaining personal information. **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 06:04:52 -05:00
Author
Owner

@tomashora commented on GitHub (Mar 10, 2025):

@KortanZ could this be the same as we are facing? https://github.com/netbirdio/netbird/issues/2895

@tomashora commented on GitHub (Mar 10, 2025): @KortanZ could this be the same as we are facing? https://github.com/netbirdio/netbird/issues/2895
Author
Owner

@KortanZ commented on GitHub (Mar 11, 2025):

@tomashora Really thank you for the information. I've check my NRPT policies, and yes, this is the same.

Closed as duplicate #2895

@KortanZ commented on GitHub (Mar 11, 2025): @tomashora Really thank you for the information. I've check my NRPT policies, and yes, this is the same. Closed as duplicate #2895
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1691