Command line

Made for the terminal

Command-line clients (curl, wget, HTTPie, PowerShell) get plain text instead of HTML. Useful on servers, in RMM scripts and over SSH.

All commands

OTW Tools · tools.otw.solutions

My IP
  curl tools.otw.solutions                          your public IP (-4 / -6 to force a family)
  curl tools.otw.solutions/info                     + reverse DNS, network (ASN), country
  curl tools.otw.solutions/json                     as JSON

Domain & DNS
  curl tools.otw.solutions/dns/example.com          registrar, DNS hosting, web & mail, SPF/DMARC/DKIM
  curl tools.otw.solutions/dig/example.com          every record found, as a zone file (AXFR or probing)
  curl tools.otw.solutions/propagation/example.com/MX
                                        record on authoritative NS vs. public resolvers
  curl tools.otw.solutions/m365/example.com         Microsoft 365 tenant ID, region, DNS records
  curl tools.otw.solutions/check/mx:example.com     Super Check (beta) with pass/fail checks:
                                        mx spf dmarc dkim bimi mta-sts tlsrpt blacklist
                                        a aaaa cname ns soa txt srv caa ptr whois asn https

Security
  curl tools.otw.solutions/ssl/example.com          certificate & TLS versions (host:port, STARTTLS on 25/587/143/110)
  curl tools.otw.solutions/ports/22,443,3389        reachability of YOUR public IP from the internet
  curl tools.otw.solutions/blacklist                DNSBL check of your IP (or /blacklist/<ip|domain>)

Utilities
  curl tools.otw.solutions/subnet/10.0.0.0/22       subnet calculator (?split=24)
  curl tools.otw.solutions/cron/*/15_8-17_*_*_1-5   cron explainer, _ instead of spaces (?tz=Europe/Berlin)
  curl tools.otw.solutions/linux                    Linux debugging cheat sheet (?distro=debian, /linux/<filter>)
  curl tools.otw.solutions/docker                   Docker debugging cheat sheet (/docker/<filter>)
  curl tools.otw.solutions/pw                       random password (?len=24&count=5&symbols=0)
  curl tools.otw.solutions/pw/phrase                passphrase (?words=6&sep=-)

Memes
  curl "tools.otw.solutions/oracle?q=is+it+dns"     ask the Online Oracle (&lang=de for German)
  curl "tools.otw.solutions/buzzword?q=we+have+a+problem&level=3"
                                        corporate speak (&lang=de, level 1–3)
  curl "tools.otw.solutions/d20?price=500&mods=klick,freitag"
                                        D20 Price Calculator (&lang=de)

JSON: add ?format=json to any lookup.   PowerShell: irm tools.otw.solutions/<path>

PowerShell (Windows)

PS> irm tools.otw.solutions
PS> irm tools.otw.solutions/json                          # returns an object
PS> (irm "tools.otw.solutions/api/dns?d=example.com").mail.providers
PS> (irm "tools.otw.solutions/api/ssl?q=example.com").chain[0].daysLeft
PS> irm tools.otw.solutions/dig/example.com | Out-File example.com.zone
PS> irm tools.otw.solutions/pw | Set-Clipboard

JSON API

/json
Your IP info
/api/dns?d=
Domain report
/api/dig?q=
DNS zone export (every record found)
/api/ssl?q=
TLS check (host or host:port)
/api/ports?q=
Port check of your IP (comma-separated ports)
/api/blacklist?q=
DNSBL check (IP or domain; empty = your IP)
/api/propagation?q=&type=
DNS propagation
/api/m365?q=
Microsoft 365 tenant
/api/check?q=
Super Check (beta), e.g. q=spf:example.com
/api/subnet?q=&split=
Subnet calculation
/api/cron?q=&tz=
Cron expression, next runs
/pw?format=json
Passwords

Lookups are rate-limited per IP address (e.g. 30 domain reports, 20 SSL checks, 10 port checks, 5 zone exports per minute).