nslookup

To look up the hostname of a remote system on the Cisco CDA server, use the nslookup command in the EXEC mode.

nslookup word

Syntax Description

nslookup

The command to search the IP address or hostname of a remote system.

word

IPv4 address or hostname of a remote system. Supports up to 64 alphanumeric characters.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

None.

Examples

Example 1

/admin# nslookup 1.2.3.4

Trying "4.3.2.1.in-addr.arpa"

Received 127 bytes from 171.70.168.183#53 in 1 ms

Trying "4.3.2.1.in-addr.arpa"

Host 4.3.2.1.in-addr.arpa. not found: 3(NXDOMAIN)

Received 127 bytes from 171.70.168.183#53 in 1 ms

 

/admin#

Example 2

/admin# nslookup 209.165.200.225

Trying "225.200.165.209.in-addr.arpa"

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65283

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

 

;; QUESTION SECTION:

;225.200.165.209.in-addr.arpa. IN PTR

 

;; ANSWER SECTION:

225.200.165.209.in-addr.arpa. 86400 IN PTR 209-165-200-225.got.net.

 

;; AUTHORITY SECTION:

200.165.209.in-addr.arpa. 86400 IN NS ns1.got.net.

200.165.209.in-addr.arpa. 86400 IN NS ns2.got.net.

 

Received 119 bytes from 171.70.168.183#53 in 28 ms

 

/admin#