netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Magic DNS doesn't work "The host dns manager does not support match domains"

Open TheLinuxGuy opened this issue 4 months ago • 9 comments

Describe the problem

After a reboot, Netbird DNS does not work immediately, requiring manual troubleshooting... it seems to "fix itself" sometimes.

System is DietPi.com based on Debian 12 bookworm.

To Reproduce

Steps to reproduce the behavior:

  1. Have a working netbird peer host. Reboot it.
  2. Upon reboot, check netbird status -d it will be missing Name Servers and showing The host dns manager does not support match domains

Expected behavior

NetBird Magic DNS should just work after a system reboot.

Are you using NetBird Cloud?

Yes

NetBird version

0.49.0

Is any other VPN software installed?

No

Debug output

To help us resolve the problem, please attach the following anonymized status output

netbird status -dA <- attached .txt

netbird-status.txt

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

f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffa9c4481884941f726/30b20564-53e0-4c05-be6e-31b110301109

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

wt0 should not be missing the netbird magic dns entry below.

root@NEXUS:~# uptime
 00:16:40 up 0 min,  1 user,  load average: 0.08, 0.02, 0.01
root@NEXUS:~# resolvectl status
Global
       Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
      DNS Servers 8.8.8.8

Link 2 (eth0)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (wt0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

A manual restart sometimes fixes it.

root@NEXUS:~# netbird down
Disconnected
root@NEXUS:~# netbird up
Connected
root@NEXUS:~# resolvectl
Global
         Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub
Current DNS Server: 8.8.8.8
        DNS Servers 8.8.8.8

...

Link 14 (wt0)
    Current Scopes: DNS
         Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 100.122.137.151
       DNS Servers: 100.122.137.151
        DNS Domain: in.mesh ~122.100.in-addr.arpa
root@NEXUS:~#

TheLinuxGuy avatar Jun 27 '25 04:06 TheLinuxGuy