- Kali Linux:An Ethical Hacker's Cookbook(Second Edition)
- Himanshu Sharma
- 157字
- 2021-06-24 15:59:15
How to do it...
- To view the help, we type the following:
dnsrecon -h
The following screenshot shows the output of the preceding command:

- To do a simple recon of name servers, A records, SOA records, MX records, and so on, we can run the following command:
dnsrecon -d packtpub.com -n 8.8.8.8
The following screenshot shows the output of the preceding command:

- Now let's take an example of a domain that has NSEC records. To do a zone walk, we can simply run the following command:
dnsrecon -z -d icann.org -n 8.8.8.8
The following screenshot shows the output of the preceding command:

- We can do this manually by using the dig command along with dig +short NSEC domainname.com.
- The previous dig command will throw us one subdomain, and then we can rerun the same command with the subdomain we got in previous step to find the next subdomain: dig +short NSEC a.domain.com.
推薦閱讀
- Mastering vRealize Operations Manager(Second Edition)
- Containerization with LXC
- 嵌入式操作系統(Linux篇)(微課版)
- 直播系統開發:基于Nginx與Nginx-rtmp-module
- Kali Linux 2018:Windows Penetration Testing
- Ceph分布式存儲實戰
- 云原生落地:產品、架構與商業模式
- Linux設備驅動開發
- Linux系統最佳實踐工具:命令行技術
- 鴻蒙HarmonyOS手機應用開發實戰
- Web Penetration Testing with Kali Linux(Third Edition)
- Agile IT Security Implementation Methodology
- VMware vSphere 5.1 Cookbook
- Linux系統安全:縱深防御、安全掃描與入侵檢測
- Android NDK Beginner's Guide