User Manual

[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.
SWP2(config)#dns-client domain-list example1.com
SWP2(config)#dns-client domain-list example2.com
7.11.5 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 Description
DNS Client is enabled Enable the DNS client
DNS Client is disabled Disable the DNS client
Default domain Default domain name
Domain list Search domain list
Name Servers DNS server list (IP address)
[Example]
Show the DNS client information.
SWP2>show dns-client
DNS client is enabled
Default domain : example.com
Domain list : example1.com example2.com
Name Servers : 192.168.100.1 2001:db8::1234 fe80::2a0:deff:fe11:2233%vlan1
* - Values assigned by DHCP Client.
206 | Command Reference |
Layer 3 functions