macOS Sequoia: Flush DNS Cache Command (2026)
Flush DNS cache on macOS 15 Sequoia with the exact Terminal command, verification with dscacheutil, browser cache fixes, and hosts file troubleshooting.
Locahl Team
Table of Contents
Need the macOS Sequoia flush DNS command? Open Terminal and run:
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponderThis clears the system DNS cache on macOS 15 Sequoia and restarts the mDNSResponder resolver. Use it after editing /etc/hosts, switching DNS servers, or when a local domain still resolves to an old IP.
On macOS 26 Tahoe, see the Tahoe-specific guide. For all Mac versions, see flush DNS on Mac by version.
How to flush DNS cache on macOS Sequoia
1. Open Terminal (Cmd + Space → Terminal → Enter). 2. Run sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder. 3. Enter your administrator password (characters do not appear — normal). 4. No output usually means success. 5. Verify: dscacheutil -q host -a name myproject.test.
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponderWhen to flush DNS on Sequoia
- After editing
/etc/hostsfor local.testdomains. - After changing DNS from ISP to Cloudflare (1.1.1.1) or Google (8.8.8.8).
- Before testing a site migration on a staging IP.
- When
pingshows the right IP but the browser opens the wrong site.
Verify resolution on Sequoia
dscacheutil -q host -a name myproject.test
ping -c 1 myproject.test
dig myproject.test +shortIf dscacheutil is correct but Chrome is wrong, clear browser DNS at chrome://net-internals/#dns → Clear host cache.
Sequoia hosts file checklist
127.0.0.1 myproject.test
127.0.0.1 api.myproject.test
::1 myproject.testRules: no https://, no port numbers, one IP + hostname per line. See edit hosts on Mac for the full walkthrough.
Clear browser DNS on Sequoia
| Browser | Steps |
|---|---|
| Chrome | chrome://net-internals/#dns → Clear host cache |
| Firefox | about:networking#dns → Clear DNS Cache |
| Safari | Develop → Empty Caches (enable Develop menu in Settings) |
See Chrome DNS cache on Mac for screenshots.
Automation alias
echo 'alias flushdns="sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder && echo DNS flushed"' >> ~/.zshrc
source ~/.zshrcLocahl runs the flush automatically when you apply hosts changes — useful if you switch staging domains daily.
Troubleshooting on Sequoia
"No matching processes were found"
sudo launchctl kickstart -k system/com.apple.mDNSResponder
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponderVPN split DNS
Corporate VPNs push custom resolvers. Disconnect VPN temporarily to test whether local hosts entries work without split DNS.
Conclusion
On macOS Sequoia, the flush command is unchanged from recent releases: dscacheutil + mDNSResponder. Verify with dscacheutil -q host, then clear browser DNS if needed.
Ready to simplify your workflow?
Stop wasting time with the terminal. Locahl lets you manage your hosts file in a few clicks, with automatic validation and no risk of errors.
- Intuitive visual interface
- Automatic DNS flush
- Multi-environment management
- Automatic backups
- JSON Import/Export
Reader Reviews
“Sequoia-specific steps saved me after a hosts migration — dscacheutil showed the stale IP immediately.”
July 5, 2026
“Short, exact, and the Chrome cache section fixed what the system flush alone could not.”
July 4, 2026
Frequently Asked Questions
What is the macOS Sequoia flush DNS command?
Run sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder in Terminal.
Is the Sequoia command different from macOS Tahoe?
No — both use the same dscacheutil + mDNSResponder command on current macOS releases.
Should I flush DNS after editing /etc/hosts on Sequoia?
Yes. macOS caches DNS lookups; flush after every hosts change so the new IP is used immediately.
Related Articles
Flush DNS on Windows 10 & 11: ipconfig /flushdns (2026)
Flush the DNS cache on Windows 10 and 11 with ipconfig /flushdns. Step-by-step command, verification, and fixes when changes still do not apply.
Locahl Team
Developer tools team
Flush DNS on Linux: systemd-resolved & more (2026)
Flush the DNS cache on Linux with resolvectl flush-caches (systemd-resolved), plus nscd, dnsmasq and BIND. Commands by setup, with verification steps.
Locahl Team
Developer tools team
Which TLD to Use for Local Development (.test vs .localhost)
Which TLD to use for local development: prefer .test, avoid .dev and .local. Why .test is reserved, how to map it in the hosts file, and HTTPS tips.
Locahl Team
Developer tools team
Hosts File: Location, Syntax and Uses (2026)
Learn what the hosts file does, where to find it on Mac, Windows and Linux, syntax examples, local dev uses and mistakes to avoid.
Locahl Team
Edit Hosts File on Windows 11 24H2 (2026)
Windows 11 24H2 hosts file guide: Smart App Control, Controlled Folder Access, Notepad admin, PowerShell, ipconfig /flushdns and Clear-DnsClientCache.
Locahl Team