Setting the IPv4 Primary DNS Server

After selecting the static IP configuration mode, use this command syntax to specify the primary DNS server. If you have selected the DHCP configuration mode, you still can manually specify DNS servers with this command and then override the DHCP-assigned DNS servers. See Overriding the IPv4 DHCP-Assigned DNS Server.

config:#

network ipv4 primaryDNSServer <ip address>

Variables:

See Also

Configuring IPv4 Parameters

Setting the IPv4 Configuration Mode

Setting the IPv4 Preferred Host Name

Setting the IPv4 Address

Setting the IPv4 Subnet Mask

Setting the IPv4 Gateway

Setting the IPv4 Secondary DNS Server

Overriding the IPv4 DHCP-Assigned DNS Server

Setting IPv4 Static Routes