Back to Utiliverse
Utiliverse Guides

All guides / Networking

DNS, TLS, or HTTP? Troubleshoot the right layer

Build a small evidence trail from name resolution to connection and response, without treating every browser failure as an HTTP error.

By UtiliverseLast reviewed: October 9, 2026

First ask how far the request got

A browser problem can begin before an HTTP response exists. A useful investigation separates name resolution, network connection, TLS setup, and the HTTP exchange. These stages interact, but they produce different evidence. An HTTP status reference cannot explain a DNS failure that prevented any server response.

Match the symptom to evidence
StageUseful evidenceNext step
DNSResolver response and requested record typeCheck authoritative data and resolver behavior
ConnectionDestination address, transport, port, timeoutCheck listener, routing and network policy
TLSCertificate or handshake errorCheck name, dates, chain and endpoint
HTTPStatus, headers, URL and timingTrace redirect or application/gateway response

Once a name resolves, record the actual destination IP address, transport, and port. The TCP and UDP Ports guide explains the difference between a service convention and reachability; Port Checker is a port reference, not a live connection test. If the address is unexpected or a route depends on subnet boundaries, use the IP Subnet Calculator with the CIDR and subnet masks guide to check the address range. A correct range alone does not prove the route works.

For HTTPS, move from connection evidence to TLS: the SSL Certificate Checker and SSL certificate guide help investigate hostname coverage, expiry, and chain problems. An external check may reach a different endpoint from your browser. When an HTTP response exists, use the HTTP Status Code Reference to interpret it; DNS success does not establish TLS or application success.

Worked example: the website opens but mail is failing

A working website usually says little about a domain’s mail configuration. The website can resolve and serve HTTPS while its MX records point elsewhere or outgoing mail fails authentication. Start with the failing mail direction: inbound delivery and outbound authentication require different checks.

For inbound mail, use Email DNS Checker to inspect the published mail records, then check MX routing and the provider’s delivery logs. For outbound mail, inspect a real message’s trusted authentication results and compare them with SPF, DKIM, and DMARC records. Use the email authentication guide for alignment. A good DNS score is not a guarantee of inbox placement.

Record the query, not just “DNS is broken”

Keep the queried name, record type, resolver, response code, and time together. A NOERROR response with no records of the requested type (often called NODATA) differs from NXDOMAIN, which reports that the queried name does not exist. SERVFAIL means the server could not complete the query; it can involve DNSSEC validation or upstream problems, and does not prove the name is absent. A timeout means no response arrived within the waiting period. Cached answers, delegation problems, and validation issues require different investigations. Google’s Public DNS troubleshooting guidance explains how to narrow resolver problems.

Comparing two resolvers can reveal disagreement, but it does not by itself identify which is correct. Check the authoritative configuration and relevant cache lifetime before repeatedly editing records. Internal split-DNS names may intentionally resolve differently inside an organization.

What a DNS resolver does

A DNS resolver obtains records for a name, such as A or AAAA addresses, MX mail routing, or TXT data. An application commonly uses a local stub resolver to ask a recursive resolver, which returns a cached answer or follows referrals to authoritative DNS servers. Authoritative servers publish the zone’s records; a recursive resolver retrieves and caches answers according to their TTLs. Note which resolver was used, including any browser Secure DNS, VPN, or corporate DNS settings, because these can change the resolution path.

What does dns.resolve mean in troubleshooting?

In application logs or code, dns.resolve can refer to a DNS-query API rather than a browser error or HTTP status. In Node.js, dns.resolve() queries DNS for a hostname and record type (A by default); dns.lookup() instead uses the operating system’s name-resolution facilities, which may include a hosts file. Their results can differ. Record the runtime, hostname, requested type, configured DNS servers, and exact error before comparing a command-line query or browser result. A returned DNS answer does not test connection, TLS, or HTTP behavior.

Capture only the operation you need

  1. Write down the exact failing action, hostname, and approximate time.
  2. Open the browser Network panel and reproduce one controlled attempt.
  3. Identify whether an HTTP response was captured. If so, record its status and any request ID.
  4. For redirects, preserve the sequence and inspect the final URL.
  5. If sharing a HAR, sanitize and inspect it for cookies, tokens, query data, and request bodies first.

HAR Viewer reads the recorded browser traffic. It cannot recover omitted requests or inspect server-to-server dependencies. A status of zero in a capture is not an HTTP status issued by a server. Use the gateway-errors guide when the browser received an actual 502, 503, or 504.

Choose a tool with the right scope

Email DNS Checker concentrates on mail records; it is not a general-purpose DNS console. WHOIS Lookup reads registration data. Use the WHOIS/RDAP guide when investigating registrar or registration context; registration records do not establish the current authoritative DNS answer or website response. SSL Certificate Checker observes a public endpoint through an external service. Port Checker identifies conventional port uses without testing reachability. These distinctions prevent a reassuring result at one layer from closing an investigation at another.

Finish with a short record of what failed, which evidence changed after the fix, and whether the original action now succeeds. That makes the result reproducible for the next person who encounters the same symptom.

Try the related tools

Continue reading

Sources and review

Examples are illustrative. Reviewed October 9, 2026 against the listed references and the related tool behavior. Methodology · Report a correction.