Set Dns Server List; Set Default Domain Name - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

206 | Command Reference | Layer 3 functions
[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.
SWR2311P(config)#dns-client enable

7.10 Set DNS server list

[Syntax]
dns-client name-server server
no dns-client name-server server
[Parameter]
server
[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.
[Example]
Add the IP addresses 192.168.100.1, 2001:db8::1234, and fe80::2a0:deff:fe11:2233 to the DNS server list.
SWR2311P(config)#dns-client name-server 192.168.100.1
SWR2311P(config)#dns-client name-server 2001:db8::1234
SWR2311P(config)#dns-client name-server fe80::2a0:deff:fe11:2233%vlan1

7.11 Set default domain name

[Syntax]
dns-client domain-name name
no dns-client domain-name name
[Parameter]
name
[Initial value]
none
:
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)
:
Domain name (maximum 255 characters)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents