Block verification spam with a custom DNS filter
Verification spam often arrives through affiliate redirects, compromised accounts and pages that ask visitors to prove they are human. The check may look ordinary, but its purpose is usually to harvest clicks, deliver malware or keep a scam destination alive. A network-level block can stop clients reaching those destinations before another challenge appears.
A custom DNS filter that blocks known verification spam domains gives administrators one enforcement point for offices, workshops and remote services. It is inexpensive, fast and easy to audit, but works only when the domain is known and the client uses the filtered resolver. A narrow blocklist, careful testing and a second security layer produce the best result.
What DNS filtering can stop
When a device looks up a domain, DNS normally returns an address. A filtering resolver checks that lookup against local rules and, for a blocked hostname, returns a null address or an NXDOMAIN response. The browser or application cannot connect to the advertised destination, so the verification page never loads.
Filter the spam destination, not every technology used to create a challenge. Cloudflare, Google reCAPTCHA and similar services host content on shared domains used by banks, retailers and Australian government services. Blocking a shared challenge host can break legitimate sign-ins and checkout flows while leaving the spam domain reachable through another address.
DNS filtering is also hostname-based. It cannot distinguish two paths on one domain, guarantee that a page is safe, or block a scam delivered entirely by email, a direct IP address or a newly registered domain. It should therefore be treated as a high-value preventive layer rather than the whole security programme.
Blocklist inputs and release checks
Build the list from evidence that can be reviewed and reproduced. Keep the hostname, full URL, discovery time, source, reason and expiry in a record; a domain without context is difficult to remove safely.
- Internal DNS, mail gateway and web-proxy sightings, including redirect destinations.
- Relevant advice from the Australian Signals Directorate and reputable threat feeds.
- Verified reports from employees, customers and managed service providers.
- Domains confirmed in an isolated sandbox or through internet-facing sensors.
- Explicit business-policy exclusions, kept separate from security intelligence.
Indicators need context. A captured URL ending in online casino pages may be a final destination, but the path alone does not prove that an entire domain is hostile. Confirm redirects, hosting and whether legitimate services share the same infrastructure before choosing hostname-only, whole-domain or path-specific controls.
Before releasing a rule, use a repeatable checklist rather than trusting a copied list:
- Normalise case, trailing dots, ports and internationalised domain names.
- Test the hostname and relevant subdomains from Australian network locations.
- Check for shared CDN, hosting and challenge-provider dependencies.
- Record why the domain should be blocked and when the rule expires.
- Re-test against cached public-resolver answers before deploying.
Version the final list separately from the raw feed. Keep temporary emergency blocks separate from durable policy, and make both reversible. This prevents a noisy reputation feed from turning every DNS change into an unreviewed production event.
Choose where the filter should run
A small office or home network can run Pi-hole or AdGuard Home on a local server, supported router or small virtual machine. A managed DNS appliance suits larger Australian organisations, while a cloud service is useful for widely distributed teams. The location matters less than reachability, reliability and whether every client uses the resolver.
Set the server’s address through DHCP rather than asking staff to remember it. Reserve a fixed address for the filter, forward legitimate queries to trusted upstream resolvers, and decide whether split-horizon DNS should provide different answers to remote users. Filter DoH and DoT traffic where endpoint policy allows, because applications that bypass normal DNS can otherwise ignore every local rule.
Whole-domain decisions need particular care. A legitimate property such as MP3 CD software could share infrastructure with a spam host; blacklisting its domain could interrupt an unrelated business. Prefer the offending hostname when feasible, and involve the service owner before withdrawing a broad rule.
For the Australian market, remember that many organisations promote a .com.au identity while operating on global platforms. auDA manages the .au registry and commercial .com.au namespace, while shared platforms support both local and overseas brands. Keep those dependencies in an allowlist so anti-spam controls do not become an accidental barrier to Australian customers.
Configure rules without collateral damage
Normalise each hostname before adding it. Store a single canonical domain such as spam-domain.example, then choose the intended scope deliberately. Exact-host rules reduce collateral damage; domain-and-subdomain rules catch rotating hosts but can affect more services. Avoid wildcarding a public suffix or broad keyword unless every matching destination has been reviewed.
Use the syntax native to the selected product. A typical AdGuard Home rule and a Pi-hole hosts entry look like this, but are not interchangeable:
AdGuard Home: ||spam-domain.example^
Pi-hole hosts: 0.0.0.0 spam-domain.example
For Pi-hole, a reviewed regular expression can extend a rule to subdomains. Test it against the root name, a subdomain and a similarly named unrelated domain before activation. Also verify the response code: one product may return a null IP while another returns NXDOMAIN, and monitoring should recognise both as successful blocks.
Enforce the setting through DHCP, IPv6 configuration and supported mobile-management profiles. Android’s private DNS mode, iOS VPN-based DNS and browser DoH can bypass a home router. For managed devices, publish a compliant configuration and monitor for direct public-DNS queries. For guests and BYOD, guest Wi-Fi can use the same resolver while personal devices remain outside the managed boundary.
Test across Australian access patterns
Use a controlled device to query the local resolver directly, then test through a browser and a mobile application. An inline check such as dig @192.168.1.10 spam-domain.example should show the configured blocked response, while a trusted domain should resolve normally. Repeat after clearing resolver and operating-system caches so a stale answer does not create a false pass.
Test the paths clients actually use. A Sydney or Melbourne office may combine fixed broadband, staff laptops, VPN sessions and cloud applications, while a Brisbane or Perth connection on the NBN may sit behind an ISP router with separate IPv4 and IPv6 settings. Verify both address families, captive portals, VPN splits and devices that cache DNS aggressively.
A public resolver may return an Australian CDN address while an overseas resolver returns a different edge. That difference can affect latency, streaming rights and risk checks used by Australian banks and retailers. Measure from the local market and choose upstream resolvers deliberately. Treat a reported endpoint such as progressive slots online casino as untrusted evidence: reproduce the full redirect chain in isolation, never from an administrator’s everyday browser, and block only after validating each hop.
Operate the filter with visibility
Logs should answer three questions: which domains were blocked, which clients requested them and whether legitimate traffic failed. Track block counts, repeated bypass attempts and changes in query volume. Alert on sudden spikes, newly seen challenge domains and any rule that suppresses a service used for payroll, customer support or essential operations.
Store only the data needed for the purpose. Under the Privacy Act 1988 and the Australian Privacy Principles, DNS logs can contain personal information, particularly device names, user identifiers and browsing patterns. Set a short, documented retention period, restrict access and avoid sending raw client logs to an external analytics service without a legitimate operational need.
Review feeds and rules on a scheduled cadence, with an immediate review after a false positive or a new incident. ACSC guidance and Scamwatch reports are useful local references, but each item still needs verification. A denylist should contain evidence-backed names, not every domain that a large feed labels suspicious. Keep an allowlist and a tested rollback path so an emergency block can be removed without delaying service.
Keep DNS blocking in perspective
A DNS filter is excellent at suppressing a known destination and reducing repeated exposure across many devices. It cannot repair a compromised legitimate site, detect every phishing message, inspect encrypted page content or guarantee that a rotating domain stays blocked. Attackers can also switch to direct addresses or unmanaged encrypted DNS after discovering that names are being filtered.
Layer the filter with secure email gateways, browser isolation where appropriate, endpoint protection, application control and staff reporting. Use DNS logs to feed those controls, not to replace them. When a domain affects a legitimate service, adjust the specific rule quickly and document the reason.
The point to remember is simple: a custom DNS blocklist is a valuable first layer when it stays narrow, visible and continuously tested. Its effectiveness comes from disciplined evidence and maintenance rather than from the size of the list.