CLI Reference Guide-R01

Table Of Contents
Chapter 28
| Domain Name Service Commands
DNS Commands
– 776 –
3 4 CNAME POINTER TO:2 1787 www.ignitenet.com
Console#
show hosts This command displays the static host name-to-address mapping table.
Command Mode
Privileged Exec
Example
Note that a host name will be displayed as an alias if it is mapped to the same
address(es) as a previously configured entry.
Console#show hosts
No. Flag Type IP Address TTL Host
---- ---- ------- -------------------- ----- ----------------------------------
0 2 Address 192.168.2.1 rdrouter
1 4 Address 52.196.118.60 3341 www.accton.com
2 4 Address 166.62.56.229 21381 www.edge-core.com
3 4 Address 35.201.87.174 1627 ignitenet.com
4 4 CNAME POINTER TO:3 1628 www.ignitenet.com
Console#
Table 151: show dns cache - display description
Field Description
No. The entry number for each resource record.
Flag The flag is always “4” indicating a cache entry and therefore unreliable.
Type This field includes “Host” which specifies the primary name for the owner, and
“CNAME” which specifies multiple domain names (or aliases) which are
mapped to the same IP address as an existing entry.
IP Address The IP address associated with this record.
TTL The time to live reported by the name server.
Host The host name associated with this record.
Table 152: show hosts - display description
Field Description
No. The entry number for each resource record.
Flag The field displays “2” for a static entry, or “4” for a dynamic entry stored in the
cache.
Type This field includes “Address” which specifies the primary name for the owner,
and “CNAME” which specifies multiple domain names (or aliases) which are
mapped to the same IP address as an existing entry.
IP Address The IP address associated with this record.