Skip to content

knowald/digga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digga

A CLI tool for checking DNS propagation across global DNS servers.

Like dig, but mass queries, colors and a ✨loading bar✨ instead of features.

Go License

demo

Features

  • Query multiple global DNS servers simultaneously
  • Real-time progress with animated TUI
  • Support for all standard DNS record types (A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV, CAA)
  • Color-coded results showing propagation status
  • Fetch additional servers from public-dns.info (60,000+ servers)
  • JSON output for scripting
  • Simple mode for non-interactive use

Installation

go install github.com/yourusername/digga@latest

Or build from source:

git clone https://github.com/yourusername/digga.git
cd digga
go build -o digga .

Usage

# Basic usage - check A record propagation
digga example.com

# Check specific record type
digga example.com -t MX
digga example.com --type AAAA

# Fetch additional servers from public-dns.info
digga example.com --fetch
digga example.com --fetch --fetch-count 50

# JSON output for scripting
digga example.com --json

# Simple table output (no animations)
digga example.com --simple

# Custom timeout
digga example.com --timeout 10s

# Query specific providers only
digga example.com --servers google,cloudflare

Flags

Flag Short Default Description
--type -t A DNS record type (A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV, CAA)
--json false Output results as JSON
--simple false Simple table output without animations
--timeout 5s Query timeout per server
--servers Comma-separated list of providers (e.g., google,cloudflare)
--fetch false Fetch additional servers from public-dns.info
--fetch-count 30 Number of servers to fetch

Example Output

🔍 DNS Propagation Check: example.com (A)

[████████████████████████████████████████] 100% (14/14)
┌──────────────────┬──────────┬──────────────────────────────┬─────────┬────────┐
│ Server           │ Location │ Result                       │ Latency │ Status │
├──────────────────┼──────────┼──────────────────────────────┼─────────┼────────┤
│ Google           │ Global   │ 93.184.216.34                │ 12ms    │ ✓ OK   │
│ Cloudflare       │ Global   │ 93.184.216.34                │ 8ms     │ ✓ OK   │
│ Quad9            │ Global   │ 93.184.216.34                │ 15ms    │ ✓ OK   │
│ OpenDNS          │ US       │ 93.184.216.34                │ 22ms    │ ✓ OK   │
└──────────────────┴──────────┴──────────────────────────────┴─────────┴────────┘

✓ Propagation: 14/14 servers (100%) - Fully propagated

Built-in DNS Servers

Digga includes 14 built-in servers from major providers:

  • Global: Google, Cloudflare, Quad9
  • US: OpenDNS, Level3, Verisign, Comodo
  • Europe: DNS.WATCH (Germany)
  • Asia: AliDNS, 114DNS (China)

Use --fetch to query additional servers from public-dns.info's database of 60,000+ servers worldwide.

Dependencies

License

MIT

About

digga (n.): German for "bro". Also digs DNS records.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages