nslookup

> nslookup			# The information displayed will be the local DNS server and its IP address.
> nslookup dixu.ddns.net	# Return the A record for a domain.
> nslookup -type=a dixu.ddns.net	# Return the A record for a domain.
> nslookup -type=MX dixu.ddns.net	# MX records for the email exchange.
> nslookup -type=NS dixu.ddns.net	# NS records of a domain.

> nslookup -query=a google.com
> nslookup -query=mx google.com
> nslookup -query=ns google.com
> nslookup -type=soa sayboy.ddns.net		# SOA record of a domain.
> nslookup -type=any dixu.ddns.net		# All of the available DNS records.
> nslookup example.com ns1.nsexample.com	# Using of a specific DNS Server.
> nslookup 10.20.30.40				# Check the Reverse DNS Lookup.
> nslookup -type=ptr 96.96.136.185.in-addr.arpa		# Check for a PTR record.
> nslookup -timeout=20 example.com			# Change the timeout interval.
> nslookup -debug example.com				# Enable debug mode.
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus