A better whois and domain intelligence toolkit. Interactive TUI with tabbed views for WHOIS, DNS, mail, SSL/TLS, HTTP headers, SEO analysis, and tech stack detection.
Try it without installing: ssh quien.sh
Homebrew
brew tap retlehs/tap
brew install retlehs/tap/quien
Ubuntu / Debian
curl -fsSL https://apt.quien.dev/install.sh | sudo sh
Arch Linux (AUR)
yay -S quien
Go
go install github.com/retlehs/quien@latest
- RDAP-first lookups with WHOIS fallback for broad TLD coverage
- IANA referral for automatic WHOIS server discovery
- IP lookups with reverse DNS, network info, abuse contacts, and ASN discovery via RDAP
- BGP fallback for origin ASN/prefix when RDAP does not include ASN data
- PeeringDB enrichment for ASN context (network/org, peering policy, peering locations, traffic profile, IX/facility counts)
- Mail configuration audit — MX, SPF, DMARC, DKIM, and BIMI with VMC chain validation
- SEO analysis — indexability (robots.txt, canonical, sitemap), on-page (title, description, headings, images), structured data (JSON-LD, Open Graph, Twitter Cards), and performance hints (compression, caching, render-blocking resources)
- Core Web Vitals — LCP, INP, CLS, FCP, and TTFB field data with historical trends via the CrUX API (optional)
- Tech stack detection including WordPress plugins, JS/CSS frameworks, and external services parsed from HTML
- Automatic retry with exponential backoff on all lookups
- JSON subcommands for scripting:
quien whois,quien dns,quien mail,quien tls,quien http,quien seo,quien stack,quien all
# Interactive prompt
quien
# Domain lookup (interactive TUI)
quien example.com
# IP address lookup
quien 8.8.8.8
# JSON output
quien --json example.com
# JSON subcommands
quien whois example.com
quien dns example.com
quien mail example.com
quien tls example.com
quien http example.com
quien seo example.com
quien stack example.com
quien all example.com
# Use a specific DNS resolver for this run
quien mail example.com --resolver 9.9.9.9
# Set a default resolver via environment variable
QUIEN_RESOLVER=1.1.1.1 quien dns example.com
Resolver precedence: --resolver > QUIEN_RESOLVER > system resolver.
The SEO tab includes local checks out of the box. For Core Web Vitals field data (real-user metrics from Chrome), set a CrUX API key:
export QUIEN_CRUX_API_KEY=your-api-keyThis enables LCP, INP, CLS, FCP, and TTFB p75 values with good/needs-improvement/poor ratings, plus an 8-25 week trend sparkline.
Getting a CrUX API key
- Go to the Google Cloud Console
- Create a new project (or select an existing one)
- Go to APIs & Services > Library
- Search for Chrome UX Report API and enable it
- Go to APIs & Services > Credentials
- Click Create Credentials > API key
- Click Edit API key, then under API restrictions select Restrict key and choose Chrome UX Report API from the list
- Copy the key and set it as
QUIEN_CRUX_API_KEY
The CrUX API is free. Not all domains have field data — a site needs enough Chrome traffic to be included in the Chrome User Experience Report.
quien automatically detects your terminal background and picks light or dark colors. If detection gets it wrong (common in tmux, screen, or remote shells), override it:
export QUIEN_THEME=light # force light palette
export QUIEN_THEME=dark # force dark palette
export QUIEN_THEME=auto # auto-detect (default)If your system resolver is unreliable (common in WSL, VPN, or container setups), force a resolver:
quien mail example.com --resolver 9.9.9.9
# or
export QUIEN_RESOLVER=9.9.9.9Tip
If you want quien to replace your default whois tool, you can add an alias to your shell config:
alias whois=quienAdd quien as a agent skill so agents use it for domain and IP lookups:
npx skills add retlehs/quien
