Sam Chapman .Dev | Personal Development Blog

nslookup

This will give you an overview of the nslookup tool and how to use it. Nslookup is a tool used to lookup DNS information about a specified domain.

nslookup

This launches nslookup in interactive mode and wil prompt you to enter further commands.

> set type=a
> www.example.com

This will display the DNS 'A' record for the specified domain.

> set type=cname
> www.example.com

This will display the DNS 'CNAME' record for the specified domain.

> set type=ns
> www.example.com

This will display the DNS 'NS' record for the specified domain.

> set type=soa
> www.example.com

This will display the DNS 'SOA' record for the specified domain.