Join our Q&A: How click fraud blocking can help your business on June 30th 3:00 – 3:30 PM (CEST): join Q&A.

00 Days
00 Hours
00 Min
00 Sec
Join Q&A

What is Domain Generation Algorithm (DGA)?

Abisola | Feb 11, 2026

A Domain Generation Algorithm (DGA) is malware logic that produces many possible domain names from a seed (date, counter, or shared secret). Infected hosts try to resolve those names until one is registered by the operator, creating a command-and-control (C2) channel that is hard to preemptively block.

Mechanics defenders watch for

Both sides share the seeding scheme. Each day or hour the malware generates a list, performs DNS lookups, and connects when a name resolves. Most names never exist (NXDOMAIN noise), which becomes a signal: one endpoint firing hundreds of random-looking queries is abnormal compared to a browser visiting known sites.

DGAs vary from high-entropy gibberish strings to dictionary blends that mimic legitimate brands. Some collide with popular names to slow simple blocking. Security stacks use lexical models, entropy scores, and DNS telemetry rather than static blacklists alone.

DGAs are malware infrastructure, not a consumer privacy tool. They overlap conceptually with other evasion tactics (fast flux, bulletproof hosting) but solve the “fixed C2 hostname” weakness of older bot families.

Connection to ad fraud and network abuse

DGA traffic itself is mostly an enterprise SOC problem, yet the same infected machines often participate in click spam, credential stuffing, or spam relays. A host talking to DGA domains is compromised until remediated. That endpoint might also generate invalid ad events or form spam, which ties into suspicious behavior models.

Publisher and advertiser teams rarely label traffic “DGA” in dashboards, but DNS security vendors feed “known malware domain generation” intelligence into broader IP and ASN reputation. Understanding DGAs explains why detection emphasizes behavior and not only static lists. For context on automated traffic classes, see types of bots and ad fraud basics.

Abisola

Abisola

Abisola handles content and support at ClickPatrol. She helps customers get more value from cleaner traffic data and writes practical resources about ad fraud, fake traffic, and smarter PPC decisions.