vinfra cluster settings dns set

Set DNS servers:

usage: vinfra cluster settings dns set --nameservers <nameservers>
--nameservers <nameservers>
A comma-separated list of DNS servers

Example:

# vinfra cluster settings dns set --nameservers 8.8.8.8
+------------------+---------------+
| Field            | Value         |
+------------------+---------------+
| dhcp_nameservers | - 10.10.0.10  |
|                  | - 10.10.0.11  |
|                  | - 10.37.130.2 |
| nameservers      | - 8.8.8.8     |
+------------------+---------------+

This command sets the external DNS server to 8.8.8.8.