DNS and TLS observations
What DNS evidence tells you
DNS resolves names and other records. A visible conventional DNS query and response can show a question name, record type, response status and returned records. An NXDOMAIN response indicates that the queried name was reported nonexistent by that DNS response. It does not by itself diagnose why a user entered the name or whether all resolvers agree. Cached or encrypted DNS can make the relevant lookup absent from a packet trace.
Follow a fictional lookup
A client asks for the A record of shop.example.com and the synthetic resolver returns 198.51.100.20 with NOERROR. One second later the same client starts TCP toward that address on port 443. The sequence is consistent with visiting the shop, but the lookup alone does not establish that the address was used because of this reply. Correlate timestamps, endpoints and approved application evidence.
TLS metadata versus plaintext
With ordinary TLS 1.3 over TCP, a passive observer without session secrets can normally see IP endpoints, ports, packet sizes, timing and some handshake metadata. Later handshake messages and application data are encrypted; visibility of names depends on the handshake and privacy features. Do not assume a server certificate, HTTP path, password or order contents are visible. Encryption protects content but does not hide every traffic characteristic.
Correlate logs without overclaiming
Zeek commonly produces conn.log for connection information, dns.log for DNS activity and ssl.log for TLS handshake information. A connection identifier can link records produced for the same connection where the schema supports it. A DNS transaction and a subsequent HTTPS connection may have different identifiers, so correlate cautiously using time and addresses. These log names do not guarantee that any particular field was observed.
Practice: explain an outage
The synthetic trace shows a DNS answer and TCP handshake, but no visible completed TLS exchange. State two observations and one uncertainty. Ask for the authorized service’s TLS error category or health status, rather than requesting session secrets or disabling certificate validation. A valid DNS answer is not proof of working checkout.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
DNS and TLS observations — knowledge check
Interpret fictional offline traffic evidence and its limits.
A DNS response reports NXDOMAIN. What can you say?
Which is normally visible to a passive observer of ordinary TLS 1.3 over TCP without secrets?
A DNS answer precedes a connection to its returned IP. What is reasonable?
Which Zeek log commonly describes TLS handshake information?
DNS succeeded and TCP connected, but TLS success is unknown. What is a useful next step?