User Manual

Table Of Contents
However if fewer than six items were registered by this command in the query domain list, up to six items from the query
domain list obtained by the DHCP server are added to the end of this list.
[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 or DHCPv6 Client.
Command Reference | Layer 3 functions | 253