Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 3 DNS Configuration Commands
3Com Corporation
3-7
Description
Use the display dns dynamic-host command to view the current contents in the
domain name cache of the DNS client.
The DNS client retains the result of each successful domain name resolution in its
cache. If it receives the same resolving request later, it first looks up the cache for a
match. And if no match is found, it sends a domain name resolving request to the DNS
server. You can use this command to view the current contents in the buffer.
Example
# Display the current contents in the domain name cache of the DNS client.
[Router]display dns dynamic-host
No Host --Æ Ipaddress TTL Alias
1 www.sohu.com 91.1.1.1 3521
2 www.sina.com.cn 87.1.1.1 3000
No Host Å-- Ipaddress TTL Alias
1 www.163.com 191.1.1.1 3561
2 www.263.com 187.1.1.1 3300
Note:
The first part of the output is the result of Class A query, or the result queried by host;
the second part of the output is the result of PTR class query, or the result queried by IP
address.
3.2.8 nslookup type
Syntax
nslookup type { ptr ip-address | a domain-name }
View
Any view
Parameter
ptr ip-address: Resolves the specified IP address to a domain name.
a domain-name: Resolves the specified domain name to an IP address. The domain
name is a string of up to 30 characters. Automatic domain name appending is
supported.