NetBird Support Ticket: High CPU Usage (100%) due to Conflict with Windows DNS Client Service (Error 0x57) #2315

Open
opened 2025-11-20 07:07:35 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @mrbytehub on GitHub (Sep 26, 2025).

Description:

Upon starting the NetBird client, the PC's CPU usage immediately spikes to 100%, rendering the system almost unusable. The problem stops immediately upon disconnecting or shutting down the NetBird client.

The issue appears to be strictly related to a conflict with the Windows DNS Client Service and the management of Name Resolution Policy Table (NRPT) rules. The anomaly seems to have worsened after a client update to the latest version.

To Reproduce:

Steps to reproduce the behavior:
Start the NetBird client on the affected PC.
Authenticate and connect to the NetBird network.
Observe CPU usage (via Task Manager) spiking to 100% shortly after connection.

Expected behavior:

The NetBird client should connect and maintain minimal CPU load, without causing stability or usability issues to the operating system.

Are you using NetBird Cloud?:
NO

NetBird version:

Problem observed and persistent with the latest version: v0.58.2.
Problem was also present during an attempted downgrade to version: v0.55.1.

C:\Users\francesco>netbird status
No output

Is any other VPN software installed?:

Yes

If yes, which one?

F5 but not connected.

Debug output:

C:\Users\francesco>netbird status -dA

No Output

Create and upload a debug bundle, and share the returned file key:

C:\Users\francesco>netbird debug for 1m -AS -U
Log level set to trace.
netbird down
netbird up
^C

Unable to complete

Screenshots

Image

Additional context

Problem Origin: The stability issues and excessive CPU consumption increased after a recent NetBird client update.

Windows Event Viewer Log: The Windows Event Viewer shows the following error, strongly indicating a DNS/NRPT conflict:

Name Resolution Policy Table is corrupt. To perform DNS name resolution, the table needs to be reset. Contact your network administrator. For more information, read the policy table for rule NetBird-Match-27 failed with error 0x57

The error code 0x57 corresponds to ERROR_INVALID_PARAMETER, suggesting that a NetBird-configured NRPT rule is invalid or corrupting the table.

Current Workaround: We found that temporarily alleviating the issue is possible by disabling DNS resolution by NetBird and manually inserting all relevant IP/FQDN entries into the local hosts file, reinforcing the link to the client's DNS functionality.

Have you tried these troubleshooting steps?

  • [ x ] Reviewed client troubleshooting (if applicable)
  • [ 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
  • Checked firewall settings
Originally created by @mrbytehub on GitHub (Sep 26, 2025). Description: Upon starting the NetBird client, the PC's CPU usage immediately spikes to 100%, rendering the system almost unusable. The problem stops immediately upon disconnecting or shutting down the NetBird client. The issue appears to be strictly related to a conflict with the Windows DNS Client Service and the management of Name Resolution Policy Table (NRPT) rules. The anomaly seems to have worsened after a client update to the latest version. To Reproduce: Steps to reproduce the behavior: Start the NetBird client on the affected PC. Authenticate and connect to the NetBird network. Observe CPU usage (via Task Manager) spiking to 100% shortly after connection. Expected behavior: The NetBird client should connect and maintain minimal CPU load, without causing stability or usability issues to the operating system. Are you using NetBird Cloud?: NO NetBird version: Problem observed and persistent with the latest version: v0.58.2. Problem was also present during an attempted downgrade to version: v0.55.1. C:\Users\francesco>netbird status No output Is any other VPN software installed?: Yes If yes, which one? F5 but not connected. Debug output: C:\Users\francesco>netbird status -dA No Output Create and upload a debug bundle, and share the returned file key: C:\Users\francesco>netbird debug for 1m -AS -U Log level set to trace. netbird down netbird up ^C Unable to complete **Screenshots** <img width="703" height="363" alt="Image" src="https://github.com/user-attachments/assets/64f12b4f-1158-4eab-bba8-5276301ba20c" /> **Additional context** Problem Origin: The stability issues and excessive CPU consumption increased after a recent NetBird client update. Windows Event Viewer Log: The Windows Event Viewer shows the following error, strongly indicating a DNS/NRPT conflict: Name Resolution Policy Table is corrupt. To perform DNS name resolution, the table needs to be reset. Contact your network administrator. For more information, read the policy table for rule NetBird-Match-27 failed with error 0x57 The error code 0x57 corresponds to ERROR_INVALID_PARAMETER, suggesting that a NetBird-configured NRPT rule is invalid or corrupting the table. Current Workaround: We found that temporarily alleviating the issue is possible by disabling DNS resolution by NetBird and manually inserting all relevant IP/FQDN entries into the local hosts file, reinforcing the link to the client's DNS functionality. **Have you tried these troubleshooting steps?** - [ x ] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ 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 - [ ] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 07:07:35 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Sep 28, 2025):

Hello @mrbytehub can you please run the following command and share the upload key with us?

netbird debug for 1m -U

Please share the CPU consumption during this time

@mlsmaycon commented on GitHub (Sep 28, 2025): Hello @mrbytehub can you please run the following command and share the upload key with us? netbird debug for 1m -U Please share the CPU consumption during this time
Author
Owner

@mrbytehub commented on GitHub (Sep 28, 2025):

CPU 100%

Image Image

C:\Users\xxxxxx>netbird debug for 1m -U
Log level set to trace.
netbird down
netbird up
Remaining time: 00:00:01
Duration completed
Creating debug bundle...
Log level restored to INFO
Local file:
C:\WINDOWS\SystemTemp\netbird.debug.3632154207.zip
Upload file key:
25d058dd725ac38f7b6585233a3b014beeac33cd0df67ef8f662399982d5f73d/fa8fb54e-f45b-4626-b532-885ebcfa2962

Any help are appreciate.

@mrbytehub commented on GitHub (Sep 28, 2025): CPU 100% <img width="1293" height="966" alt="Image" src="https://github.com/user-attachments/assets/4243a79a-8b00-4eee-a6d2-cbbdbe54bf7d" /> <img width="1553" height="1074" alt="Image" src="https://github.com/user-attachments/assets/333edfae-322d-4fc4-8682-1691dbac2a17" /> C:\Users\xxxxxx>netbird debug for 1m -U Log level set to trace. netbird down netbird up Remaining time: 00:00:01 Duration completed Creating debug bundle... Log level restored to INFO Local file: C:\WINDOWS\SystemTemp\netbird.debug.3632154207.zip Upload file key: 25d058dd725ac38f7b6585233a3b014beeac33cd0df67ef8f662399982d5f73d/fa8fb54e-f45b-4626-b532-885ebcfa2962 Any help are appreciate.
Author
Owner

@simonericcio commented on GitHub (Oct 24, 2025):

Hi, are there any updates on this issue?

@simonericcio commented on GitHub (Oct 24, 2025): Hi, are there any updates on this issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2315