[GH-ISSUE #5569] Nameservers only work if "Match Domains" is specified #11748

Open
opened 2026-08-05 01:30:49 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @mattiasegly on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5569

Describe the problem
Nameservers only recieve DNS requests if "Match Domains" is specified in cloud-hosted NetBird

To Reproduce
Local setup:
-DNS server 1: NetBird rootless-latest client + Blocky DNS server in sidecar/pod configuration
-DNS server 2: NetBird rootless-latest client with Blocky as "Resource" in "Networks"

Cloud setup:
-NetBird DNS Domain: netbird.cloud (peer resolution works)
-NetBird DNS Zone: netbird.internal (peer resolution works)
-Custom Search Domain: netbird.lan (DNS queries observed, resolution works)
-Primary Nameserver: "Match Domains: ALL" (no queries observed, resolution doesn't work)
-TLD Nameserver: "Match Domains: com" (DNS queries observed, resolution works)
-TLD Nameserver: "Match Domains: net" (DNS queries observed, resolution works)

Client setup:
-iPhone iOS 26.3.1, NetBird 0.1.1 (matched domains work, resolved by DNS servers. Other TLDs fail to resolve)
-Android 16, NetBird 0.3.2/0.64.1 (matched domains work, resolved by DNS servers. Other TLDs bypassed, no queries observed)

Tested different combinations to rule out issues with network, local setup, and clients.
Each DNS server recieve queries and resolve for the TLDs that have been specified in the management portal, regardless of client. See image.
I also see traffic in the server firewall destined for 1.1.1.1:53, which I haven’t specified. Suspect this is from the clients not using the default nameservers.

.com & .net domains work
.org, .dev, .io do not

Expected behavior
Domain resolution working for all TLDs with Primary Nameserver: "Match Domains: ALL"

Are you using NetBird Cloud?
Yes.

NetBird version
-Podman 5.8.0, NetBird rootless-latest (0.66.3)
-iPhone iOS 26.3.1, NetBird 0.1.1
-Android 16, NetBird 0.3.2/0.64.1

Is any other VPN software installed?
No.

Screenshots
Attached.

Have you tried these troubleshooting steps?

  • [ Y ] Reviewed client troubleshooting (if applicable)
  • [ Y ] Checked for newer NetBird versions
  • [ Y ] Searched for similar issues on GitHub (including closed ones)
  • [ Y ] Restarted the NetBird client
  • [ N/A ] Disabled other VPN software
  • [ Y ] Checked firewall settings
Image
Originally created by @mattiasegly on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5569 **Describe the problem** Nameservers only recieve DNS requests if "Match Domains" is specified in cloud-hosted NetBird **To Reproduce** Local setup: -DNS server 1: NetBird rootless-latest client + Blocky DNS server in sidecar/pod configuration -DNS server 2: NetBird rootless-latest client with Blocky as "Resource" in "Networks" Cloud setup: -NetBird DNS Domain: netbird.cloud (peer resolution works) -NetBird DNS Zone: netbird.internal (peer resolution works) -Custom Search Domain: netbird.lan (DNS queries observed, resolution works) -Primary Nameserver: "Match Domains: ALL" (no queries observed, resolution doesn't work) -TLD Nameserver: "Match Domains: com" (DNS queries observed, resolution works) -TLD Nameserver: "Match Domains: net" (DNS queries observed, resolution works) Client setup: -iPhone iOS 26.3.1, NetBird 0.1.1 (matched domains work, resolved by DNS servers. Other TLDs fail to resolve) -Android 16, NetBird 0.3.2/0.64.1 (matched domains work, resolved by DNS servers. Other TLDs bypassed, no queries observed) Tested different combinations to rule out issues with network, local setup, and clients. Each DNS server recieve queries and resolve for the TLDs that have been specified in the management portal, regardless of client. See image. I also see traffic in the server firewall destined for 1.1.1.1:53, which I haven’t specified. Suspect this is from the clients not using the default nameservers. .com & .net domains work .org, .dev, .io do not **Expected behavior** Domain resolution working for all TLDs with Primary Nameserver: "Match Domains: ALL" **Are you using NetBird Cloud?** Yes. **NetBird version** -Podman 5.8.0, NetBird rootless-latest (0.66.3) -iPhone iOS 26.3.1, NetBird 0.1.1 -Android 16, NetBird 0.3.2/0.64.1 **Is any other VPN software installed?** No. **Screenshots** Attached. **Have you tried these troubleshooting steps?** - [ Y ] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ Y ] Checked for newer NetBird versions - [ Y ] Searched for similar issues on GitHub (including closed ones) - [ Y ] Restarted the NetBird client - [ N/A ] Disabled other VPN software - [ Y ] Checked firewall settings <img width="731" height="529" alt="Image" src="https://github.com/user-attachments/assets/c580a203-8d3d-4f7e-94f7-1da36e97bb29" />
saavagebueno added the triage-needed label 2026-08-05 01:30:49 -04:00
Author
Owner

@mattiasegly commented on GitHub (Jul 14, 2026):

Since the latest version of Netbird for iOS (0.3.1 / 0.74.2) this initially seems to be solved.

I still have a secondary DNS server responsible for most popular TLDs using "Match Domains", but queries for other domains are starting to show up on my primary DNS server when using iOS clients with the latest update.

Keeping topic open and current setup until an update for Android is released and I can verify that too.

<!-- gh-comment-id:4966571830 --> @mattiasegly commented on GitHub (Jul 14, 2026): Since the latest version of Netbird for iOS (0.3.1 / 0.74.2) this initially seems to be solved. I still have a secondary DNS server responsible for most popular TLDs using "Match Domains", but queries for other domains are starting to show up on my primary DNS server when using iOS clients with the latest update. Keeping topic open and current setup until an update for Android is released and I can verify that too.
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11748