chdnsserver

Use the chdnsserver command to change a Domain Name System (DNS) server Internet Protocol (IP) address or name on a system.

Syntax

Note: This command is not supported by 840 AE1.
Read syntax diagramSkip visual syntax diagram chdnsserver -ipip_address-namedns_namedns_namedns_id

Parameters

-ip ip_address
(Optional) Specifies the DNS server IP address. The value must be in standard IPv4 or IPv6 format.
-name DNS_name
(Optional) Specifies a unique name for the system DNS server that is being changed.
dns_name | dns_id
(Required) Specifies DNS unique name or ID associated with the DNS server that is being changed.

Description

This command changes DNS server parameters (such as an IP address or name).

An invocation example

chdnsserver -ip 192.168.48.220 1

The resulting output:

No feedback

An invocation example

chdnsserver -name dns1 1

The resulting output:

No feedback