• 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 Examples in Linux

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.

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. addr2line Command Examples in Linux
  2. How to Delete the Files Which are Older Than n Days WITHOUT Using find Command
  3. rpc.statd[PID]: Failed to create listener xprt (statd, 1, udp6) – CentOS/RHEL 6, 7
  4. checkupdates: command not found
  5. How to view linux disk partitions (partition table)
  6. UNIX / Linux : How crontab validates the access based on the cron.allow and cron.deny files
  7. How to add words to the dictionary cracklib uses for validating passwords against known dictionary words
  8. How to check the PHP version on Linux
  9. View files using – cat, more, tail, head and wc commands
  10. chfn Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright