- 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.
推薦閱讀
- Learning OpenDaylight
- Mastering ElasticSearch
- 阿里云數字新基建系列:云原生操作系統Kubernetes
- 白話區塊鏈
- Learn Helm
- 深入Linux內核架構與底層原理(第2版)
- Windows Server 2012網絡操作系統企業應用案例詳解
- Kubernetes從入門到實踐
- Advanced TypeScript Programming Projects
- Django Project Blueprints
- Vim 8文本處理實戰
- Linux系統最佳實踐工具:命令行技術
- Mastering Windows 8 C++ App Development
- Office 365 User Guide
- 完美應用Ubuntu(第2版)