A normal DNS query and response occur when a client sends a query to a domain name system server for an IP address. Discover nslookup and dig, command prompt utilities that resolve DNS to IP queries, and explore using command-line tools or online resources to test a DNS query and report the results.
- [Instructor] Nslookup is used…to diagnose Domain Name System.…It's native to most operating systems.…And when you get into it,…you can either use it in noninteractive,…which is the default,…or interactive modes.…So what I'm going to do…is go out to the Windows command line prompt…and we'll just try nslookup with Google.…All right, now I'm at the Windows command prompt…and just to be safe, I always run as administrator…'cause certain results won't come out as expected…if I don't, but this one would probably be okay,…but let's just put in nslookup google.com…and there you see your results.…
The first one is the local DNS server.…The second one you can see the resolution there.…It's 184.108.40.206.…That's noninteractive.…Nothing fancy there, but if I wanted to do interactive,…I just type nslookup and then press Enter…and then it's asking me what would you like…and I would like Google.…I would like you to tell me…a little bit more about google.com.…Okay, but specifically what?…This time I would say set type=mx.…
I'm asking for the Mail Exchange.…
Note: Our Ethical Hacking series maps to the 18 parts of the EC-Council's certification exam. This course maps to the 02 Footprinting and Reconnaissance domain.
- Using competitive intelligence
- Hacking with search engines
- Using email for footprinting
- Getting social
- Mirroring websites
- Using Ping, Tracert, nslookup, and dig
- Taking footprinting countermeasures
- Pen testing for footprinting