6.12 nslookup

This command returns the IP address for a given hostname, or returns a hostname for a given IP address.

Options

Options and option parameters that are underlined indicate that a value must be specified for that option or parameter. For example, the nslookup command has the option destination. An IP address or hostname can be specified for the destination, as in the commands nslookup 192.168.100.3 and nslookup dcm1107a. Do not enter the underlined option or parameter; enter a value for the information represented by the underlined option or parameter.

destination

The destination can be either an IP address or hostname.

IP address

The IP address is a TCP/IP address expressed in standard “dot notation.” IP addresses consist of the system’s network number and the machine’s unique host number. An example IP address is 192.9.200.44, where 192.9.200 is the network number and 44 is the machine’s host number.

Range:
4 numbers separated by dots, with each number in the range of 0-255.
hostname

Hostname. The logical name assigned to the device with the IP address indicated.

Range:
a-z, A–Z, 0–9, -, .

(any string of characters beginning with a letter and comprising up to 60 characters in length)

-h

This option provides help information for the command.

Example

nslookup 192.9.200.44

nslookup nc.tekelec.com

nslookup 2005:1a3c:2a3e:12ef:9064:8b6c:567a:78fd

Dependencies

The actual nslookup text string must be followed by a destination (either a hostname or IP address).

Whether a host is found depends on the configuration of the host table and domain name servers.

Notes

The nslookup command is executed through the pass command.

Output

pass:loc=1105:cmd="nslookup"

or

pass:loc=1105:cmd="nslookup -h"
Command Accepted - Processing
    rlghncxa03w 04-07-27 08:43:21 EST  EAGLE5 31.6.0
    pass:loc=1105:cmd="nslookup"
    Command entered at terminal #1.
;
    rlghncxa03w 04-07-27 08:43:21 EST  EAGLE5 31.6.0
    PASS: Command sent to card
;
    rlghncxa03w 04-07-27 08:43:21 EST  EAGLE5 31.6.0

    Usage: nslookup [hostname|ipaddr]

    Options:
        hostname  String name
        ipaddr    d.d.d.d
;
    rlghncxa03w 04-07-27 08:43:22 EST  EAGLE5 31.6.0
    NSLOOKUP command complete

pass:loc=1105:cmd="nslookup dcm1107a"
Command Accepted - Processing
    rlghncxa03w 04-07-27 08:43:46 EST  EAGLE5 31.6.0
    pass:loc=1105:cmd="nslookup dcm1107a"
    Command entered at terminal #1.
;

    rlghncxa03w 04-07-27 08:43:46 EST  EAGLE5 31.6.0
    PASS: Command sent to card
;

    rlghncxa03w 04-07-27 08:43:46 EST  EAGLE5 31.6.0

    NSLOOKUP command in progress

;
    rlghncxa03w 04-07-27 08:43:46 EST  EAGLE5 31.6.0

    Configured Domain Name Data

    DNSA = 192.168.100.3
    DNSB = 0.0.0.0
    Domain Name = nc.tekelec.com
    Search Order = LOCAL First

    Resolving host name - dcm1107a

    Host Table entry
        dcm1107a - 192.168.100.113
    DNS Server - No entry exists

    Currently using Host Table entry

    NSLOOKUP command complete
;

pass:loc=1105:cmd="nslookup 198.89.40.60"
Command Accepted - Processing

    rlghncxa03w 04-07-27 13:21:49 EST EAGLE5 31.6.0
    pass: loc=1105: cmd="nslookup 198.89.40.60"
    Command entered at terminal #1.
;

    rlghncxa03w 04-07-27 13:21:49 EST EAGLE5 31.6.0
    PASS: Command sent to card
;

    rlghncxa03w 04-07-27 13:21:49 EST EAGLE5 31.6.0

    NSLOOKUP command in progress


;

    rlghncxa03w 04-07-27 13:21:49 EST EAGLE5 31.6.0

    Configured Domain Name Data

    DNSA = 198.89.40.60
    DNSB = 0.0.0.0
    Domain Name = nc.tekelec.com
    Search Order = LOCAL First

    Resolving IP address - 198.89.40.60

    Host Table - No entry exists
    DNS Server
        tekral.nc.tekelec.com - 198.89.40.60

    Currently using DNS Server entry


    NSLOOKUP command complete