FG
💻 Software

How to clear DNS cache in Ubuntu?

Fresh5 days ago
Mar 15, 2026109182 views
Confidence Score0%
0%

Problem

I'm having problems related to DNS solving in my Ubuntu 9.10. Prior complaining to my ISP I would like to refresh my local DNS cache, like in Windows we do . How can I do that in Ubuntu?

Error Output

ipconfig /flushdns

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to clear DNS cache in Ubuntu?

Low Risk

Øhh, ubuntu doesn't cache DNS per default. So there is nothing to flush! (but maybe your SOHO router does). Installing nscd will make ubuntu cache DNS, afterwhich you can clear your cache - but this is besides the point, when you don't have it insta…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment