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

google.com Server: 192.168.224.1 Address: 192.168.224.1#53

Non-authoritative answer:
Name: google.com
Address: 216.58.223.238
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:

google.com