macOS DNS resolver not working #1072

Closed
opened 2025-11-20 05:23:30 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @hekar on GitHub (Jul 20, 2024).

Describe the problem

Hello, I cannot get the DNS resolver working on macOS 14.5

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Expect the nameservers defined in the NetBird Cloud to be used. scutil --dns does not contain netbird.cloud and dscacheutil -q host -a name peer-a.netbird.cloud returns nothing

Are you using NetBird Cloud?

NetBird Cloud

NetBird version

0.28.5 on the clients and peers

NetBird status -d output:

Peers detail:
 <censored>.netbird.cloud:
  NetBird IP: <censored>
  Public key: P5NJhKnxorNTpJOZr9ZnVFvw4o5ip9iHau8fpPI1tVw=
  Status: Connected
  -- detail --
  Connection type: Relayed
  Direct: true
  ICE candidate (Local/Remote): host/relay
  ICE candidate endpoints (Local/Remote): 192.168.1.206:51820/54.149.209.54:62843
  Last connection update: 10 minutes, 24 seconds ago
  Last WireGuard handshake: 2 minutes, 3 seconds ago
  Transfer status (received/sent) 524 B/1.6 KiB
  Quantum resistance: false
  Routes: 10.0.0.0/16
  Latency: 41.44575ms

OS: darwin/arm64
Daemon version: 0.28.5
CLI version: 0.28.5
Management: Connected to https://api.netbird.io:443
Signal: Connected to https://signal.netbird.io:443
Relays:
  [stun:stun.netbird.io:5555] is Available
  [turns:turn.netbird.io:443?transport=tcp] is Available
Nameservers:
FQDN: <censored>.netbird.cloud
NetBird IP: 100.70.104.194/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 1/1 Connected

Screenshots

image image

Additional context

  • routing between peers is working fine. Only DNS is not resolving
  • scutil --dns does not contain netbird.cloud
  • dscacheutil -q host -a name <my-peer>.netbird.cloud returns nothing
  • dig @10.0.0.2 <hostname>.internal works correctly
Originally created by @hekar on GitHub (Jul 20, 2024). **Describe the problem** Hello, I cannot get the DNS resolver working on macOS `14.5` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** Expect the nameservers defined in the NetBird Cloud to be used. `scutil --dns` does not contain netbird.cloud and `dscacheutil -q host -a name peer-a.netbird.cloud` returns nothing **Are you using NetBird Cloud?** NetBird Cloud **NetBird version** `0.28.5` on the clients and peers **NetBird status -d output:** ``` Peers detail: <censored>.netbird.cloud: NetBird IP: <censored> Public key: P5NJhKnxorNTpJOZr9ZnVFvw4o5ip9iHau8fpPI1tVw= Status: Connected -- detail -- Connection type: Relayed Direct: true ICE candidate (Local/Remote): host/relay ICE candidate endpoints (Local/Remote): 192.168.1.206:51820/54.149.209.54:62843 Last connection update: 10 minutes, 24 seconds ago Last WireGuard handshake: 2 minutes, 3 seconds ago Transfer status (received/sent) 524 B/1.6 KiB Quantum resistance: false Routes: 10.0.0.0/16 Latency: 41.44575ms OS: darwin/arm64 Daemon version: 0.28.5 CLI version: 0.28.5 Management: Connected to https://api.netbird.io:443 Signal: Connected to https://signal.netbird.io:443 Relays: [stun:stun.netbird.io:5555] is Available [turns:turn.netbird.io:443?transport=tcp] is Available Nameservers: FQDN: <censored>.netbird.cloud NetBird IP: 100.70.104.194/16 Interface type: Userspace Quantum resistance: false Routes: - Peers count: 1/1 Connected ``` **Screenshots** <img width="499" alt="image" src="https://github.com/user-attachments/assets/e00ece5a-569e-40ed-b3c5-279cde19bb76"> <img width="1308" alt="image" src="https://github.com/user-attachments/assets/5d2da28a-eed2-4f8e-8aab-3dea6226636e"> **Additional context** - routing between peers is working fine. Only DNS is not resolving - `scutil --dns` does not contain netbird.cloud - `dscacheutil -q host -a name <my-peer>.netbird.cloud` returns nothing - `dig @10.0.0.2 <hostname>.internal` works correctly
saavagebueno added the triage-needed label 2025-11-20 05:23:30 -05:00
Author
Owner

@hekar commented on GitHub (Jul 20, 2024):

Fixed the issue by switching from 10.0.0.2,1.1.1.1,1.0.0.1 to 10.0.0.2,1.1.1.1

There seems to be an issue with having three nameservers. Only the last two are used.

@hekar commented on GitHub (Jul 20, 2024): Fixed the issue by switching from `10.0.0.2,1.1.1.1,1.0.0.1` to `10.0.0.2,1.1.1.1` There seems to be an issue with having three nameservers. Only the last two are used.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1072