dns settings

This command configures the default primary and secondary DNS servers.

Syntax

(config-network)# dns settings 
(dns-settings)# 

Command

Description

dns-default-primary-server-ip

Defines the IP address of the default primary IPv4 DNS server.

dns-default-secondary-server-ip

Defines the IP address of the default secondary IPv4 DNS server.

dns-default-primary-server-ipv6

Defines the IP address of the default primary IPv6 DNS server.

dns-default-secondary-server-ipv6

Defines the IP address of the default secondary IPv6 DNS server.

Command Mode

Privileged User

Example

This example configures the IP address of the default primary IPv4 DNS server to 210.1.1.2:

(config-network)# dns settings
(dns-settings)# dns-default-primary-server-ip 210.1.1.2