[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fc3ml3s1egoqn":3},{"type":4,"solution":5},"solution",{"slug":6,"platform":7,"title":8,"description":9,"risk":10,"categorySlug":11,"tags":12,"verifiedAt":22,"updatedAt":22,"categoryName":23,"command":24,"undoCommand":25,"directAnswer":26,"explanation":27,"warning":28,"seoTitle":29,"seoDescription":30,"requirements":31,"macosSupport":32,"sources":33,"related":46},"flush-dns-cache","macos","Flush the DNS cache on Mac","Clear cached DNS lookups when a site resolves to a stale IP address.","medium","network",[13,16,19],{"slug":14,"name":15},"dns","DNS",{"slug":17,"name":18},"diagnostics","Diagnostics",{"slug":20,"name":21},"terminal","Terminal","2025-11-18T00:00:00.000Z","Network","sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder",null,"Run the command below, enter your administrator password when prompted. Cached DNS records are cleared immediately — no restart needed.","macOS caches DNS lookups. If a website changed servers and your Mac still remembers the old IP, flushing the cache forces fresh lookups. dscacheutil -flushcache clears the local directory-service cache and SIGHUP tells the mDNSResponder daemon to drop its DNS cache. The command is safe and completes instantly.","Requires sudo. It briefly clears all cached lookups, so the next few website visits may load marginally slower.","Flush DNS Cache on Mac — Terminal Command (macOS)","Clear the macOS DNS cache with one Terminal command. Fixes stale DNS records, includes requirements, risk notes and verification date.","Administrator password (sudo)","macOS 10.11 El Capitan – 15 Sequoia",[34,40],{"url":35,"title":36,"publisher":37,"sourceType":38,"evidence":39,"retrievedAt":22},"https:\u002F\u002Fss64.com\u002Fmac\u002Fdscacheutil.html","dscacheutil — directory service cache utility","SS64","technical","dscacheutil -flushcache clears the directory service cache; mDNSResponder reload resets DNS caching.",{"url":41,"title":42,"publisher":43,"sourceType":44,"evidence":45,"retrievedAt":22},"https:\u002F\u002Fdeveloper.apple.com\u002Fforums\u002Fthread\u002F667913","mDNSResponder and DNS cache on modern macOS","Apple Developer Forums","apple-doc","SIGHUP to mDNSResponder flushes its DNS cache on current macOS releases.",[47,57,70],{"slug":48,"platform":7,"title":49,"description":50,"risk":51,"categorySlug":11,"tags":52,"verifiedAt":56,"updatedAt":56},"test-port-connectivity","Test if a host and port are reachable on Mac","Check TCP connectivity to any server, useful for firewall debugging.","low",[53,54,55],{"slug":17,"name":18},{"slug":14,"name":15},{"slug":20,"name":21},"2025-11-13T00:00:00.000Z",{"slug":58,"platform":7,"title":59,"description":60,"risk":51,"categorySlug":61,"tags":62,"verifiedAt":69,"updatedAt":69},"find-process-using-port","Find which process is using a port on Mac","Identify the app holding port 8080 (or any other port).","developer",[63,65,68],{"slug":64,"name":64},"lsof",{"slug":66,"name":67},"processes","Processes",{"slug":17,"name":18},"2025-11-16T00:00:00.000Z",{"slug":71,"platform":7,"title":72,"description":73,"risk":10,"categorySlug":74,"tags":75,"verifiedAt":83,"updatedAt":83},"show-wifi-password","Show a saved Wi-Fi password on Mac","Reveal the password of a network your Mac has joined before.","security",[76,79,82],{"slug":77,"name":78},"keychain","Keychain",{"slug":80,"name":81},"wifi","Wi-Fi",{"slug":17,"name":18},"2025-11-17T00:00:00.000Z"]