vinfra cluster settings dns show

Display DNS servers:

usage: vinfra cluster settings dns show

Example:

# vinfra cluster settings dns show
+------------------+-----------------------------------+
| Field            | Value                             |
+------------------+-----------------------------------+
| dhcp_nameservers | 10.10.0.10,10.10.0.11,10.37.130.2 |
| nameservers      | 10.10.0.11,10.10.0.10             |
+------------------+-----------------------------------+

This command lists the currently used DNS servers: both internal (obtained via DHCP) and external (static set by the user).