Skip to main content
For all of the flags and options available for Subfinder be sure to check out the Usage page. On this page we’ll share examples running Subfinder with specific flags and goals and the output you can expect from each. If you have questions, reach out to us through Help.

Basic Usage

To run Subfinder on a specific target use the -d flag to specify the domain.

Pipe Results to Other Tools

The subdomains discovered can be piped to other tools. For example, you can pipe the discovered subdomains to httpx which will then find running HTTP servers on the host.

Subfinder and Docker

Pull the latest tagged subfinder Docker image using:
Run subfinder using the Docker image:
Run subfinder using the Docker image with a local config file:

Subfinder Go library

subfinder can also be used as library and a minimal examples of using subfinder SDK is available in the example library.