Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/projectdiscovery/dnsprobe
DNSProb is a tool built on top of retryabledns that allows you to perform multiple dns queries of your choice with a list of user supplied resolvers.
https://github.com/projectdiscovery/dnsprobe
bugbounty dns dns-utils dnsprobe retryabledns security subdomain
Last synced: 3 months ago
JSON representation
DNSProb is a tool built on top of retryabledns that allows you to perform multiple dns queries of your choice with a list of user supplied resolvers.
- Host: GitHub
- URL: https://github.com/projectdiscovery/dnsprobe
- Owner: projectdiscovery
- License: mit
- Archived: true
- Created: 2020-04-02T23:26:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T20:08:25.000Z (almost 4 years ago)
- Last Synced: 2024-06-26T00:34:37.868Z (4 months ago)
- Topics: bugbounty, dns, dns-utils, dnsprobe, retryabledns, security, subdomain
- Language: Go
- Homepage: https://projectdiscovery.io/open-source
- Size: 278 KB
- Stars: 273
- Watchers: 10
- Forks: 57
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- WebHackersWeapons - dnsprobe
- awesome-hacking-lists - projectdiscovery/dnsprobe - DNSProb is a tool built on top of retryabledns that allows you to perform multiple dns queries of your choice with a list of user supplied resolvers. (Go)
README
### Note - This project is discontinued. New updates and fixes will be pushed to [dnsx](https://github.com/projectdiscovery/dnsx).
[![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://opensource.org/licenses/MIT)
[![Go Report Card](https://goreportcard.com/badge/github.com/projectdiscovery/dnsprobe)](https://goreportcard.com/report/github.com/projectdiscovery/dnsprobe)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/projectdiscovery/dnsprobe/issues)DNSProbe is a tool built on top of [retryabledns](https://github.com/projectdiscovery/retryabledns) that allows you to perform multiple dns queries of your choice with a list of user supplied resolvers.
# Resources
- [Resources](#resources)
- [Features](#features)
- [Usage](#usage)
- [Installation Instructions](#installation-instructions)
- [From Source](#from-source)
- [Running in a Docker Container](#running-in-a-docker-container)
- [Querying host for A record](#querying-host-for-a-record)
- [Querying host for CNAME record](#querying-host-for-cname-record)
- [Querying CNAME records on the Subfinder output](#querying-cname-records-on-the-subfinder-output)
- [License](#license)# Features
- Simple and Handy utility to query DNS records.
# Usage
```bash
dnsprobe -h
```
This will display help for the tool. Here are all the switches it supports.| Flag | Description | Example |
| ---- | --------------------------------------------------- | ------------------------- |
| -c | Max dns retries (default 1) | dnsprobe -c 5 |
| -l | List of dns domains (optional) | dnsprobe -l domains.txt |
| -r | Request Type A, NS, CNAME, SOA, PTR, MX, TXT, AAAA | dnsprobe -r A |
| -s | List of resolvers (optional) | dnsprobe -s resolvers.txt |
| -t | Number of concurrent requests to make (default 250) | dnsprobe -t 500 |
| -f | Output type | dnsprobe -f json |
| -o | Output file (optional) | dnsprobe -o result.txt |# Installation Instructions
### From Source
dnsprobe requires go1.13+ to install successfully. Run the following command to get the repo -
```curl
GO111MODULE=on go get -v github.com/projectdiscovery/dnsprobe
```### Running in a Docker Container
- Clone the repo using `git clone https://github.com/projectdiscovery/dnsprobe.git`
- Build your docker container
```bash
> docker build -t projectdiscovery/dnsprobe .
```- After building the container using either way, run the following -
```bash
> docker run -it projectdiscovery/dnsprobe
```For example, to query a list of domains for CNAME record and output the results to your host file system:
```bash
> cat domains.txt | docker run -i projectdiscovery/dnsprobe -r CNAME > bugcrowd.txt
```### Querying host for A record
To query a list of domains, you can pass the list via stdin (it also accepts full URLS, in this case the domain is extracted automatically).
```bash
> cat domains.txt | dnsproberoot@test:~# cat bc.txt | dnsprobe
bounce.bugcrowd.com 192.28.152.174
blog.bugcrowd.com 104.20.4.239
blog.bugcrowd.com 104.20.5.239
www.bugcrowd.com 104.20.5.239
www.bugcrowd.com 104.20.4.239
events.bugcrowd.com 54.84.134.174
```### Querying host for CNAME record
```bash
> dnsprobe -l domains.txt -r CNAMEroot@test:~# dnsprobe -l bc.txt -r CNAME
forum.bugcrowd.com bugcrowd.hosted-by-discourse.com.
collateral.bugcrowd.com bugcrowd.outrch.com.
go.bugcrowd.com mkto-ab270028.com.
ww2.bugcrowd.com bugcrowdinc.mktoweb.com.
researcherdocs.bugcrowd.com ssl.readmessl.com.
docs.bugcrowd.com ssl.readmessl.com.
```This will run the tool against domains in `domains.txt` and returns the results. The tool uses the resolvers specified with -s option to perform the queries or default system resolvers.
### Querying CNAME records on the Subfinder output
```bash
> subfinder -d bugcrowd.com -silent | dnsprobe -r cnameroot@b0x:~# subfinder -d bugcrowd.com -silent | dnsprobe -r cname
forum.bugcrowd.com bugcrowd.hosted-by-discourse.com.
docs.bugcrowd.com ssl.readmessl.com.
go.bugcrowd.com mkto-ab270028.com.
ww2.bugcrowd.com bugcrowdinc.mktoweb.com.
researcherdocs.bugcrowd.com ssl.readmessl.com.
collateral.bugcrowd.com bugcrowd.outrch.com.
proxilate.bugcrowd.com proxilate.a.bugcrowd.com.
```# License
DNSProbe is made with 🖤 by the [projectdiscovery](https://projectdiscovery.io) team.