4 dns lookup, 5 show dns name-server, Dns lookup – PLANET XGS3-24040 User Manual
Page 848: Show dns name, Server
61-2
Parameter:
address,
Command Mode: Global Mode.
Default: Not configuration.
Usage Guide: This command is used for configure or delete DNS server, when need to enable dynamic
domain name mapping, the switch will sending a domain name search request packet to configured DNS
server, the DNS server can be configured no more than 6. The priority is the optional parameter, if priority
is configured, the DNS server must be organized according to the order of priority, from high to low. That
is the switch sending domain name search request to the server which have the biggest priority, so some
DNS server with quick search speed and used frequently can be configured to highest priority. If priority is
not configured, to search DNS server must according to the configuration order. When the switch serves
as a DNS SERVER, the queries to the DNS SERVER won’t follow the above privilege rule; instead, the
requests will be sent to all configured servers at the same time
Example: To configure the priority of DNS server as 200, the server’s address is 10.1.120.241.
Switch(config)# dns-server 10.1.120.241 priority 200
61.4 dns lookup
Command: dns lookup {ipv4 | ipv6}
Function: To enable DNS dynamic domain name resolution.
Parameter: {ipv4 | ipv6} means the IPv4 or IPv6 address look up,
host name, less than 63 characters.
Command Mode: Global Mode.
Default: Disabled.
Usage Guide: This command is used to look up correspond address based on entered client name, it
can look up both IPv4 and IPv6 address. This command only used for domain name mapping, it have no
other application function. When command is running, interrupt is forbidding. If configured many servers
and domain name suffix, longer time will be required for domain name mapping.
Example: To look up the IPv4 address of www.sina.com.
Switch(config)# dns lookup ipv
61.5 show dns name-server
Command: show dns name-server
Function: To display the information of configured DNS server.
Parameter: None.
Command Mode: Admin and Configuration Mode.
Example:
Switch# show dns name-server
DNS NAME SERVER:
Address Priority
10.1.120.231 100
10.1.180.85 80