The parameters have the following meaning:
Parameter
Description
Range of values / note
learned-only
The device uses only the DNS servers as‐
signed by DHCP.
-
manually-only
The device uses only the manually config‐
ured DNS servers. A maximum of three
DNS servers can be configured.
-
all
The device uses all available DNS serv‐
ers.
-
Result
The device uses the DNS servers specified in the configuration.
8.1.2.12
ip name server
Description
This command specifies an IPv4 address or IPv6 address of a DNS server. If there is more
than one server, you can specify the order in which the servers are queried. To allow this, the
optional parameter
index
is available. The server with the lowest index is queried first.
Requirement
You are in the Global Configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call up the command with the following parameters:
ip name-server {ipv4 <ucast_addr> | ipv6 <ip6_addr>} [index
<integer(1-3)>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ipv4
Keyword for IPv4
-
ucast_addr
IPv4 address of the DNS server
Enter a valid IPv4 address.
ipv6
Keyword for IPv6
-
ip6_addr
IPv6 address of the DNS server
Enter a valid IPv6 address.
index
Keyword for the index
-
integer
Index of the DNS server
1 ... 3
Network protocols
8.1 IPv4 protocol
SCALANCE W770/W730 acc. to IEEE 802.11n Command Line Interface
Configuration Manual, 09/2017, C79000-G8976-C324-08
353