Skip to content

Triage DNS and TCP Problems with Wireshark

Admin
October 4, 2026
8 min read
Intermediate
💻 Target OS: Router OS / Linux Network Fabric

Before you begin

  • Applies to:Authorized DNS and TCP troubleshooting with Wireshark.
  • Where to start:Capture on the approved client interface while reproducing one failed request.
  • What you need:Have the query name, expected resolver, and target address and port. Record the failure time.
Guide tools
Guide tools
0/0 Steps (0%)

Packet captures can show where a connection attempt stops: before DNS returns an answer, during the TCP handshake, or after the application begins exchanging data. This guide uses Wireshark display filters to investigate one controlled test flow.


01

Capture Near the Affected Client or Service

Capture Setup

Start with the smallest capture that can answer the question. Capture on the affected client or server, select its active interface, and reproduce one connection attempt with a recorded timestamp and destination. On a switched network, a capture from an unrelated workstation may not see another host’s unicast traffic.

Capture host: affected test client
Interface: active Ethernet or Wi-Fi adapter
Test: resolve app.example.test, then open TCP/443
❯ Illustrative Output (Results Vary)
Start the capture, perform one test, and stop the capture promptly.

02

Filter DNS Packets and Match Query IDs

Name Resolution

Enter dns in the display filter bar. Find the query for the target name and compare it with the response that has the same transaction ID. Check the response code, answer section, and server address. A display filter hides packets from view; it does not remove them from the capture file.

dns
dns.qry.name == "app.example.test"
dns.flags.rcode != 0
❯ Illustrative Output (Results Vary)
Standard query A app.example.test
Standard query response A 10.20.40.15
Wireshark showing the DNS query and matching response for app.example.test with A record 10.20.40.15

Figure 1: Match the DNS response to the query by transaction ID.


03

Follow SYN, SYN-ACK, and ACK Packets

Transport

Filter for the destination and TCP port, then follow the stream or inspect sequence numbers. A client SYN without a reply can indicate filtering, routing, or a down host; repeated SYNs with no SYN-ACK are not proof of a firewall by themselves. A reset or successful three-way handshake narrows the next check to the listener or application.

ip.addr == 10.20.40.15 && tcp.port == 443
tcp.flags.syn == 1 && tcp.flags.ack == 0
tcp.flags.reset == 1
❯ Illustrative Output (Results Vary)
Client -> Server SYN
Server -> Client SYN, ACK
Client -> Server ACK
Wireshark packet list showing SYN, SYN-ACK, and ACK packets for TCP port 443

Figure 2: Inspect the TCP three-way handshake for the test flow.


04

Use TCP Analysis Flags as Leads

Packet Timing

Check Wireshark’s TCP analysis annotations for retransmissions, duplicate acknowledgments, and out-of-order packets. These are clues to investigate packet loss, congestion, asymmetric paths, or capture limitations; a single annotation does not identify the root cause. Compare timestamps and sequence numbers around the affected flow.

tcp.analysis.retransmission
tcp.analysis.duplicate_ack
tcp.stream eq 0
❯ Illustrative Output (Results Vary)
Use Follow > TCP Stream to isolate one conversation, then inspect its packet timing.
Wireshark showing TCP retransmission and duplicate acknowledgment analysis for the test flow

Figure 3: TCP analysis flags highlight retransmissions and duplicate acknowledgments.


05

Record the Filter and Capture Context

Documentation

Save the original capture only when permitted by policy. Record the capture point, interface, time zone, reproduction steps, display filter, and relevant endpoint addresses. If sharing a capture, remove or protect unrelated traffic and sensitive payloads under your evidence-handling policy.

Case note: issue time, client, destination, interface, filter, observations
Capture file: restricted location; access logged if required
❯ Illustrative Output (Results Vary)
The resulting note lets another analyst reproduce the same packet review.

Comments