Explore/

DNS NXDOMAIN Responses

2 public captures

NXDOMAIN (rcode 3) is the authoritative answer that a name does not exist. A few are normal; a host producing hundreds for random-looking names is running a DGA that tries generated domains until one resolves. These captures show both the ordinary case among other query types and the DGA pattern, and the DNS findings pass counts failures per client.

DNS NXDOMAIN responses: queries for names that do not exist, in normal query mixes and in the bursts that domain generation algorithms produce.

trypcaphub·7mo ago3

learn: Domain Generation Algorithm (DGA) Detection

45 DNS queries against BIND 9.18.39 demonstrating Domain Generation Algorithm behavior. 40 queries use randomly generated alphanumeric domain names (e.g., aji0y6dpb.net, sahxthv3a3z.org) across .com, .net, .org, .info, and .biz TLDs. These DGA domains all return NXDOMAIN (rcode 3) since they do not exist. 5 queries for legitimate domains (google.com, github.com, cloudflare.com, amazon.com, microsoft.com) return valid A records for comparison. The contrast is the detection key: DGA domains are high-entropy random strings that consistently fail to resolve, while legitimate domains are readable words that resolve successfully. Suricata flagged "ET INFO Observed DNS Query to .biz TLD" for one of the DGA queries. Zeek identified 102 DNS transactions. To find DGA traffic in Wireshark, filter for NXDOMAIN responses: dns.flags.rcode == 3. A large cluster of NXDOMAINs for random-looking domain names is a strong indicator of DGA-based malware cycling through generated domains searching for an active C2 server.

81667 KB204
trypcaphub·7mo ago

DNS Query Types: A, AAAA, MX, TXT, CNAME, SOA, NS, PTR, AXFR

Comprehensive DNS queries against a BIND9 authoritative server with recursive resolution enabled. Covers nearly every common record type in a single capture: A records (local zone + forwarded to Google DNS) AAAA record (google.com, returning IPv6) CNAME resolution (www.pcaplab.local to server01.pcaplab.local) MX record queries (local + google.com) NS and SOA records TXT records (google.com SPF, domain verification) PTR reverse lookup attempt AXFR zone transfer (returns full zone data) NXDOMAIN response for nonexistent subdomain Excellent reference for DNS protocol analysis with query/response pairs for nearly every common record type.

1538.8 KB40