dig +short example.com AFetch an A record in short output format.
DNS troubleshooting, resolver inspection, HTTP probing, and TLS certificate testing from Linux.
Query DNS, inspect resolvers, and troubleshoot resolution issues.
dig +short example.com AFetch an A record in short output format.
dig +short example.com MXFetch MX records in short format.
dig +trace example.comFollow delegation from root to authoritative answers.
dig @1.1.1.1 example.comSend a DNS query to a chosen DNS server.
host example.comLook up DNS records with the host command.
nslookup example.com 8.8.8.8Interactive or one-shot DNS lookup.
Inspect current DNS servers and search domains.
resolvectl statusInspect current DNS servers and search domains.
resolvectl query example.comResolve a domain using resolvectl.
getent hosts example.comQuery host resolution through glibc NSS.
cat /etc/resolv.confShow the resolver configuration file.
Test URLs, certificates, proxies, and HTTP behavior from Linux.
curl -I https://example.comMake a HEAD request to inspect headers.
curl -v https://example.comDisplay request and response details.
curl --resolve example.com:443:203.0.113.10 https://example.comPin a host:port to a chosen IP address.
Use a specific local interface for outbound traffic.
curl --interface eth0 https://example.comUse a specific local interface for outbound traffic.
curl -x http://proxy.example.com:3128 https://example.comSend an HTTP request through a proxy.
Open a TLS session and print certificate details.
openssl s_client -connect example.com:443 -servername example.comOpen a TLS session and print certificate details.
Print notBefore and notAfter fields from a certificate file.
openssl x509 -in cert.pem -noout -datesPrint notBefore and notAfter fields from a certificate file.
Check whether a URL is reachable without downloading content.
wget --spider -S https://example.comCheck whether a URL is reachable without downloading content.