Manually flush DNS to remove a stubborn block page

A robot-verification screen can look like a broken website, but it may be controlled by the destination, your network, a redirect on the device, or security software. Flushing DNS can discard stale address information; it cannot remove malware, change a server-side access rule, or make a deliberately restricted page safe. Identifying the responsible layer avoids pointless resets and risky workarounds.

Knowing how to manually flush your DNS cache to stop seeing a persistent block page is useful, but the order matters. Record the exact address, compare networks and devices, then work from the browser cache through the operating system, router and ISP. The methods below cover Windows, macOS, Linux, Android and iOS, including common Australian NBN and mobile broadband setups.

Diagnose the real source of the block

The full address matters more than the page's branding. Copy it from the address bar, not just the message, and note whether the host ends in .com.au, .au, a bank domain or an unfamiliar suffix. Australian users often encounter convincing pages tied to myGov, the ATO, telco promotions or gambling advertising; a familiar logo does not prove the underlying host is genuine. Open my.gov.au or the relevant institution's app directly if an unexpected message claims to be a security check.

Test the same full URL on a second device on the same Wi-Fi, then on mobile data or another connection. A block that follows the device points to browser state, an extension or malware; one that follows the network points to the router, DNS resolver or ISP. Shared café Wi-Fi around Melbourne, Sydney and Brisbane can also expose a captive portal or stale network configuration, although HTTPS normally prevents the network from rewriting secure pages.

History may reveal a chain that the current page hides. An email or advert can lead through an unexpected promotion redirect and then a verification screen, so the final message may not be the operator that first sent you there. Treat unexpected gambling or adult promotions as untrusted, avoid entering payment or identity details, and keep the history entry as evidence for an ISP, browser vendor or Australian cyber-reporting service.

Flush the Windows resolver cache

On Windows 10 and 11, open Command Prompt as an administrator, run ipconfig /flushdns, and confirm that Windows reports that the DNS cache was flushed. The elevated PowerShell equivalent is Clear-DnsClientCache. These commands affect the operating-system resolver; they do not clear the browser's own host cache, so close the affected browser after the command and reopen it before judging the result.

Use ipconfig /displaydns to inspect cached records and ipconfig /all to see the configured DNS servers. Cached entries are not proof of compromise, but an old address can explain why traffic reaches a retired server. Australian homes commonly connect through an NBN modem or router supplied by Telstra, Optus, Vodafone or another ISP, and that equipment may override the resolver selected on the computer.

If the flush succeeds but lookups remain wrong, restore the ISP's DNS addresses or temporarily use a trusted public resolver such as Cloudflare's 1.1.1.1 or Google's 8.8.8.8. Avoid arbitrary DNS addresses found in forum posts. On a work device or managed school network, changing DNS may breach policy or bypass internal filtering; ask the IT administrator to test the resolver and connection instead.

Flush macOS, Linux and mobile caches

macOS keeps a shared resolver cache used by multiple apps. Open Terminal and run sudo dscacheutil -flushcache, followed by sudo killall -mDNSResponder; enter the administrator password when prompted. Quit and reopen Safari or Chrome afterward. A “no matching processes” response can appear on newer macOS releases, so verify the lookup rather than repeatedly changing settings.

Linux distributions differ. On systems using systemd-resolved, sudo resolvectl flush-caches is the usual command; older Ubuntu releases may accept sudo systemd-resolve --flush-caches. Run resolvectl status first to see which resolver is active. A Raspberry Pi, home server or VPN may run dnsmasq, in which case restart that service rather than changing DNS on every connected phone.

Android does not provide a standard manual DNS-cache button. Toggle airplane mode on and off, restart the phone, and reopen the exact URL in a private browser tab. If you changed Private DNS to a custom provider under Android settings, return it to Automatic. Clearing Chrome's site data can also remove stored page state, but avoid wiping the whole device unless a backup and malware investigation support it.

On iPhone or iPad, toggle airplane mode, then restart the device. If the problem persists, use Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings, which clears saved Wi-Fi names and passwords as well as DNS and network state. Rejoin the Australian home or café network afterward, and note that this reset does not remove browser extensions or account permissions.

Clear browser and router state

Browser data and DNS state sit above the operating-system cache. In a Chromium browser, open chrome://net-internals/#dns and use Clear host cache; also clear the affected site's cookies and cached files in Settings, then fully restart the browser. In Firefox, clear cached web content for the site and restart. If the block began after installing an extension, disable recent extensions in a temporary profile or browser-safe mode before changing network settings.

The router has its own resolver cache, so restart the NBN modem or router rather than only the computer: power it off for about a minute, reconnect the NBN or mobile broadband link, and wait for stable status lights. Some Australian ISP apps can refresh the connection remotely. Keep the ISP's DNS configuration if it supports local services, parental controls or filtering; a public resolver can change which warnings appear.

A redirect may also conceal the site's real destination in a frame. If a visit to the affected site produces only a verification prompt, record the time and hostname rather than repeatedly submitting the check. Inspect the full address and security details before clicking through; a genuine certificate error is a reason to stop, not to disable HTTPS warnings, install an unknown certificate or press through repeated warnings.

Use a controlled sequence for persistent blocks

Start with evidence, apply one reversible change at a time and keep the result. The sequence below avoids replacing working settings when the block is actually coming from a website policy or compromised browser.

If a lookup returns the current address but the robot page remains, move on to browser extensions, malware and server-side controls; if the address itself is wrong, continue with DNS and router work. For an Australian business, give the ISP the modem MAC address, NBN account details and timestamps rather than a screenshot containing customer credentials. If the page involves threats, impersonation or repeated unwanted commercial messages, ACSC's ReportCyber and Scamwatch provide suitable reporting channels.

Handle blocks that DNS cannot remove

A robot page may be deliberate. Cloudflare and similar services use challenges to limit abuse, while banks, telcos and government sites can deny access based on reputation, location or session data. If nslookup or dig resolves the hostname to the correct current address and HTTPS is valid, a DNS flush has already done its job. The remaining issue lies with the page's policy, browser session, IP reputation or a compromise on the device.

Persistent commercial pop-ups can fall under the Australian Spam Act 2003 when they meet the Act's definition of an unsolicited commercial electronic message, but the law does not certify the sender as safe. An unexpected redirect to gambling content can also signal unwanted software or a compromised site. eSafety can provide guidance where harmful content is involved, while bank, telco and myGov support teams can confirm whether a genuine security alert exists.

Before trying another command, compare three results: the full hostname, the address returned by the system resolver, and whether the message follows the device to another network. Keep those results with the URL and timestamp. Open the affected device and run the matching resolver flush command from the relevant section as the next recorded test.