mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-23 19:06:35 +00:00
[client,management] Add support for extra DNS labels in docs (#287)
* Add support for extra DNS labels in CLI and setup key documentation * update text --------- Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
This commit is contained in:
@@ -60,6 +60,7 @@ The command will check if the peer is logged in and connect to the management se
|
||||
--dns-resolver-address string Sets a custom address for NetBird's local DNS resolver. If set, the agent won't attempt to discover the best ip and port to listen on. An empty string "" clears the previous configuration. E.g. --dns-resolver-address 127.0.0.1:5053 or --dns-resolver-address ""
|
||||
--enable-rosenpass [Experimental] Enable Rosenpass feature. If enabled, the connection will be post-quantum secured via Rosenpass.
|
||||
--external-ip-map strings Sets external IPs maps between local addresses and interfaces.You can specify a comma-separated list with a single IP and IP/IP or IP/Interface Name. An empty string "" clears the previous configuration. E.g. --external-ip-map 12.34.56.78/10.0.0.1 or --external-ip-map 12.34.56.200,12.34.56.78/10.0.0.1,12.34.56.80/eth1 or --external-ip-map ""
|
||||
--extra-dns-labels strings Sets DNS labels. You can specify a comma-separated list of up to 32 labels. An empty string "" clears the previous configuration. E.g. --extra-dns-labels vpc1 or --extra-dns-labels vpc1,mgmt1 or --extra-dns-labels ""
|
||||
-F, --foreground-mode start service in foreground
|
||||
-h, --help help for up
|
||||
--interface-name string Wireguard interface name (default "utun100")
|
||||
@@ -86,6 +87,14 @@ In case you need to use a setup key, use the `--setup-key` flag :
|
||||
```shell
|
||||
netbird up --setup-key AAAA-BBB-CCC-DDDDDD
|
||||
```
|
||||
You can set extra DNS labels with the `--extra-dns-labels` flag:
|
||||
```shell
|
||||
netbird up --setup-key AAAA-BBB-CCC-DDDDDD --extra-dns-labels vpc1,mgmt1
|
||||
```
|
||||
<Note>
|
||||
This feature requires a setup-key with permissions to add peers with the extra labels.
|
||||
</Note>
|
||||
Multiple peers with the same extra labels will generate grouped DNS labels on the client side, and this feature can be used for DNS round-robing load balancing.
|
||||
|
||||
### login
|
||||
Command to authenticate the NetBird client to a management service. If the peer is not logged in, by default, it will attempt to initiate an SSO login flow.
|
||||
|
||||
Reference in New Issue
Block a user