DNS
nv show service dns
Shows DNS information.
In Cumulus Linux 5.15 and later, this command is nv show system dns.
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show service dns
operational
-------- -------------
domain simulation
[server] 192.168.200.1
[search] simulation
nv show service dns <vrf-id>
Shows DNS configuration settings for the specified VRF.
Cumulus Linux 5.15 and later no longer supports this command.
Command Syntax
| Syntax | Description |
|---|---|
<vrf-id> |
The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show service dns default
operational applied
-------- ----------- ----------
[search] nvidia.com
[server] 192.0.2.44
nv show service dns <vrf-id> server
Shows the remote DNS servers.
In Cumulus Linux 5.15 and later, this command is nv show system dns server.
Command Syntax
| Syntax | Description |
|---|---|
<vrf-id> |
The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show service dns default server
nv show service dns <vrf-id> server <dns-server-id>
Shows information about the specified remote DNS server.
In Cumulus Linux 5.15 and later, this command is nv show system dns server <dns-server-id>.
Command Syntax
| Syntax | Description |
|---|---|
<dns-server-id> |
The IPv4 or IPv6 address of a DNS server. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show service dns default server 192.0.2.44
operational
--- -----------
vrf mgmt
nv show system dns
Shows DNS information.
In Cumulus Linux 5.14 and earlier, this command is nv show service dns.
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system dns
operational
-------- -------------
domain simulation
[server] 192.168.200.1
[search] simulation
nv show system dns server
Shows the remote DNS servers.
In Cumulus Linux 5.14 and earlier, this command is nv show service dns <vrf-id> server.
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system dns server
DNS Server priority VRF
------------- -------- ----
192.168.200.1 mgmt
nv show system dns server <dns-server-id>
Shows information about the specified remote DNS server.
In Cumulus Linux 5.14 and earlier, this command is nv show service dns <vrf-id> server <dns-server-id>.
Command Syntax
| Syntax | Description |
|---|---|
<dns-server-id> |
The IPv4 or IPv6 address of a DNS server. |
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system dns server 192.0.2.44
operational
--- -----------
vrf mgmt
nv show system dns search
Shows the DNS search IDs and priorities.
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system dns search
DNS Search id priority
------------- --------
simulation
nv show system dns search <dns-search-id>
Shows the information about the DNS search ID.
Command Syntax
| Syntax | Description |
|---|---|
<dns-search-id> |
The DNS search ID. |
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system dns search simulation
no data