← 返回
未分类 Key 中文

RapidDNS

DNS reconnaissance and subdomain enumeration using rapiddns-cli (RapidDNS API). Use when: searching subdomains of a domain, reverse IP lookup, CIDR enumerati...
DNS侦察与子域名枚举工具 rapiddns-cli(基于 RapidDNS API)。适用场景:搜索域名的子域名、反向 IP 查询、CIDR 枚举。
rapiddns rapiddns 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 350
下载
💾 0
安装
1
版本
#latest

概述

rapiddns — DNS Reconnaissance via RapidDNS

Installation

rapiddns-cli is cross-platform. Install via pre-built binary (recommended) or Go.

Option 1: Pre-built Binary (Recommended)

Download from GitHub Releases:

PlatformFile
----------------
macOS (Intel)rapiddns_*_darwin_amd64.tar.gz
macOS (Apple Silicon)rapiddns_*_darwin_arm64.tar.gz
Linux (x86_64)rapiddns_*_linux_amd64.tar.gz
Linux (ARM64)rapiddns_*_linux_arm64.tar.gz
Windows (x86_64)rapiddns_*_windows_amd64.zip
# Linux/macOS example
VERSION="1.0.2"
OS="linux"       # or "darwin" for macOS
ARCH="amd64"     # or "arm64"
curl -sL "https://github.com/rapiddns/rapiddns-cli/releases/download/v${VERSION}/rapiddns_v${VERSION}_${OS}_${ARCH}.tar.gz" | tar xz
sudo mv rapiddns /usr/local/bin/
rapiddns-cli --help

Option 2: Go Install

Requires Go 1.24+:

go install github.com/rapiddns/rapiddns-cli@latest

Binary is placed in $GOPATH/bin (usually ~/go/bin). Add to PATH:

echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.bashrc  # Linux
# or ~/.zshrc on macOS

API Key Configuration

Full features (export, unlimited search) require an API key from https://rapiddns.io/user/profile

rapiddns-cli config set-key <API_KEY>
rapiddns-cli config get-key   # verify

Without a key, search results are limited and export is disabled.

Common Workflows

Subdomain Search

# Basic — all records for a domain
rapiddns-cli search example.com

# Force search type (when auto-detect fails)
rapiddns-cli search 1.2.3.4 --type ip

# Auto-paginate up to 5000 records
rapiddns-cli search example.com --max 5000

Extract Subdomains / IPs

# Subdomains only (deduplicated text list)
rapiddns-cli search example.com --extract-subdomains

# IPs only + subnet statistics
rapiddns-cli search example.com --extract-ips

# Both
rapiddns-cli search example.com --extract-subdomains --extract-ips

Reverse IP & CIDR

# Reverse IP — what domains point to this IP?
rapiddns-cli search 1.2.3.4

# CIDR range — enumerate an entire subnet
rapiddns-cli search 129.134.0.0/16 --max 10000

Advanced Query

Use Elasticsearch-style syntax for complex queries:

# All A records for apple.com subdomains (domain = 2nd-level only!)
rapiddns-cli search "domain:apple AND type:A" --type advanced

# Specific subdomain pattern
rapiddns-cli search "subdomain:admin.* AND tld:com" --type advanced

# MX records for a domain
rapiddns-cli search "type:MX AND domain:baidu" --type advanced

# Exact subdomain lookup
rapiddns-cli search 'subdomain:"mail.google.com"' --type advanced

Export (Requires API Key)

Automated workflow: trigger → poll → download → extract:

# Full export with subdomain + IP extraction
rapiddns-cli export start example.com --max 100000 --extract-subdomains --extract-ips

# Advanced query export
rapiddns-cli export start "domain:example AND type:A" --type advanced

Results saved to result/ directory.

Output Formats & Piping

# JSON (default)
rapiddns-cli search example.com -o json

# CSV
rapiddns-cli search example.com -o csv -f results.csv

# Text — pipe-friendly (stdout = clean data, stderr = status)
rapiddns-cli search example.com --column subdomain -o text | sort -u > subdomains.txt

# Silent mode — extract to files only, no console output
rapiddns-cli search example.com --extract-subdomains --silent

Field Reference

FieldDescription
--------------------
subdomainThe subdomain (e.g. www.example.com)
typeDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)
valueRecord value (IP, target, etc.)
timestampLast observation timestamp
dateDate of last observation

Advanced Query Syntax

OperatorExample
-------------------
Domain (2nd-level only)domain:apple ⚠️ NOT domain:apple.com
Type filtertype:A, type:MX, type:CNAME
TLD filtertld:com, tld:cn
Subdomain matchsubdomain:apple.com* (trailing wildcard)
Exact subdomainsubdomain:"a.ns.example.com"
Value/IPvalue:"1.1.1.1"
Booleandomain:apple AND type:A
Negationdomain:apple AND NOT subdomain:www.*

Available fields: domain, tld, subdomain, value, type, is_root

⚠️ domain 字段是二级域名(不含 TLD):用 domain:baidu,不要用 domain:baidu.com

Important: Date Accuracy

  • Use -o text for displaying results with dates — includes subdomain, type, value, date.
  • Use --column subdomain -o text for pure subdomain lists (pipe to other tools).
  • JSON output (-o json) also includes dates but needs parsing; prefer -o text for display.
  • Dates come directly from the API and match the rapiddns.io website exactly.

Response Language

  • Match the user's language. If they ask in Chinese, respond in Chinese. If English, respond in English.
  • CLI output (tables, lists) stays as-is (machine output). Summaries and explanations follow the user's language.

Display results

# Tab-separated table with dates (sorted newest first by default)
rapiddns-cli search <target> --max 5000 -o text 2>/dev/null

# Pure subdomain list for piping
rapiddns-cli search <target> --max 5000 --column subdomain -o text 2>/dev/null | sort -u

Tips

  • Use --silent when piping or saving to file to suppress console output
  • Note: --silent with --extract-subdomains still prints the extracted file path to stdout (CLI behavior)
  • --max auto-paginates — no need to manually loop pages
  • Without API key: search works but limited results; export disabled
  • For large-scale recon, combine --extract-subdomains with other tools via pipe

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,648
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,971
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomas-security
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 30,948