Set Search Domain List; Show Dns Client Information - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

[Input mode]
global configuration mode
[Description]
Specifies the default domain name used for DNS queries.
If this command is executed with the "no" syntax, the default domain name is deleted.
[Note]
The setting of this command takes priority if the default domain name (option code 15) was obtained from the DHCP server by
the ip address dhcp command.
If a search domain list is specified by the dns-client domain-list command, the default domain name specified by this
command and the default domain name automatically specified by the ip address dhcp command are not used.
[Example]
Set the default domain name to "example.com".
SWR2311P(config)#dns-client domain-name example.com

7.12 Set search domain list

[Syntax]
dns-client domain-list name
no dns-client domain-list name
[Parameter]
name
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a domain name to the list of domain names used for DNS queries.
Up to six domains can be registered in the search domain list.
If this command is executed with the "no" syntax, the specified domain name is deleted from the search domain list.
[Note]
If a search domain list is specified by this command, the default domain name specified by the dns-client domain-name
command and the default domain name automatically specified by the ip address dhcp command are not used.
[Example]
Add the domain names "example1.com" and "example2.com" to the search domain list.
SWR2311P(config)#dns-client domain-list example1.com
SWR2311P(config)#dns-client domain-list example2.com

7.13 Show DNS client information

[Syntax]
show dns-client
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the DNS client information.
The following content is shown.
Item
DNS Client is enabled
DNS Client is disabled
:
Domain name (maximum 255 characters)
Command Reference | Layer 3 functions | 207
Description
Enable the DNS client
Disable the DNS client

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents