Menú

Categorías

PDF Tools Image Tools Audio Tools Video Tools Calculator Tools Developer Tools Text Tools SEO Tools Converter Tools More Tools

Idioma

English Español Français Deutsch हिन्दी বাংলা

DNS, TLS Certificates, and Network Troubleshooting: A Practical Runbook for Outages and Migrations

When a website suddenly becomes unreachable after a hosting migration, DNS change, or certificate renewal, guessing blindly wastes critical minutes. Users report "site can't be reached" or scary browser certificate warnings while one team blames the registrar, another blames the CDN, and someone restarts Nginx unnecessarily.

Isolating network and domain outages cleanly comes down to diagnosing layers in strict bottom-up order: Domain Registration & WHOIS -> DNS & DNSSEC -> IP Reachability & Ports -> TLS Handshake & Certificate Chain -> HTTP Response. Here is a practical runbook you can execute straight from a browser in minutes.

Step 1: Rule Out Domain Suspension or Expiry First (WHOIS + RDAP)

Before debugging servers or firewalls, verify the domain itself hasn't expired, entered clientHold, or silently reverted nameservers. Run a check with WHOIS Lookup, which queries both structured RDAP and port-43 WHOIS servers:

  • Check expiresAt: Has the domain lapsed past renewal or entered a redemption grace period?
  • Check status (EPP codes): Statuses like clientHold or serverHold freeze DNS resolution globally—often triggered by an unverified ICANN contact email after a transfer or billing dispute.
  • Check nameservers: Confirm the authoritative nameservers listed at the registry match the DNS provider you think you are editing! Countless outages happen when an engineer updates records in Cloudflare while the registrar still points NS records to GoDaddy or Route 53.

Step 2: Check DNS Resolution, TTLs, and Propagation

DNS never "propagates" across the internet via a push—recursive resolvers simply cache your old answer for the number of seconds specified by the previous TTL (Time To Live).

Zero-Downtime DNS Migration Rule

  1. 48 hours before migration: Lower the TTL on every record you plan to change (A, AAAA, CNAME, MX) down to 300 seconds (5 minutes). Wait out the old TTL (often 3600–86400 seconds) so caches worldwide expire cleanly before cutover.
  2. At cutover: Switch the IP or target record. Caches refresh within ~5 minutes.
  3. Watch the apex CNAME rule: Under RFC 1034, you cannot place a standard CNAME record on your root/apex domain (example.com) alongside NS, SOA, or MX records. Doing so can break email routing (MX) or root resolution unless your DNS provider implements edge CNAME flattening (ALIAS/ANAME).
  4. Raise TTL back to 3600 or 14400 once the migration proves stable.

Inspect live answers and multi-resolver visibility using DNS Checker and DNS Propagation Checker.

Two DNS Traps That Break Sites Overnight

  • DNSSEC mismatch during nameserver transfers: If your registrar still holds a DS (Delegation Signer) record pointing to your old DNS host's keys after you switch nameservers to a new host, validating resolvers (like 1.1.1.1 and 8.8.8.8) treat the domain as forged and return SERVFAIL globally! Always disable DNSSEC at the old host/registrar (and wait for the old DS TTL to clear) before changing nameservers, or verify chain validity with DNSSEC Checker.
  • CAA records blocking automated SSL renewals: A Certification Authority Authorization (CAA) record controls which CAs may issue TLS certificates for your domain. If a previous admin published 0 issue "digicert.com" and your new host tries to auto-renew a Let's Encrypt certificate via ACME, issuance fails silently until expiry! Audit authorized issuers with CAA Record Checker.

For mail-specific DNS records (MX, SPF, DKIM, DMARC), follow our Email Authentication Deep Dive.

Step 3: Verify Layer 3/4 Reachability (Ping vs. TCP Port Checks)

Once DNS resolves to the expected public IP, test whether packets actually reach the host and accept TCP connections.

Why Ping (ICMP) Timeout Does Not Always Mean the Server Is Down

Many cloud security groups, load balancers, and firewalls explicitly drop ICMP Echo Requests (ping) while serving HTTPS traffic normally on TCP port 443. That is why SmartWebToolz's Ping Checker probes both ICMP and TCP ports 443/80—so a firewall blocking ping doesn't look like a total outage.

Use Port Checker to distinguish three distinct TCP states:

  • open: The server accepted the three-way TCP handshake (SYN -> SYN-ACK -> ACK). Service is listening and reachable.
  • closed (Connection refused): Packets reached the server OS, which actively replied with TCP RST. The firewall allowed traffic through, but your daemon (Nginx, MySQL, Postfix, SSH) is crashed, bound only to 127.0.0.1, or listening on another port.
  • filtered (Timed out): No reply returned before timeout. A firewall, security group, cloud NACLs, or upstream ISP ACL silently dropped the packets.

How to Read Traceroute Output Without Panicking

When diagnosing packet loss or regional slowdowns with Traceroute Viewer, remember the number-one traceroute misconception:

High latency (150 ms) or * * * packet loss on an intermediate router hop (e.g., hop 5 of 12) does NOT indicate a network outage if hops 6 through 12 continue smoothly with low latency and zero loss!

Core internet routers deprioritize low-priority ICMP time-exceeded replies while forwarding real data packets at full wire speed. A genuine routing problem only shows up when packet loss or sudden RTT jump starts at hop N and persists on every subsequent hop through the final destination.

Step 4: Diagnose TLS Handshake and Certificate Errors

Even when TCP port 443 is open, browsers refuse connections on TLS handshake failures. Inspect the live handshake directly with SSL Checker and track renewal deadlines via SSL Expiry Checker.

The 4 Most Common TLS Certificate Bugs

  1. Missing Intermediate Certificate Chain: Desktop browsers sometimes cache common intermediate certs from prior sites and hide the bug, while curl, API webhooks, Python/Node clients, and mobile apps throw unable to verify the first certificate! Always configure your server with the fullchain bundle (leaf + intermediate(s)), never the leaf cert alone.
  2. Hostname Mismatch / Missing SAN (Subject Alternative Name): Modern browsers ignore the legacy Common Name (CN) completely and validate strictly against the SAN extension (DNS:example.com, DNS:www.example.com). Remember wildcard certs like *.example.com cover one subdomain level (blog.example.com) and do not match the bare apex (example.com) unless explicitly listed in SANs.
  3. Wrong VirtualHost / Missing SNI Default: When multiple domains share an IP, TLS relies on SNI (Server Name Indication) during ClientHello. Misconfigured Nginx/Apache server blocks serve a neighboring site's default cert when SNI fails or a www / non-www alias isn't included.
  4. Expired Certificate or Untrusted Clock: Automated certbot timers fail quietly when port 80 HTTP-01 challenges get blocked by a firewall rule, a redirect error, or a restrictive CAA record. Monitor certificate daysRemaining proactively and set alerts well before day 14.

Once TLS passes cleanly, verify HTTP security headers (HSTS, CSP, nosniff) using our HTTP Security Headers Guide.

5-Minute Incident Triage Cheat Sheet

Next time an outage alert pings:

  1. Check WHOIS/RDAP (WHOIS Lookup): Domain active? No clientHold? Correct nameservers?
  2. Check DNS & DNSSEC (DNS Checker, DNSSEC Checker): Correct IP? No SERVFAIL?
  3. Check Port 443/80 (Port Checker): open, closed (service down), or filtered (firewall)?
  4. Check TLS Chain & SANs (SSL Checker): Trusted chain? Valid dates? Hostname matches SAN?
  5. Check Traceroute (Traceroute Viewer): Persistent loss through the final hop?

Frequently Asked Questions

Why does my new SSL certificate work in Chrome on desktop, but fail in curl and mobile APIs?

Almost always a missing intermediate certificate. Your desktop browser cached the intermediate from another site, whereas strict TLS clients (curl, OpenSSL, Java, Go, mobile OS stacks) require the server to send the complete certificate chain during the handshake.

How long should I wait after lowering DNS TTL before migrating servers?

Wait at least as long as the old TTL value (for example, if the old TTL was 3600 seconds, wait at least 1 hour; if 86400, wait 24 hours) so resolvers worldwide drop the long-lived cached record and pick up your new 300-second TTL before the IP switch.

Why does Port Checker show port 25 closed or filtered on many home/cloud servers?

Cloud providers (AWS, GCP, DigitalOcean, Azure) and residential ISPs routinely block outbound/inbound TCP port 25 by default to curb spam, while HTTPS (443) and submission (587/465) remain accessible where configured.

Diagnose Your Infrastructure Live

Run real server-side network, DNS, and TLS probes without installing CLI packages locally:

Try a free tool

Every tool runs in your browser with no account required.

Browse all tools