Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show system name-resolution

Syntax

show system name-resolution

Release Information

Command introduced in Junos OS Release 9.6.

Description

Display hostname-to-IP-address mappings.

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

Output Fields

Table 1 lists the output fields for the show system name-resolution command. Output fields are listed in the approximate order in which they appear.

Table 1: show system name-resolution Output Fields

Field Name

Field Description

Last update

Date and time when the hostname-to-IP address mapping were last resolved.

Refresh interval

Interval for refreshing the cache with the updated hostname-to-IP address mappings.

Addresses

Resolved IP addresses based on the hostname-to-IP address mappings.

Error

Error message displayed if there is a DNS hostname lookup failure.

Last change

Timestamp for the last change in the hostname-to-IP address mappings.

show system name-resolution

user@host> show system name-resolution
Hostname to IP-address mappings:
--------------------------------------------------
 Last update: Mon Sep 29 18:42:21 2008
 Refresh interval: 600 secs
 Host: ntp1
      Addresses:
        3.3.3.11
      Last change: Mon Sep 29 18:42:20 2008
 Host: radauth1
      Error: Host name lookup failure
Last change: Mon Sep 29 18:42:20 2008
Host: radacct1
      Error: Host name lookup failure
Host: snmp1
      Addresses:
        4.4.4.1            
        4.4.4.2            
      Last change: Mon Sep 29 18:45:20 2008
Host: sys1
      Addresses:
        192.168.68.69
      Last change: Mon Sep 29 18:42:21 2008

Published: 2013-03-14

Published: 2013-03-14