Making use of the nslookup and host utilities in the context of information gathering
The nslookup utility is a common command line utility that is installed by default in most operating systems.
The nslookup utility is a common command line utility that is installed by default in most operating systems.
The host is a similar tool to nslookup that doesn't run in interactive mode but can still retrieve DNS records, initiate zone transfers and more.
$ host -t a target.devleague.com
$ host -t ns target.devleague.com
$ host -l target.devleague.com ns.targethosting.com
DNS Record Query
DNS Zone Transfer
The nslookup utility can be used in the following common scenarios:
Windows/Mac/Linux
$ ping target.devleague.com
The most basic usage of nslookup is