Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 開網頁彈「找不到伺服器或 DNS 錯誤」?nslookup 判斷 + ipconfig 查 DNS + 修復 DNS 服務三步驟

編輯:Windows 7 系統介紹

QQ 能上網、網頁卻報 DNS 錯誤?系統化排查 DNS 解析故障,精準修復。

步驟一:nslookup 確認是否真為 DNS 解析失敗

  1. Win+R → cmd → nslookup 進入互動模式。
  2. 輸入無法訪問的網域(如 www.google.com)。
  3. 若回覆 DNS request timed out → 確為 DNS 解析故障;若回覆正確 IP → 問題在瀏覽器/代理/防火牆。

步驟二:ipconfig /all 查看目前 DNS 伺服器位址

  1. 同 CMD 執行 ipconfig /all。
  2. 找「DNS 伺服器」欄位,記下 IP(如 192.168.1.1、公司內部 DNS)。

步驟三:修復 DNS 服務/變更 DNS

  • 若為公司內部 DNS → 聯繫 IT 修復內部 DNS 服務,或在 DNS 伺服器上跑 nslookup 驗證。
  • 若為公共 DNS 異常 → 介面卡內容手動改為 8.8.8.8 / 114.114.114.114 / 223.5.5.5。
  • 刷新本地快取:ipconfig /flushdns(參考 ID 79010)。
DNS 錯誤畫面 ipconfig /all 輸出

快速指令:ipconfig /flushdns && ipconfig /registerdns 一鍵清快取並重新註冊 DNS。

Copyright © Windows教程網 All Rights Reserved