dns-robot-cli
v1.0.0
Published
CLI tool for DNS lookups, SSL checks, WHOIS, SPF/DKIM/DMARC validation — powered by DNS Robot
Maintainers
Readme
dns-robot-cli
Command-line tool for DNS lookups, SSL checks, WHOIS, and email security validation — powered by DNS Robot.
Zero dependencies. Works with Node.js 18+.
Install
npm install -g dns-robot-cliOr run directly with npx:
npx dns-robot-cli dns google.comCommands
DNS Lookup
Resolve DNS records for any domain. Supports A, AAAA, CNAME, MX, NS, TXT, SOA, and more.
dns-robot dns google.com
dns-robot dns google.com AAAA
dns-robot dns google.com MXSSL Certificate Check
Inspect SSL/TLS certificates — issuer, expiry, chain, SANs.
dns-robot ssl github.comWHOIS Lookup
Domain registration details — registrar, dates, nameservers, status.
dns-robot whois example.comSPF Check
Validate SPF records with DNS lookup counting and mechanism breakdown.
dns-robot spf gmail.comMX Lookup
Find mail exchange records with priority, IPs, and provider detection.
dns-robot mx outlook.comNS Lookup
List nameservers with response times and provider info.
dns-robot ns cloudflare.comDKIM Check
Verify DKIM records. Auto-tries common selectors if none specified.
dns-robot dkim gmail.com
dns-robot dkim example.com selector1DMARC Check
Validate DMARC policy, reporting, and subdomain settings.
dns-robot dmarc yahoo.comIP Lookup
Geolocation, ISP, ASN, and hostname for any IP address.
dns-robot ip 8.8.8.8
dns-robot ip 2606:4700:4700::1111HTTP Headers
Analyze HTTP response headers with security scoring (A–F grade).
dns-robot headers https://example.com
dns-robot headers example.comPort Check
Test if ports are open or closed. Defaults to 80,443.
dns-robot port example.com
dns-robot port example.com 22,80,443,8080Options
--help, -h Show help
--version, -v Show versionHow it works
All lookups are performed by the DNS Robot API — the same engine behind 53 free online DNS and network tools at dnsrobot.net.
License
MIT — DNS Robot
