DNS Issue with MacOS Firewall and Netbird #1035

Closed
opened 2025-11-20 05:22:43 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @ykorzikowski on GitHub (Jul 1, 2024).

First, I really like seeing this project getting more stable every day :)

Describe the problem

Setup: A Bind DNS Server for resolving internal dns A records. With enabled MacOS Firewall, I can not resolve this internal dns records.

Maybe related to #608

I can not resolve

To Reproduce

  1. Having a custom dns configured in netbird
  2. Enabling the macos firewall
  3. Netbird should ask for permission
  4. problems resolving the custom dns entries

Expected behavior

Records should be resolved.

Are you using NetBird Cloud?

Self Hosted Netbird
netbird:
# https://hub.docker.com/r/netbirdio/management/tags
server: 0.27.7
coturn: 4
# https://hub.docker.com/r/netbirdio/dashboard
dashboard_ng: v2.3.0

NetBird version

0.28.3

NetBird status -d output:

Because its working after I disable the firewall, I don't think its an issue of netbird itself.

Screenshots

Screenshot 2024-07-01 at 09 35 56 Screenshot 2024-07-01 at 09 36 19 image Screenshot 2024-07-01 at 09 39 19 Screenshot 2024-07-01 at 09 38 36

Additional context

  • After denying netbird incoming connections by the firewall dialog, the dns resolving seems working, but no connection can be established (I can see issues with STUN server, which seems legit to me as incoming connections will be blocked)
  • Temporary solution for me is disabling the macOS firewall.
Originally created by @ykorzikowski on GitHub (Jul 1, 2024). First, I really like seeing this project getting more stable every day :) **Describe the problem** Setup: A Bind DNS Server for resolving internal dns A records. With enabled MacOS Firewall, I can not resolve this internal dns records. Maybe related to #608 I can not resolve **To Reproduce** 1. Having a custom dns configured in netbird 2. Enabling the macos firewall 3. Netbird should ask for permission 4. problems resolving the custom dns entries **Expected behavior** Records should be resolved. **Are you using NetBird Cloud?** Self Hosted Netbird netbird: # https://hub.docker.com/r/netbirdio/management/tags server: 0.27.7 coturn: 4 # https://hub.docker.com/r/netbirdio/dashboard dashboard_ng: v2.3.0 **NetBird version** `0.28.3` **NetBird status -d output:** Because its working after I disable the firewall, I don't think its an issue of netbird itself. **Screenshots** <img width="719" alt="Screenshot 2024-07-01 at 09 35 56" src="https://github.com/netbirdio/netbird/assets/20556547/b83c0105-8317-40d4-8f20-016c29a2cb54"> <img width="510" alt="Screenshot 2024-07-01 at 09 36 19" src="https://github.com/netbirdio/netbird/assets/20556547/abd424c6-2305-4fb9-b345-d22cd5bb2c32"> <img width="266" alt="image" src="https://github.com/netbirdio/netbird/assets/20556547/5359ffa6-42e1-4256-ac56-87a361f95232"> <img width="1214" alt="Screenshot 2024-07-01 at 09 39 19" src="https://github.com/netbirdio/netbird/assets/20556547/503b0aaa-d2fc-46f8-b6a0-3f3b5f716e7d"> <img width="702" alt="Screenshot 2024-07-01 at 09 38 36" src="https://github.com/netbirdio/netbird/assets/20556547/7bfca67e-ce3a-494a-9208-f3d7ee35614b"> **Additional context** - After denying netbird incoming connections by the firewall dialog, the dns resolving seems working, but no connection can be established (I can see issues with STUN server, which seems legit to me as incoming connections will be blocked) - Temporary solution for me is disabling the macOS firewall.
saavagebueno added the triage-needed label 2025-11-20 05:22:43 -05:00
Author
Owner

@ykorzikowski commented on GitHub (Jul 2, 2024):

Some update: I notice this behavior does not occur on my other macbook. So maybe its a bug in macOS itself.

I notice, even with disabled firewall I get this problem after a clean reboot, but changing the firewall state by turning it on will fix the dns issue.

@ykorzikowski commented on GitHub (Jul 2, 2024): Some update: I notice this behavior does not occur on my other macbook. So maybe its a bug in macOS itself. I notice, even with disabled firewall I get this problem after a clean reboot, but changing the firewall state by turning it on will fix the dns issue.
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

@ykorzikowski is it still an issue for you?

@nazarewk commented on GitHub (Apr 17, 2025): @ykorzikowski is it still an issue for you?
Author
Owner

@ykorzikowski commented on GitHub (Apr 17, 2025):

Using 0.39.1 now. Not an issue anymore, but sometimes I have this issue which I can resolve by restarting the netbird service.

Closing this until I have more information.

@ykorzikowski commented on GitHub (Apr 17, 2025): Using `0.39.1` now. Not an issue anymore, but sometimes I have this issue which I can resolve by restarting the netbird service. Closing this until I have more information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1035