IBM Support

The NSLOOKUP Command

Troubleshooting


Problem

What is the NSLOOKUP command and how can it be of used in conjunction with Performance Testing?

Resolving The Problem

NSLOOKUP is the name of a program that lets an Internet server administrator or user enter a host name (for example, "whatis.com") and find out the corresponding IP address. It will also do reverse name look up and find the host name for an IP address you specify.
For example, if you entered "whatis.com", you would receive as a response the whatis.com server's IP address, which happens to be :

216.34.126.200

Or if you entered "216.34.126.200", it would return "whatis.com".

NSLOOKUP sends a domain name query packet to a designated (or defaulted) domain name system (DNS) server. Depending on the system you are using, the default may be the local DNS name server at your service provider, some intermediate name server, or the root server system for the entire domain name system hierarchy.

Example of NSLOOKUP usage:
1) Open Command Window (Go to Start--> Run, type in cmd)
2) Type in NSLOOKUP internetsite.com (i.e., NSLOOKUP whatis.com)
OR
Type in NSLOOKUP IP Address (i.e., NSLOOKUP 216.34.126.200)
3) The host name or IP address of the domain should appear

How is this relevant to Load Testing?
Performance Studio requires that host names can be resolved to IP addresses at
the command prompt level. If DNS service (Domain Name Service) is interrupted
through changes in the client's network topology, the scripts may fail to
playback successfully. You can confirm that host names can be resolved at the command prompt level by utilizing NSLOOKUP.



[{"Product":{"code":"SSSHVH","label":"Rational TestManager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations: IBM","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

21160

Document Information

Modified date:
16 June 2018

UID

swg21125302