Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show host

    Syntax

    show host hostname

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Command introduced in Junos OS Release 11.1 for the QFX Series.

    Description

    Display Domain Name System (DNS) hostname information.

    Options

    hostname

    Hostname or address.

    Additional Information

    The show host command displays the raw data received from the DNS server.

    Required Privilege Level

    view

    List of Sample Output

    show host

    Sample Output

    show host

    user@host> show host snark
    snark.boojum.net has address 192.168.1.254
    
    user@host> show host 192.168.1.254
    Name: snark.boojum.net 
    Address: 192.168.1.254
    Aliases:
    

    Published: 2013-01-30