運行nslookup服務器
若是你當前的DNS服務器正常工做,返回的結果應該是你本身的DNS服務器。dom
隨便解析一個網站,好比網站
www.microsoft.comgoogle
應該返回的是正常的地址spa
而後再解析一個不存在的網站,好比code
adfasdf.fljalfjsd.com.cn視頻
若是返回的結果是xml
DNS request timed out.dns
timeout was 2 seconds.路由
那麼證實你的DNS沒有被劫持
C:\Users\wenjie>nslookup 222.baidu.com 114.114.114.114服務器: public1.114dns.comAddress: 114.114.114.114*** public1.114dns.com 找不到 222.baidu.com: Non-existent domain
若是返回的結果是一個IP地址,好比說網通的返回地址是123.xxx.xxx.xxx,那麼證實你的DNS被劫持了。
C:\Users\wenjie>nslookup 222.baidu.com 114.114.114.115DNS request timed out. timeout was 2 seconds.服務器: UnKnownAddress: 114.114.114.115DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.DNS request timed out. timeout was 2 seconds.*** 請求 UnKnown 超時