Start your 3-day free trial
Sign up to experience all premium features at no cost.
*Available only to new users. Each user is limited to one trial.


To flush DNS is to discard stored name-resolution answers so your device can request them again. Windows has a specific command; Mac commands depend on the operating-system generation, while iPhone and Android troubleshooting usually means refreshing the connection or app rather than pressing a universal DNS-flush button.[1][2]
Key Takeaways:
- Flush the cache when an old or failed DNS answer is a plausible cause, not whenever a website looks different.
- System, browser, app, and upstream resolver caches are separate layers.
- On phones, reconnection and restart are diagnostic actions, not proof that every cache was erased.
- Keep the same website and record one change at a time so the result is interpretable.
DNS translates names into addresses. A local resolver may reuse a stored positive answer or a stored failure until its lifetime expires. Clearing that local state is useful after a record changes, after a name-resolution error, or when a device appears to retain an answer from an earlier network. It does not change the website's authoritative records.[1][3]
Start by recording the exact hostname, error text, current network, and whether other websites work. A page that loads but shows the wrong currency is different from a browser that cannot find its server. Currency and region can depend on account settings, cookies, payment details, and the website's own policy; stale DNS is only one possible routing factor.
If you need the wider networking model, read the beginner's explanation of VPN traffic paths. For an actual resolver-setting change, use the separate DNS configuration guide; clearing a cache does not choose a new DNS provider.
| Observation | Useful first comparison | What a cache flush cannot establish |
|---|---|---|
| One hostname fails after a record update | Retest that exact hostname after clearing local state | Whether the authoritative record is correct |
| Many sites fail on one network | Compare another permitted connection | Which router or resolver setting is responsible |
| Only one browser fails | Close it and compare another browser | Whether the operating-system cache was the cause |
| The page loads with unexpected regional content | Check account and exit location separately | Entitlement to a different regional offering |
| A certificate warning appears | Investigate certificate and time errors | That the connection is safe to continue |
Treat the final row as a stop sign. A DNS-related symptom does not justify bypassing HTTPS verification. Use the certificate-warning checks before entering credentials.
Windows provides a local resolver-cache command documented by Microsoft. The display command is optional but useful when you need to distinguish “I ran something” from “I inspected the relevant layer.” Records loaded from a Hosts file need separate investigation; a flush does not edit that file.[1]
ipconfig /displaydns if you want to inspect the existing local cache. Avoid posting the entire output publicly because it can reveal names you recently accessed.ipconfig /flushdns. Read the returned message rather than assuming that pressing Enter succeeded.Do not append ipconfig /release, a network-stack reset, or a firewall change to this test. Those commands do different jobs and can interrupt the connection. If the flush reports a service or permission error, preserve that message and stop repeating it blindly.
A success message confirms that Windows accepted the cache operation. A successful website request confirms that this particular request worked afterward. Neither proves that stale DNS was the only cause, especially if you also changed networks or restarted the browser.
For repeated name-resolution failures, move to the broader DNS failure checklist. Keep your before-and-after observations so the next test does not start from guesswork.
Check the release in Apple menu > About This Mac before choosing a command. Cisco's older OS X table is historical context, not evidence for every later release. The University of Oklahoma's IT instructions explicitly list Catalina (10.15), Big Sur (11), Monterey (12), Ventura (13), Sonoma (14), and Tahoe (26) for the two-command method below. These are documented releases, not a continuous compatibility range: Sequoia (15) and any unlisted release need their own matching instructions.[2][6]
For one of the listed releases on a device you administer, or with administrator approval:
sudo dscacheutil -flushcache. If prompted, enter the administrator password and press Return; password characters normally remain invisible.sudo killall -HUP mDNSResponder. Enter the password if requested; stop on an error instead of trying commands for another release.The commands may finish without a success sentence. No output does not independently verify every DNS layer. For an unlisted release, use its current support instructions or ask the administrator before sending signals to a system service. Do not install a “DNS cleaner” just to get a reassuring animation.
A browser may maintain resolution state separately. Closing all windows may still leave background processes, and clearing website data may sign you out without touching the resolver you intended. Follow browser-specific documentation instead of treating cookies, history, and DNS as interchangeable caches.
There is no single documented system-wide “flush DNS” control shared by all supported iPhone and Android releases. Start with official connection troubleshooting and describe what you actually changed: the network connection, the application process, or network settings. Do not label every successful restart as a verified DNS flush.[4][5]
Apple describes network reset as a later troubleshooting step and warns that it removes saved Wi-Fi networks and passwords, cellular settings, and VPN/APN settings. That is a much broader operation than clearing DNS. Do not do it merely because a generic checklist lists it first.[4]
Google recommends restart and connection comparison for general Android connectivity failures. That advice does not guarantee removal of every browser, app, or upstream DNS record. Clearing an app's storage is also different: it can erase local account state and should not be a routine substitute for a cache test.[5]
A tunnel change can alter the network route and, depending on configuration, the resolver path. It need not clear answers already stored by your device or browser. Test the exit address and DNS behavior separately; a DNS answer alone does not identify the public source address the website receives.[3]
If your task includes comparing an authorized VPN route, AethoVPN lets you select an available location in its Windows or Android app and inspect the displayed server load. On Mac and iPhone/iPad, obtain a configuration through the official setup guide and connect with a VPN client; those configurations require Pro or Premium. Native-app selection steps do not transfer directly to those clients.
Connect, check the current exit IP and country, then retest the hostname after the appropriate local-cache step. This does not repair a compromised router, change account eligibility, or guarantee that a site will choose different regional content. New users can start the 3-day Pro trial; the trial is available once per user.
Keep that comparison small: one available location, one hostname, and one recorded result. If you switch the tunnel, delete cookies, change DNS settings, and reset the phone together, you cannot attribute the improvement to any single action.
Stop after one controlled attempt if the same error persists. Check whether the problem occurs on another device and whether the original network supplies unexpected settings. If several devices fail on the same network, repeatedly clearing each device is unlikely to repair an upstream problem.
Where DNS tampering is suspected, do not treat cache removal as malware remediation. A modified Hosts file, compromised router, or forced resolver can supply the same bad answer again. Preserve the hostname, time, network description, and relevant error; ask the responsible administrator to investigate configuration and security.
For support, provide the operating-system version, browser/app version, exact hostname, original error, commands used, and the before-and-after result. Redact passwords, tokens, account identifiers, and unrelated DNS history. A small useful record is better than an indiscriminate screenshot of private network details.
It clears resolver state rather than browser history or cookies. History, login sessions, and browser-managed caches have their own storage and controls.
No. Clearing cached name answers does not change your ISP address or VPN exit. Verify the exit separately when your task depends on it.
Usually not. Cache reuse is normal; use a flush as a targeted diagnostic step when stale or failed resolution is plausible.
The upstream resolver, authoritative record, Hosts configuration, or another cache layer may still supply it. Investigate the source instead of repeating the command.
No universal guarantee follows from a restart. It is a connection troubleshooting action, and the remaining app and upstream state varies with the device and configuration.
No. Save broad resets for a justified later step because they can remove saved connections and VPN settings. Ask the administrator first on managed devices.
It cannot validate a certificate or make an untrusted connection safe. Investigate the warning and stop sensitive activity until the cause is understood.
Sources:
Microsoft — ipconfig: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
Cisco — Flush or Clear a DNS Cache on Computers and Servers: https://www.cisco.com/c/en/us/support/docs/security/umbrella/224781-flush-or-clear-a-dns-cache-on-computers.html
RFC 1034 — Domain Names: Concepts and Facilities: https://www.rfc-editor.org/rfc/rfc1034
Apple — If you cannot connect to Wi-Fi on your iPhone or iPad: https://support.apple.com/en-us/111786
Google — Fix internet connection problems on Android devices: https://support.google.com/android/answer/2651367?hl=en
University of Oklahoma IT — Flushing DNS Cache: https://itsupport.ou.edu/TDClient/30/Unified/KB/PrintArticle?ID=157
Sources checked 5 October 2026.
Sign up to experience all premium features at no cost.
*Available only to new users. Each user is limited to one trial.