Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 7 修復 DNS 錯誤:命令列執行 ipconfig /flushdns 清除快取

編輯:關於 Windows

Windows 7 因 DNS 快取過期或錯誤導致網頁無法開啟、網路連線異常時,可透過命令提示字元執行 ipconfig /flushdns 清除 DNS 解析快取,強制重新解析網域名稱。本文提供快速操作步驟。

操作步驟

  1. 按 Win + R → 輸入 cmd → 按 Enter 開啟命令提示字元。
  2. 輸入 ipconfig /flushdns 按 Enter。
  3. 出現「已成功清除 DNS 解析快取」訊息即完成。

執行 cmd

flushdns 成功

補充說明

  • 此指令亦適用於 Windows 8/10/11。
  • 若問題持續,嘗試:
     a. 變更 DNS 伺服器為公開 DNS(Google 8.8.8.8/8.8.4.4、Cloudflare 1.1.1.1)。
     b. 執行 netsh winsock reset 重設網路堆疊。
     c. 檢查路由器 DHCP/DNS 設定或重啟路由器。
  • 瀏覽器亦有自身 DNS 快取(Chrome: chrome://net-internals/#dns 清除)。

一行指令清除 DNS 快取,快速解決網域名稱解析異常,恢復暢快上網體驗!

Copyright © Windows教程網 All Rights Reserved