[PR #1680] Add routes and dns servers to status command #3191

Open
opened 2025-11-20 08:05:15 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/1680

State: closed
Merged: Yes


Describe your changes

Added extra output to the client status command

  • Routes per peer
  • Own routes (routing server)
  • DNS servers and their status
Daemon version: development
CLI version: development
Management: Connected
Signal: Connected
Relays: 2/2 Available
Nameservers: 2/3 Available
FQDN: vik-x1-7.netbird.stage
NetBird IP: 100.119.244.41/16
Interface type: Kernel
Quantum resistance: false
Routes: 20.0.0.0/8, 30.0.0.0/8
Peers count: 0/22 Connected
Peers detail:
 ubuntu.netbird.stage:
  NetBird IP: 100.119.181.187
  Public key: +BRlYReQ5wtzZ/nFSwpc3/S+wyfonEtGo3Qr9KT4wTs=
  Status: Connected
  -- detail --
  Connection type: P2P
  Direct: true
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.100.1:51820/1.2.3.4:51820
  Last connection update: 2024-03-08 16:52:17
  Last WireGuard handshake: 2024-03-08 16:52:17
  Transfer status (received/sent) 316 B/292 B
  Quantum resistance: false
  Routes: 10.0.0.0/8

Daemon version: development
CLI version: development
Management: Connected to https://stageapi.wiretrustee.com:443
Signal: Connected to https://signal.stage.netbird.io:443
Relays:
  [stun:api.netbird.io:3478] is Available
  [turn:api.netbird.io:3478?transport=udp] is Available
Nameservers:
  [7.7.7.7:53, 5.5.5.5:54, 3.3.3.3:55] for [oof.co, example.org] is Unavailable, reason: 3 errors occurred:
        * read udp 192.168.0.97:54633->3.3.3.3:55: i/o timeout
        * read udp 192.168.0.97:46918->5.5.5.5:54: i/o timeout
        * read udp 192.168.0.97:36094->7.7.7.7:53: i/o timeout
  [9.9.9.9:53, 149.112.112.112:53] for [.] is Available
  [10.0.0.2:53] for [eu-central-1.compute.internal] is Available
FQDN: vik-x1-7.netbird.stage
NetBird IP: 100.119.244.41/16
Interface type: Kernel
Quantum resistance: false
Routes: 20.0.0.0/8, 30.0.0.0/8
Peers count: 1/1 Connected

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/1680 **State:** closed **Merged:** Yes --- ## Describe your changes Added extra output to the client status command - Routes per peer - Own routes (routing server) - DNS servers and their status ``` Daemon version: development CLI version: development Management: Connected Signal: Connected Relays: 2/2 Available Nameservers: 2/3 Available FQDN: vik-x1-7.netbird.stage NetBird IP: 100.119.244.41/16 Interface type: Kernel Quantum resistance: false Routes: 20.0.0.0/8, 30.0.0.0/8 Peers count: 0/22 Connected ``` ``` Peers detail: ubuntu.netbird.stage: NetBird IP: 100.119.181.187 Public key: +BRlYReQ5wtzZ/nFSwpc3/S+wyfonEtGo3Qr9KT4wTs= Status: Connected -- detail -- Connection type: P2P Direct: true ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.100.1:51820/1.2.3.4:51820 Last connection update: 2024-03-08 16:52:17 Last WireGuard handshake: 2024-03-08 16:52:17 Transfer status (received/sent) 316 B/292 B Quantum resistance: false Routes: 10.0.0.0/8 Daemon version: development CLI version: development Management: Connected to https://stageapi.wiretrustee.com:443 Signal: Connected to https://signal.stage.netbird.io:443 Relays: [stun:api.netbird.io:3478] is Available [turn:api.netbird.io:3478?transport=udp] is Available Nameservers: [7.7.7.7:53, 5.5.5.5:54, 3.3.3.3:55] for [oof.co, example.org] is Unavailable, reason: 3 errors occurred: * read udp 192.168.0.97:54633->3.3.3.3:55: i/o timeout * read udp 192.168.0.97:46918->5.5.5.5:54: i/o timeout * read udp 192.168.0.97:36094->7.7.7.7:53: i/o timeout [9.9.9.9:53, 149.112.112.112:53] for [.] is Available [10.0.0.2:53] for [eu-central-1.compute.internal] is Available FQDN: vik-x1-7.netbird.stage NetBird IP: 100.119.244.41/16 Interface type: Kernel Quantum resistance: false Routes: 20.0.0.0/8, 30.0.0.0/8 Peers count: 1/1 Connected ``` ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:05:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#3191