• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dnsmap: command not found

by Deepika

dnsmap is a command-line tool for Linux and Unix systems that is used to perform reconnaissance on a target domain. It can be used to map the IP addresses of a domain’s DNS servers, as well as to discover subdomains and hostnames associated with a domain. dnsmap can be useful for penetration testing, security assessments, and reconnaissance of an organization’s network infrastructure. It can be run on the command line and provide the output in the form of list of subdomains and IP addresses.

If you encounter the below error while running the command dnsmap:

dnsmap: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Kali Linux apt-get install dnsmap
Fedora dnf install dnsmap
OS X brew install dnsmap

dnsmap Command Examples

1. Scan for subdomains using the internal wordlist:

# dnsmap example.com

2. Specify a list of subdomains to check for:

# dnsmap example.com -w path/to/wordlist.txt

3. Store results to a CSV file:

# dnsmap example.com -c path/to/file.csv

4. Ignore 2 IPs that are false positives (up to 5 possible):

# dnsmap example.com -i 123.45.67.89,98.76.54.32

Filed Under: Linux

Some more articles you might also be interested in …

  1. lvdisplay: command not found
  2. CentOS/RHEL7 – Tuned Profiles Oracle
  3. exec Command Examples in Linux
  4. ascii Command Examples in Linux
  5. How to configure CentOS/RHEL 6 system to not used last 3 passwords used
  6. How to Disable IPv6 on Ubuntu 20.04 Focal Fossa
  7. Unable To Boot Up Linux OS with Auditd (CentOS/RHEL)
  8. How to allow only specific non-root user(s) to use crontab
  9. XFS error: Unable to mount filesystem With Noacl Permission in CentOS/RHEL 7
  10. chronyc : command not found

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright