User Manual

Table Of Contents
7.11.1 Set DNS lookup function
[Syntax]
dns-client switch
no dns-client
[Parameter]
switch : Behavior of the DNS client
Setting value Description
enable Enable the DNS client
disable Disable the DNS client
[Initial value]
dns-client disable
[Input mode]
global configuration mode
[Description]
Enables or disables the DNS lookup function.
If this command is executed with the "no" syntax, the function is disabled.
[Example]
Enable the DNS lookup function.
SWX3220(config)#dns-client enable
7.11.2 Set DNS server list
[Syntax]
dns-client name-server server
no dns-client name-server server
[Parameter]
server : A.B.C.D
IPv4 addtess of the DNS server
: X:X::X:X
IPv6 address of the DNS server
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a server to the DNS server list.
Up to three servers can be specified.
If this command is executed with the "no" syntax, the specified server is deleted from the DNS server list.
[Note]
If the ip address dhcp command was used to obtain the DNS server list from the DHCP server, the setting of this command
takes priority.
However if fewer than three items were registered to the DNS server list by this command, up to a total of three items of the
DNS server list obtained from the DHCP server are added to the end of this list.
Command Reference | Layer 3 functions | 265