nslookup interactive mode

Using the interactive mode of nslookup is easy.

Start nslookup in interactive mode simply by typing nslookup and pressing Enter:

$ nslookup

nslookup interactive mode start

Then type in the domain you want to look up, press Enter:


google.com Server: Address:

Non-authoritative answer:
Name: google.com
Name: google.com
Address: 2c0f:fb50:4003:802::200e

nslookup interactive mode typed Google domain to look up

Let's say you want to find all DNS records of google.com. Start by setting the type to any:

set type=any

Then type the domain you want to look up: