v1.0.0
DNS Probe Tool v1.0.0
🎉 Initial Release
DNS Probe Tool is a DNS probing tool written in Go, supporting multiple platforms and architectures.
✨ Features
- 🔍 Basic Query - Concurrent probing of multiple DNS servers
- 📊 Record Types - Supports A/AAAA/CNAME/MX/NS/TXT/SOA/SRV/CAA/PTR and more
- 🎨 Formatted Output - Terminal-friendly formatted output
- 🌐 Auto Detection - Automatically detects system DNS servers
- 🔧 Customization - Supports custom DNS servers
- 💻 Cross-Platform - Windows/Linux/macOS
- 🏗️ Cross-Architecture - amd64/arm64
- 📝 JSON Output -
--jsonformatted output - 🛡️ DNS Pollution Detection -
--pollutiondetects DNS pollution - 🔐 DNSSEC Validation -
--dnssecverifies DNSSEC signatures - 🔒 DoH Support -
--dohDNS over HTTPS - 🔒 DoT Support -
--dotDNS over TLS - 📄 HTML Report -
--htmlgenerates visual report - 📁 Batch Query -
--filebatch query domains - 📚 History -
--historyview query history
📦 Download
| Platform | Architecture | File |
|---|---|---|
| Windows | amd64 | dns-probe-windows-amd64.exe |
| Linux | amd64 | dns-probe-linux-amd64 |
| Linux | arm64 | dns-probe-linux-arm64 |
🚀 Quick Start
Windows
# Download and run
.\dns-probe-windows-amd64.exe example.comLinux
# Download
wget https://github.com/vito-L/dns-probe/releases/download/v1.0.0/dns-probe-linux-amd64
# Add execute permission
chmod +x dns-probe-linux-amd64
# Run
./dns-probe-linux-amd64 example.com📖 Usage Examples
# Basic query
dns-probe example.com
# Use specified DNS servers
dns-probe example.com 8.8.8.8 114.114.114.114
# Query all record types
dns-probe example.com --all
# DNSSEC validation
dns-probe example.com --dnssec 8.8.8.8
# DNS pollution detection
dns-probe example.com --pollution
# DoH query
dns-probe example.com --doh https://dns.google/dns-query
# DoT query
dns-probe example.com --dot dns.alidns.com:853
# JSON output
dns-probe example.com --json
# Generate HTML report
dns-probe example.com --html report.html
# Batch query
dns-probe --file domains.txt
# View history
dns-probe --history🔧 Command Line Arguments
| Argument | Description |
|---|---|
<domain> |
Domain to query |
[DNS servers...] |
Specify DNS servers |
--all |
Query all record types |
--json |
Output in JSON format |
--pollution |
Detect DNS pollution |
--dnssec |
Enable DNSSEC validation |
--doh <url> |
Use DoH server |
--dot <server> |
Use DoT server |
--html <file> |
Generate HTML report |
--file <file> |
Batch query domains from file |
--history |
Show query history |
📋 Test Results
All test cases have passed:
=== RUN TestRecordTypeName
--- PASS: TestRecordTypeName (0.00s)
=== RUN TestFormatTTL
--- PASS: TestFormatTTL (0.00s)
=== RUN TestGetSystemDNSServers
--- PASS: TestGetSystemDNSServers (0.02s)
=== RUN TestProbeDNS
--- PASS: TestProbeDNS (0.19s)
...
PASS
ok github.com/vito-L/dns-probe 5.264s
📄 License
DNS Probe Tool v1.0.0
🎉 首次发布
DNS Probe Tool 是一个用 Go 语言编写的 DNS 拨测工具,支持多平台、多架构。
✨ 功能特性
- 🔍 基本查询 - 并发拨测多个 DNS 服务器
- 📊 记录类型 - 支持 A/AAAA/CNAME/MX/NS/TXT/SOA/SRV/CAA/PTR 等
- 🎨 美化输出 - 终端友好的格式化输出
- 🌐 自动检测 - 自动获取系统 DNS 服务器
- 🔧 自定义 - 支持自定义 DNS 服务器
- 💻 跨平台 - Windows/Linux/macOS
- 🏗️ 跨架构 - amd64/arm64
- 📝 JSON 输出 -
--json格式化输出 - 🛡️ DNS 污染检测 -
--pollution检测 DNS 污染 - 🔐 DNSSEC 验证 -
--dnssec验证 DNSSEC 签名 - 🔒 DoH 支持 -
--dohDNS over HTTPS - 🔒 DoT 支持 -
--dotDNS over TLS - 📄 HTML 报告 -
--html生成可视化报告 - 📁 批量查询 -
--file批量查询域名 - 📚 历史记录 -
--history查看查询历史
📦 下载
| 平台 | 架构 | 文件 |
|---|---|---|
| Windows | amd64 | dns-probe-windows-amd64.exe |
| Linux | amd64 | dns-probe-linux-amd64 |
| Linux | arm64 | dns-probe-linux-arm64 |
🚀 快速开始
Windows
# 下载并运行
.\dns-probe-windows-amd64.exe example.comLinux
# 下载
wget https://github.com/vito-L/dns-probe/releases/download/v1.0.0/dns-probe-linux-amd64
# 添加执行权限
chmod +x dns-probe-linux-amd64
# 运行
./dns-probe-linux-amd64 example.com📖 使用示例
# 基本查询
dns-probe example.com
# 使用指定 DNS 服务器
dns-probe example.com 8.8.8.8 114.114.114.114
# 查询所有记录类型
dns-probe example.com --all
# DNSSEC 验证
dns-probe example.com --dnssec 8.8.8.8
# DNS 污染检测
dns-probe example.com --pollution
# DoH 查询
dns-probe example.com --doh https://dns.google/dns-query
# DoT 查询
dns-probe example.com --dot dns.alidns.com:853
# JSON 输出
dns-probe example.com --json
# 生成 HTML 报告
dns-probe example.com --html report.html
# 批量查询
dns-probe --file domains.txt
# 查看历史
dns-probe --history🔧 命令行参数
| 参数 | 说明 |
|---|---|
<域名> |
要查询的域名 |
[DNS服务器...] |
指定 DNS 服务器 |
--all |
查询所有记录类型 |
--json |
输出 JSON 格式 |
--pollution |
检测 DNS 污染 |
--dnssec |
启用 DNSSEC 验证 |
--doh <url> |
使用 DoH 服务器 |
--dot <server> |
使用 DoT 服务器 |
--html <文件> |
生成 HTML 报告 |
--file <文件> |
批量查询文件中的域名 |
--history |
显示查询历史 |
📋 测试结果
所有测试用例已通过:
=== RUN TestRecordTypeName
--- PASS: TestRecordTypeName (0.00s)
=== RUN TestFormatTTL
--- PASS: TestFormatTTL (0.00s)
=== RUN TestGetSystemDNSServers
--- PASS: TestGetSystemDNSServers (0.02s)
=== RUN TestProbeDNS
--- PASS: TestProbeDNS (0.19s)
...
PASS
ok github.com/vito-L/dns-probe 5.264s