Kbase P60793: How to use nslookup to verify whether the DNS is working as expected?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Verified
GOAL:
How to use nslookup to verify whether the DNS is working as expected?
GOAL:
How to validate DNS configuration between a client and a server machine?
FIX:
nslookup is an OS utility that sends queries to Internet domain name servers. This tool can be helpful when trouble shooting client server connection problems.
Following steps can be done when you experience slow connection from client to server and attempt to validate DNS configuration between the client and the server.
- Open a Command Prompt Window under Windows, or go the operating system
prompt under UNIX
- Run nslookup. A prompt will appear asking for an IP address or a
host name.
- Enter the IP address for the client workstation (212.127.168.4 in
the example). A message telling the corresponding host name should
appear quickly.
- Enter the hostname for the client workstation (myHostName). A
message telling the corresponding IP address should appear quickly.
- Enter the fully-qualfied hostname for the client workstation
(myHostName.myDomain). A message telling the corresponding IP address
should appear quickly.
- Enter 'exit' to quit nslookup.
If one or more messages did not appear quickly, or if the result was a
failure (a message like "*** myDNSServer can't find 212.127.168.4:
Non-existent domain") then the we know that there is a problem in the DNS configuration.
Please reference operating system documentation for instructions on how to address the problem.