DNS

The nv unset commands remove the configuration you set with the equivalent nv set commands. This guide only describes an nv unset command if it differs from the nv set command.

nv set service dns <vrf-id>

Provides commands to configure the Domain Name Server (DNS) service.


nv set service dns <vrf-id> search <domain>

Configures the domains to search for name matches.

Command Syntax

SyntaxDescription
<vrf-id>The VRF you want to configure.
<domain>The domain name or IPv4 address.

Version History

Introduced in Cumulus Linux 5.2.0

Example

cumulus@switch:~$ nv set service dns default search nvidia.com

nv set service dns <vrf-id> server <dns-server-id>

Configures a remote DNS server.

Command Syntax

SyntaxDescription
<vrf-id>The VRF you want to configure.
<dns-server-id>The IPv4 or IPv6 address of the remote DNS server.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv set service dns default server 192.0.2.44